• Bug#266612: gcc build failures on hppa with binutils-2.15-1

    From Matthias Klose@1:229/2 to All on Wed Aug 18 15:00:16 2004
    XPost: linux.debian.ports.hppa
    From: [email protected]

    Package: binutils
    Version:2.15-1
    Severity: serious

    Building upstream gcc-3.4.0:

    ./xgcc -B./ -B/usr/local/hppa64-unknown-linux-gnu/bin/ -isystem /usr/local/hppa64-unknown-linux-gnu/include -isystem /usr/local/hppa64-unknown-linux-gnu/sys-include -L/build/packages/gcc/3.4.0/build/gcc/../ld -O2 -DIN_GCC -W -Wall -Wwrite-strings -
    Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -Dpa64=1 -DELF=1 -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../gcc-3.4.0/gcc -I../../gcc-3.4.0/gcc/. -I../../gcc-3.4.0/gcc/../
    include -DL_divI -xassembler-with-cpp -c ../../gcc-3.4.0/gcc/config/pa/milli64.S -o libgcc/./_divI.o
    ( ` if [ -f ./nm ] ; then echo ./nm ; elif [ -f /build/packages/gcc/3.4.0/build/gcc/../binutils/nm-new ] ; then echo /build/packages/gcc/3.4.0/build/gcc/../binutils/nm-new ; else if [ "hppa64-unknown-linux-gnu" = "hppa64-unknown-linux-gnu" ] ; then echo
    nm; else t='s,y,y,'; echo nm | sed -e ; fi; fi` -pg libgcc/./_divI.o | gawk 'NF == 3 && $2 !~ /^[UN]$/ { print "\t.hidden", $3 }'; cat libgcc//stacknote.s ) | ./xgcc -B./ -B/usr/local/hppa64-unknown-linux-gnu/bin/ -isystem /usr/local/hppa64-unknown-
    linux-gnu/include -isystem /usr/local/hppa64-unknown-linux-gnu/sys-include -L/build/packages/gcc/3.4.0/build/gcc/../ld -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -
    Dpa64=1 -DELF=1 -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -r -nostdinc -nostdlib -o libgcc/./_divI.oS libgcc/./_divI.o -xassembler -
    /usr/bin/ld: Relocatable linking with relocations from format elf32-hppa-linux (libgcc/./_divI.o) to format elf32-hppa-linux (libgcc/./_divI.oS) is not supported
    collect2: ld returned 1 exit status
    make[3]: *** [libgcc/./_divI.oS] Error 1


    Building the gcc-3.3 Debian package:

    rm -rf debian/libobjc1
    dh_installdirs -plibobjc1 usr/share/doc/objc usr/lib
    dh_movefiles -plibobjc1 usr/lib/libobjc.so.* usr/lib/libobjc_gc.so.* dh_installdocs -plibobjc1
    echo "See /usr/share/doc/gcc-3.3-base for more information" \
    > debian/libobjc1/usr/share/doc/libobjc1/README.Debian dh_installchangelogs -plibobjc1 /build/packages/gcc/3.3/gcc-3.3-3.3.4/src/libobjc/ChangeLog
    debian/dh_rmemptydirs -plibobjc1
    Inconsistency detected by ld.so: dynamic-link.h: 164: elf_get_dynamic_info: Assertion `info[9]->d_un.d_val == sizeof (Elf32_Rela)' failed!
    make[1]: *** [stamps/08-binary-stamp-libobjc] Error 127
    make[1]: Leaving directory `/build/packages/gcc/3.3/gcc-3.3-3.3.4'
    make: *** [binary-arch] Error 2


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)