From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27482 invoked by alias); 30 Aug 2008 18:46:31 -0000 Received: (qmail 26676 invoked by uid 48); 30 Aug 2008 18:45:23 -0000 Date: Sat, 30 Aug 2008 18:46:00 -0000 Message-ID: <20080830184523.26675.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/37170] [4.4 Regression]: gcc.dg/weak/weak-1.c In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "hp at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-08/txt/msg02446.txt.bz2 ------- Comment #73 from hp at gcc dot gnu dot org 2008-08-30 18:45 ------- (In reply to comment #72) > SUPPORTS_WEAK is defined on hppa2.0w-hp-hpux11.11 depending on GAS > support. See som.h. Good to know. It can't be compiled cross out of the box though, and the default is off: /bin/sh ./libtool --tag=CC --mode=link gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -o size \ size.o bucomm.o version.o filemode.o ../bfd/libbfd.la ../libiberty/libiberty.a -lz libtool: link: gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -o size size.o bucomm.o version.o f\ ilemode.o ../bfd/.libs/libbfd.a ../libiberty/libiberty.a -lz ../bfd/.libs/libbfd.a(targets.o):(.data+0x10): undefined reference to `som_vec' ../bfd/.libs/libbfd.a(targets.o):(.rodata+0x20): undefined reference to `som_vec' collect2: ld returned 1 exit status make[5]: *** [size] Error 1 make[5]: Leaving directory `/home/hp/combq/hppa2-obj/binutils' -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37170