From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16850 invoked by alias); 23 Nov 2004 14:43:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 16796 invoked by uid 48); 23 Nov 2004 14:43:07 -0000 Date: Tue, 23 Nov 2004 14:43:00 -0000 Message-ID: <20041123144307.16795.qmail@sourceware.org> From: "harri dot pasanen at trema dot com" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20041123140339.18626.harri.pasanen@trema.com> References: <20041123140339.18626.harri.pasanen@trema.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug bootstrap/18626] Bootstrap fails on HP-UX 11.11 without HP/ANSI C X-Bugzilla-Reason: CC X-SW-Source: 2004-11/txt/msg02697.txt.bz2 List-Id: ------- Additional Comments From harri dot pasanen at trema dot com 2004-11-23 14:42 ------- Even more verbose, after adding -Wl,-v I guess at this stage of bootstrap it is still using the build compiler/linker? I don't know why it would otherwise refer to /usr/ccs/bin/ld when -with-gnu-ld is specified? (Note I noticed a wrong path in my configure below, --with-ld=/opt/gcc34/bin/ld does not exist, should be --with-ld=/opt/gcc34-64/bin/ld, but as the prefix is correct, I guess it should still work). The bootstrap compiler is: -bash-3.00$ gcc -v Reading specs from /usr/local/lib/gcc-lib/hppa2.0w-hp-hpux11.11/3.3.3/specs Configured with: /scratch/zack/pkgbuild/3.3.1/hpux-11/gcc-3.3.3/configure --enable-languages=c,c++ --enable-threads=posix --disable-nls --with-gnu-as --without-gnu-ld --with-as=/usr/local/bin/as --prefix=/usr/local Thread model: posix gcc version 3.3.3 The system ld is: -bash-3.00$ what /usr/ccs/bin/ld /usr/ccs/bin/ld: HP aC++ B3910B A.03.30 Classic Iostream Library HP aC++ B3910B A.03.30 Language Support Library ld_msgs.cat: $Revision: 1.85 $ 92453-07 linker command s800.sgs ld PA64 B.11.40 REL 040528 -bash-3.00$ stage1/xgcc -v -Wl,-v -Bstage1/ -B/opt/gcc34-64/hppa64-hp-hpux11.11/bin/ -> Reading specs from stage1/specs Configured with: ../gcc-3.4.3/configure -enable-languages=c,c++ --enable-threads=posix --disable-nls --with-gnu-as --with-as=/opt/gcc34-64/bin/as --with-gnu-ld --with-ld=/opt/gcc34/bin/ld --enable-shared --prefix=/opt/gcc34-64 --host=hppa64-hp-hpux11.11 --disable-checking Thread model: posix gcc version 3.4.3 stage1/collect2 -E -u main -o genmodes /usr/ccs/lib/pa20_64/crt0.o stage1/crtbegin.o -Lstage1 -L/usr/ccs/bin -L/usr/ccs/lib/pa20_64 -L/opt/gcc34-64/lib -v genmodes.o errors.o ../libiberty/libiberty.a -lgcc -lc /usr/lib/pa20_64/milli.a -lgcc stage1/crtend.o collect2 version 3.4.3 (hppa) /usr/ccs/bin/ld -E -u main -o genmodes /usr/ccs/lib/pa20_64/crt0.o stage1/crtbegin.o -Lstage1 -L/usr/ccs/bin -L/usr/ccs/lib/pa20_64 -L/opt/gcc34-64/lib -v genmodes.o errors.o ../libiberty/libiberty.a -lgcc -lc /usr/lib/pa20_64/milli.a -lgcc stage1/crtend.o /usr/ccs/bin/ld -E -u main -o genmodes /usr/ccs/lib/pa20_64/crt0.o stage1/crtbegin.o -Lstage1 -L/usr/ccs/bin -L/usr/ccs/lib/pa20_64 -L/opt/gcc34-64/lib -v genmodes.o errors.o ../libiberty/libiberty.a -lgcc -lc /usr/lib/pa20_64/milli.a -lgcc stage1/crtend.o LPATH is : Loading /usr/ccs/lib/pa20_64/crt0.o: /usr/ccs/lib/pa20_64/crt0.o: _FPU_MODEL is UNDEF GLOBAL OBJECT __init_end is UNDEF GLOBAL OBJECT __TLS_PREALLOC_DTV_A is UNDEF GLOBAL OBJECT $START$ is DEFINED GLOBAL FUNC __sys_atexit is UNDEF GLOBAL FUNC _SYSTEM_ID is UNDEF GLOBAL OBJECT __init_start is UNDEF GLOBAL OBJECT __load_info is UNDEF GLOBAL OBJECT __sysvec is UNDEF GLOBAL OBJECT $$rem2I is UNDEF GLOBAL MILLI __tls_size is UNDEF GLOBAL OBJECT __scall_entry_table_addr is UNDEF GLOBAL OBJECT _write_sys is UNDEF GLOBAL FUNC __fini_end is UNDEF GLOBAL OBJECT __TLS_INIT_START is UNDEF GLOBAL OBJECT _environ is UNDEF GLOBAL OBJECT __preinit_start is UNDEF GLOBAL OBJECT __TLS_INIT_SIZE is UNDEF GLOBAL OBJECT __SYSTEM_ID is UNDEF GLOBAL OBJECT __argc is UNDEF GLOBAL OBJECT __argv is UNDEF GLOBAL OBJECT _CPU_KEYBITS_1 is UNDEF GLOBAL OBJECT __envp is UNDEF GLOBAL OBJECT __TLS_SIZE is UNDEF GLOBAL OBJECT __gp is UNDEF GLOBAL OBJECT __TLS_INIT_A is UNDEF GLOBAL OBJECT _start is UNDEF GLOBAL FUNC exit is UNDEF GLOBAL FUNC $$div2I is UNDEF GLOBAL MILLI __fini_start is UNDEF GLOBAL OBJECT __preinit_end is UNDEF GLOBAL OBJECT _FPU_REVISION is UNDEF GLOBAL OBJECT _CPU_REVISION is UNDEF GLOBAL OBJECT _FPU_STATUS is UNDEF GLOBAL OBJECT /usr/ccs/lib/pa20_64/crt0.o: section .rodata PROGBITS A 24 8 added to text segment section $UNWIND$ PROGBITS A 0 8 added to text segment section .text PROGBITS AX 2948 8 added to text segment section .PARISC.unwind UNWIND A 224 4 added to text segment section .data PROGBITS AW 129 8 added to data segment section .PARISC.pfa_counter PROGBITS AW 0 4 added to data segment section .PARISC.global PROGBITS AW 0 8 added to data segment section .sdata PROGBITS AWS 48 8 added to data segment section .sbss NOBITS AWS 0 8 added to data segment section .bss NOBITS AW 48 8 added to data segment section .note NOTE 3200 8 added to note segment section .btext PROGBITS 0 1 added to nonsegment segment section .bdata PROGBITS 0 1 added to nonsegment segment Loading stage1/crtbegin.o: stage1/crtbegin.o: _Jv_RegisterClasses is DEFINED WEAK FUNC __dso_handle is DEFINED GLOBAL OBJECT stage1/crtbegin.o: section .text PROGBITS AX 296 8 added to text segment section .PARISC.unwind UNWIND A 64 4 added to text segment section .data PROGBITS AW 8 8 added to data segment section .bss NOBITS AW 1 1 added to data segment section .ctors PROGBITS AW 8 8 added to data segment section .dtors PROGBITS AW 8 8 added to data segment section .init PROGBITS AW 16 1 added to data segment section .init_array PROGBITS AW 16 1 added to data segment section .fini PROGBITS AW 8 1 added to data segment section .fini_array PROGBITS AW 8 1 added to data segment section .jcr PROGBITS AW 0 8 added to data segment section .data.rel.local PROGBITS AW 8 8 added to data segment section .comment PROGBITS 18 1 added to nonsegment segment Loading genmodes.o: genmodes.o: error is UNDEF GLOBAL FUNC htab_find is UNDEF GLOBAL FUNC trim_filename is UNDEF GLOBAL FUNC xmalloc is UNDEF GLOBAL FUNC htab_find_slot is UNDEF GLOBAL FUNC htab_hash_string is UNDEF GLOBAL FUNC strcmp is UNDEF GLOBAL FUNC abort is UNDEF GLOBAL FUNC strlen is UNDEF GLOBAL FUNC strncpy is UNDEF GLOBAL FUNC strchr is UNDEF GLOBAL FUNC snprintf is UNDEF GLOBAL FUNC xstrdup is UNDEF GLOBAL FUNC qsort is UNDEF GLOBAL FUNC printf is UNDEF GLOBAL FUNC puts is UNDEF GLOBAL FUNC internal_error is UNDEF GLOBAL FUNC progname is UNDEF GLOBAL OBJECT htab_create_alloc is UNDEF GLOBAL FUNC xcalloc is UNDEF GLOBAL FUNC free is UNDEF GLOBAL FUNC have_error is UNDEF GLOBAL OBJECT fflush is UNDEF GLOBAL FUNC __iob is UNDEF GLOBAL OBJECT fclose is UNDEF GLOBAL FUNC $$divU is UNDEF GLOBAL MILLI $$remU is UNDEF GLOBAL MILLI main is DEFINED GLOBAL FUNC genmodes.o: section .text PROGBITS AX 9912 8 added to text segment section .PARISC.unwind UNWIND A 288 4 added to text segment section .data PROGBITS AW 0 1 added to data segment section .bss NOBITS AW 152 8 added to data segment section .note NOTE 20 1 added to note segment section .debug_abbrev PROGBITS 633 1 added to nonsegment segment section .debug_info PROGBITS 6102 1 added to nonsegment segment section .debug_line PROGBITS 1306 1 added to nonsegment segment section .rodata PROGBITS A 3052 4 added to text segment section .data.rel.ro.local PROGBITS AW 168 8 added to data segment section .data.rel.ro PROGBITS AW 40 8 added to data segment section .debug_pubnames PROGBITS 27 1 added to nonsegment segment section .debug_aranges PROGBITS 48 1 added to nonsegment segment section .debug_ranges PROGBITS 1552 1 added to nonsegment segment section .debug_str PROGBITS 97 1 added to nonsegment segment section .comment PROGBITS 18 1 added to nonsegment segment Loading errors.o: errors.o: fprintf is UNDEF GLOBAL FUNC __iob is UNDEF GLOBAL OBJECT vfprintf is UNDEF GLOBAL FUNC fputc is UNDEF GLOBAL FUNC exit is UNDEF GLOBAL FUNC have_error is DEFINED GLOBAL OBJECT warning is DEFINED GLOBAL FUNC progname is COMMON GLOBAL OBJECT error is DEFINED GLOBAL FUNC fatal is DEFINED GLOBAL FUNC internal_error is DEFINED GLOBAL FUNC trim_filename is DEFINED GLOBAL FUNC fancy_abort is DEFINED GLOBAL FUNC errors.o: section .text PROGBITS AX 888 8 added to text segment section .PARISC.unwind UNWIND A 96 4 added to text segment section .data PROGBITS AW 4 4 added to data segment section .bss NOBITS AW 0 1 added to data segment section .note NOTE 20 1 added to note segment section .debug_abbrev PROGBITS 274 1 added to nonsegment segment section .debug_info PROGBITS 937 1 added to nonsegment segment section .debug_line PROGBITS 192 1 added to nonsegment segment section .rodata PROGBITS A 104 8 added to text segment section .debug_pubnames PROGBITS 131 1 added to nonsegment segment section .debug_aranges PROGBITS 48 1 added to nonsegment segment section .debug_str PROGBITS 25 1 added to nonsegment segment section .comment PROGBITS 18 1 added to nonsegment segment ld: Unable to load shared library "/opt/langtools/lib/libcomp.sl" Fatal error. collect2: ld returned 1 exit status - -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18626