Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: build problems with MKPIE in -current
On Thu, Apr 15, 2010 at 09:38:07PM +0200, Piotr Meyer wrote:
> In usr.sbin/crash I got (more at
> http://aniou.smutek.pl/netbsd-mkpie-crash.txt)
[...]
> collect2: ld returned 1 exit status
I made small progress: I have little knowledge in ld, but I found section
not mentioned in default ld script (.note.netbsd.ident in vers.o).
I manually copy following fragment from src/sys/arch/i386/conf/kern.ldscript
.note.netbsd.ident :
{
KEEP(*(.note.netbsd.ident));
}
and put it into default ld script. After that I was able to build 'crash':
./crash
Crash version 5.99.27, image version 5.99.25.
WARNING: versions differ, you may not be able to examine this image.
Output from a running system is unreliable.
crash>
It still isn't final solution or, even, workaround for build process, but may
be helpful for developers fixing this issue, I hope.
PS. "My" ldscript is available at http://aniou.smutek.pl/netbsd-ldscript.txt
--
Piotr 'aniou' Meyer
Home |
Main Index |
Thread Index |
Old Index