Link fails on PPC
Matías Giovannini <matias@k-bell.com>
From: Matías Giovannini <matias@k-bell.com>
To: pgsql-bugs@postgresql.org
Date: 2000-07-07T16:16:27Z
Lists: pgsql-bugs
Hi ppl, I don't think this is related directly to PostgreSQL, but when trying to compile using -O3 on a Linux/PPC box, the linker complains loudly that: access/SUBSYS.o(.text+0x31fc8): undefined reference to `tas' access/SUBSYS.o(.text+0x31fc8): relocation truncated to fit: R_PPC_REL24 tas I don't have this problem when using -O2. I know about TVs on XCOFF, but not about relocs in ELF. Does anybody know of a workaround to make ld happy? I'm using MkLinux Release 1 on a PowerMac 8100/80, Linux version 2.0.37-osfmach3 (root@build.mklinux.org) (gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)) GENERIC_08alpha-20 Fri Jul 30 11:07:38 PDT 1999 , GCC 2.95.2. Thanks in advance, Best regards, Matías.