Subject: Re: Build failure
To: None <port-sparc64@netbsd.org>
From: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
List: port-sparc64
Date: 03/18/2007 10:41:18
On Fri, Mar 16, 2007 at 08:51:14AM +0100, Juergen Hannken-Illjes wrote:
> Trying to build -current sparc64 I get:
> 
> #     build  libc/libc.so.12.150
> rm -f libc.so.12.150
> tools/bin/sparc64--netbsd-gcc -Wl,-nostdlib -B/dist/usr/lib/ -B/dist/usr/lib/   -Wl,-rpath-link,/dist/lib:/dist/usr/lib  -R/lib  -L/dist/lib  -Wl,-x -shared -Wl,-soname,libc.so.12   -o libc.so.12.150  -Wl,--whole-archive libc_pic.a  -Wl,--no-whole-archive   -L/dist/usr/lib
> libc_pic.a(sigsetjmp.so): In function `__sigsetjmp14':
> /src/lib/libc/arch/sparc64/gen/sigsetjmp.S:(.text+0x24): relocation truncated to fit: R_SPARC_GOT13 against symbol `__setjmp14' defined in .text section in libc_pic.a(setjmp.so)
[snip]

Resolved with lib/libc/Makefile Rev 1.129.

CPPPICFLAGS was set before `.include <bsd.lib.mk>' and therefore .S files
were compiled without `-DBIGPIC'.

-- 
Juergen Hannken-Illjes - hannken@eis.cs.tu-bs.de - TU Braunschweig (Germany)