Subject: Re: Build failure in libc on amd64?
To: Scott Ellis <>
From: Juergen Hannken-Illjes <>
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( 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( 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

> 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 - - TU Braunschweig (Germany)