This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/37170] [4.4 Regression]: gcc.dg/weak/weak-1.c
- From: "hp at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Aug 2008 18:45:23 -0000
- Subject: [Bug middle-end/37170] [4.4 Regression]: gcc.dg/weak/weak-1.c
- References: <bug-37170-507@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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