On Mon, Jul 04, 2016 at 06:00:38PM +0200, Stefan Kempf wrote:
> ping?
looking at gcc -dumpspecs, this makes sense. ok
i'm working on the same thing for gcc 4.9 now (sparc64 for a start)
>
> Stefan Kempf wrote:
> > clang currently links against /usr/lib/crt0.o when building
> > a binary with
ping?
Stefan Kempf wrote:
> clang currently links against /usr/lib/crt0.o when building
> a binary with the -static -pie options. That makes such
> programs segfault on startup (gcc 4.9 seems to have the same
> problem).
>
> When building a static PIE program, we need to link against
>
clang currently links against /usr/lib/crt0.o when building
a binary with the -static -pie options. That makes such
programs segfault on startup (gcc 4.9 seems to have the same
problem).
When building a static PIE program, we need to link against
/usr/lib/rcrt0.o, as shown below. Bitrig has this