Subject: Re: Build failure in libc on amd64?
To: Scott Ellis <firstname.lastname@example.org>
From: Juergen Hannken-Illjes <email@example.com>
Date: 03/18/2007 21:53:39
On Sun, Mar 18, 2007 at 12:21:35PM -0700, Scott Ellis wrote:
> Scott Ellis wrote:
> >I'm seeing a build failure during on -current amd64 with sources from
> >moments ago (11:54 PST):
> >/x86_64--netbsd/bin/ld: libc_pic.a(uuid_to_string.so): relocation
> >R_X86_64_32 ag
> >ainst `a local symbol' can not be used when making a shared object;
> >recompile wi
> >th -fPIC
> >libc_pic.a(uuid_to_string.so): could not read symbols: Bad value
> >collect2: ld returned 1 exit status
> Looks like the problem is created by the recent change to libc/Makefile
> where CPPPICFLAGS was changed to be CPICFLAGS. Reverting this change
> allows my system to build properly.
... and will break sparc64 again because CPPPICFLAGS gest set before
the include of bsd.lib.mk.
> What mk.conf flags would affect this? I don't have anything about I8N
> or PIC in my mk.conf, so I don't see how my setup is "special". :-)
Juergen Hannken-Illjes - firstname.lastname@example.org - TU Braunschweig (Germany)