svn trunk won't build on a debian sarge box
Cristian Ionescu-Idbohrn
cristian.ionescu-idbohrn at axis.com
Tue May 8 04:34:21 PDT 2007
On Tue, 8 May 2007, Hamish Moffatt wrote:
> On Tue, May 08, 2007 at 10:34:35AM +0200, Cristian Ionescu-Idbohrn wrote:
> > On Mon, 7 May 2007, Denis Vlasenko wrote:
> > > On Monday 07 May 2007 17:27, Cristian Ionescu-Idbohrn wrote:
> > > > Anyone else being hit by this?
> > > >
> > > > ,----
> > > > | ...
> > > > | .debug_varnames
> > > > | *(.debug_varnames)
> > > > |
> > > > | /DISCARD/
> > > > | *(.note.GNU-stack)
> > > > | OUTPUT(busybox_unstripped elf32-i386)
> > > > | collect2: ld returned 1 exit status
> > > > | strip: 'busybox_unstripped': No such file
> > > > `----
> > >
> > > ?! You see the above as error message?
> > Shouldn't I? busybox_unstripped is not built.
>
> > > I guess your binutils are too old for --gc-sections to work right.
> >
> > Could be. In that case, does anyone know what binutils version is
> > required? I also suggest an update of the relevant FAQ section?
>
> I saw the above today today. However the real error occurs BEFORE the
> section dump. In my case it a BUG_*() about telnet globals too big (an
> unresolved symbol).
>
> It seems that the addition of -Wl,-M in the Makefile in 1.5.0 causes the
> map to be printed if there is a link failure.
>
> So, Christian, check your error messages more carefully - perhaps there
> is another error before the start of the map dump.
Right. Looks like a file containing all that stuff (busybox_ld.err) is
generated in topdir. I found this at the top of that file:
,----
| /usr/bin/ld: Warning: gc-sections option ignored
| libbb/lib.a(vfork_daemon_rexec.o)(.text.run_nofork_applet_prime+0x4a):
| In function `run_nofork_applet_prime':
| : undefined reference to `die_jmp'
`----
Cheers,
Cristian
More information about the busybox
mailing list