On Fri, Mar 25, 2005 at 01:08:30PM +0200, Lars Wirzenius wrote:
> Attached is a patch to fix most of the compilation problems for
> util-vserver. Steve Langasek tested this on sparc and it worked. Builds
> still fail on at least hppa, powerpc, and mipsel, since the dietlibc
> linking fails. See #300926 for some discussion about this.

> I didn't try giving the -Os option to the diet command at the linking
> stage, since I didn't see an easy way to do it from util-vserver's
> debian/rules.

> I have so far failed to debug the linking problem to any successful
> degree. Gerrit, perhaps you could give Ola a helping hand with the
> linking issue?

<vorlon> liw: if you invoke it as "diet -v gcc -Wall -g [...]" instead of
         "diet -v hppa-linux-gcc [...]", what happens?
<liw> vorlon, it fails by not recognizing some link file without libtool; if
      I add the libtool stuff in front, then it does link
<vorlon> liw: basically, by calling ./configure --host=... --build=...,
         util-vserver is incorrectly causing autoconf to think this is a
         cross-compile invocation, and therefore calls hppa-linux-gcc
         instead of just calling gcc; if you do in fact get different errors,
         this may be the root of the problem
<vorlon> liw: in that case, switching util-vserver to use the confflags
         sample stanza from /usr/share/doc/autotools-dev/README.Debian.gz
         may be enough to cure the remaining ills

-- 
Steve Langasek
postmodern programmer

Attachment: signature.asc
Description: Digital signature

Reply via email to