This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/26508] 4.1.0 doesn't build in 64bit on PA-RISC
- From: "dave at hiauly1 dot hia dot nrc dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Mar 2006 17:49:28 -0000
- Subject: [Bug target/26508] 4.1.0 doesn't build in 64bit on PA-RISC
- References: <bug-26508-11434@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #21 from dave at hiauly1 dot hia dot nrc dot ca 2006-03-23 17:49 -------
Subject: Re: 4.1.0 doesn't build in 64bit on PA-RISC
> stage1/xgcc -Bstage1/ -B/usr/local/pa20_64/hppa64-hp-hpux11.11/bin/ -g -O2
> -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition
> -Wmissing-format-attribute -DHAVE_CONFIG_H -DGENERATOR_FILE -o
> build/genmodes \
> build/genmodes.o build/errors.o
> ../build-hppa64-hp-hpux11.11/libiberty/libiberty.a
> build/genmodes -h > tmp-modes.h
> /usr/lib/pa20_64/dld.sl: Unsatisfied code symbol '__deregister_frame_info' in
> load module 'build/genmodes'.
> /usr/lib/pa20_64/dld.sl: Unsatisfied code symbol '__register_frame_info' in
> load module 'build/genmodes'.
I've looked at this some more and come to the conclusion that it's a
GNU ld bug. The problem seems to be that weak undefined references are
not being resolved by the linker. The symbols are defined in libgcc_eh.a
and -lgcc_eh is provided by the gcc driver in linking genmodes.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26508