public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/18626] New: Bootstrap fails on HP-UX 11.11 without HP/ANSI C
@ 2004-11-23 14:04 harri dot pasanen at trema dot com
2004-11-23 14:14 ` [Bug bootstrap/18626] " pinskia at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: harri dot pasanen at trema dot com @ 2004-11-23 14:04 UTC (permalink / raw)
To: gcc-bugs
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-ld=/usr/ccs/bin/ld --enable-shared --prefix=/opt/gcc34-64
--host=hppa64-hp-hpux11.11 --disable-checking
make bootstrap
fails eventually with
stage1/xgcc -Bstage1/ -B/opt/gcc34-64/hppa64-hp-hpux11.11/bin/ -g
-O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition
-DHAVE_CONFIG_H -DGENERATOR_FILE -o genmodes \
genmodes.o errors.o ../libiberty/libiberty.a
ld: Unable to load shared library "/opt/langtools/lib/libcomp.sl"
Fatal error.
collect2: ld returned 1 exit status
/opt/langtools/lib/libcomp.sl is only available if the HP/ANSI C development
package is installed, which is not provided with the base operating system.
--
Summary: Bootstrap fails on HP-UX 11.11 without HP/ANSI C
Product: gcc
Version: 3.4.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: harri dot pasanen at trema dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: hppa64-hp-hpux11.11
GCC host triplet: hppa64-hp-hpux11.11
GCC target triplet: hppa64-hp-hpux11.11
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18626
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/18626] Bootstrap fails on HP-UX 11.11 without HP/ANSI C
2004-11-23 14:04 [Bug bootstrap/18626] New: Bootstrap fails on HP-UX 11.11 without HP/ANSI C harri dot pasanen at trema dot com
@ 2004-11-23 14:14 ` pinskia at gcc dot gnu dot org
2004-11-23 14:27 ` harri dot pasanen at trema dot com
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-23 14:14 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-23 14:13 -------
This sounds more like a ld bug than anything.
Please add a -v to the gcc invocation and attach the output here.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18626
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/18626] Bootstrap fails on HP-UX 11.11 without HP/ANSI C
2004-11-23 14:04 [Bug bootstrap/18626] New: Bootstrap fails on HP-UX 11.11 without HP/ANSI C harri dot pasanen at trema dot com
2004-11-23 14:14 ` [Bug bootstrap/18626] " pinskia at gcc dot gnu dot org
@ 2004-11-23 14:27 ` harri dot pasanen at trema dot com
2004-11-23 14:31 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: harri dot pasanen at trema dot com @ 2004-11-23 14:27 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From harri dot pasanen at trema dot com 2004-11-23 14:27 -------
(In reply to comment #1)
> This sounds more like a ld bug than anything.
> Please add a -v to the gcc invocation and attach the output here.
I did spend some time trying to find out where
the /opt/langtools/lib/libcomp.sl was coming from, to no avail. During those
attempts, I also tried to configure the build using GNU ld, but it fails the
same way. As my current tree is configured with GNU ld, the following output
reflects that:
-bash-3.00$ stage1/xgcc -v -Bstage1/ -B/opt/gcc34-64/hppa64-hp-hpux11.11/bin/
-g -O2 ->
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 genmodes.o errors.o ../libiberty/libiberty.a -lgcc
-lc /usr/lib/pa20_64/milli.a -lgcc stage1/crtend.o
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/18626] Bootstrap fails on HP-UX 11.11 without HP/ANSI C
2004-11-23 14:04 [Bug bootstrap/18626] New: Bootstrap fails on HP-UX 11.11 without HP/ANSI C harri dot pasanen at trema dot com
2004-11-23 14:14 ` [Bug bootstrap/18626] " pinskia at gcc dot gnu dot org
2004-11-23 14:27 ` harri dot pasanen at trema dot com
@ 2004-11-23 14:31 ` pinskia at gcc dot gnu dot org
2004-11-23 14:43 ` harri dot pasanen at trema dot com
2004-12-06 5:03 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-23 14:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-23 14:31 -------
This sounds like your ld is adding the library for some reason. This does not sound like a gcc bug at all
but it sounds like you installed something which triged the ld to add that library.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18626
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/18626] Bootstrap fails on HP-UX 11.11 without HP/ANSI C
2004-11-23 14:04 [Bug bootstrap/18626] New: Bootstrap fails on HP-UX 11.11 without HP/ANSI C harri dot pasanen at trema dot com
` (2 preceding siblings ...)
2004-11-23 14:31 ` pinskia at gcc dot gnu dot org
@ 2004-11-23 14:43 ` harri dot pasanen at trema dot com
2004-12-06 5:03 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: harri dot pasanen at trema dot com @ 2004-11-23 14:43 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/18626] Bootstrap fails on HP-UX 11.11 without HP/ANSI C
2004-11-23 14:04 [Bug bootstrap/18626] New: Bootstrap fails on HP-UX 11.11 without HP/ANSI C harri dot pasanen at trema dot com
` (3 preceding siblings ...)
2004-11-23 14:43 ` harri dot pasanen at trema dot com
@ 2004-12-06 5:03 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-06 5:03 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-06 05:03 -------
This is definitely not a gcc bug, I would report this to HP.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18626
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-12-06 5:03 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-23 14:04 [Bug bootstrap/18626] New: Bootstrap fails on HP-UX 11.11 without HP/ANSI C harri dot pasanen at trema dot com
2004-11-23 14:14 ` [Bug bootstrap/18626] " pinskia at gcc dot gnu dot org
2004-11-23 14:27 ` harri dot pasanen at trema dot com
2004-11-23 14:31 ` pinskia at gcc dot gnu dot org
2004-11-23 14:43 ` harri dot pasanen at trema dot com
2004-12-06 5:03 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).