From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3440 invoked by alias); 23 Mar 2006 17:49:30 -0000 Received: (qmail 3417 invoked by alias); 23 Mar 2006 17:49:28 -0000 Date: Thu, 23 Mar 2006 17:49:00 -0000 Message-ID: <20060323174928.3416.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/26508] 4.1.0 doesn't build in 64bit on PA-RISC In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dave at hiauly1 dot hia dot nrc dot ca" 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 X-SW-Source: 2006-03/txt/msg02370.txt.bz2 List-Id: ------- 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