Subject: Re: Build failure in libc on amd64?
To: Scott Ellis <scotte@warped.com>
From: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
List: current-users
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):
> [snip]
> >
> >/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
> (http://mail-index.netbsd.org/source-changes/2007/03/18/0008.html),
> 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". :-)
>
> ScottE
--
Juergen Hannken-Illjes - hannken@eis.cs.tu-bs.de - TU Braunschweig (Germany)