Bug#309986: gcc-4.0 build problems on powerpc
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Falk Hueffner <falk@debian.org> writes:
> Roger Leigh <rleigh@whinlatter.ukfsn.org> writes:
>
>> I found quite a number of errors, many minor, some serious, building
>> 4.0.0-7, in both the gcc build and while packaging. I've put all
>> the detail in bug #309986.
>
> You mention warnings about "returning pointer to automatic variable"
> and "expr is called with too many arguments". I cannot find them in
> the script, can you point them out? The other warnings seem harmless.
Sorry the listing is so long: it took a few hours to edit the 11 MiB
to under 200 KiB.
It's on line 30075 of the full listing:
./libtool: line 4696: /usr/bin/expr: Argument list too long
using piecewise archive linking...
This is while creating libgcj.a, so there may be some object files
missed out of the ar command. It's happening inside libtool.
/home/rleigh/gcc/gcc-4.0-4.0.0/src/libobjc/thr.c:117: warning: 'noreturn' function does return
Remove the noreturn attribute??
../../../src/boehm-gc/mark_rts.c: In function 'GC_approx_sp':
../../../src/boehm-gc/mark_rts.c:379: warning: function returns address of local variable
That's never a good idea.
And there's a shlibs problem in a few packages, for example
dh_shlibdeps -pgnat-4.0 -L libgnat-4.0 -l debian/libgnat-4.0/usr/lib
dpkg-shlibdeps: warning: could not find path for ld.so.1
dpkg-shlibdeps: warning: could not find any packages for (ld.so.1)
dpkg-shlibdeps: warning: unable to find dependency information for shared library ld (soname 1, path , dependency field Depends)
$ cat /var/lib/dpkg/info/libc6.shlibs
ld 1 libc6 (>= 2.3.2.ds1-21)
Presumably, there's a binary linked incorrectly or a problem in the
rules or the control file causing this. Maybe something's assuming
something i386-specific, like ld-linux.so.2, but I'm afraid I'm not at
all familiar with the GCC packaging.
Regards,
Roger
- --
Roger Leigh
Printing on GNU/Linux? http://gimp-print.sourceforge.net/
Debian GNU/Linux http://www.debian.org/
GPG Public Key: 0x25BFB848. Please sign and encrypt your mail.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
iD8DBQFCjwmGVcFcaSW/uEgRAgY+AKDrA/JLbY3tzAjSEieOid6DmpvZtgCeLWH3
3mwuyFVMv6NxoWzYKsYAbIw=
=HsT1
-----END PGP SIGNATURE-----
Reply to: