NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/40401: ld --gc-sections should not discard .note.netbsd.ident



The following reply was made to PR toolchain/40401; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: toolchain/40401: ld --gc-sections should not discard
 .note.netbsd.ident
Date: Sat, 31 Dec 2011 19:35:06 +0000

 On Thu, Jan 15, 2009 at 12:10:01AM +0000, xkernigh%netscape.net@localhost 
wrote:
  > Programs linked with ld --gc-sections do not contain a
  > .note.netbsd.ident section and do not run. Instead these programs
  > usually print an unpredictable error message and exit. A ktrace
  > reveals that the 4.0.1/macppc GENERIC kernel loads these programs
  > using Linux emulation.
 
 This is fixed with the new toolchain in -current and therefore will be
 fixed in 6.0, but still affects the older releases.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index