Link fails on PPC - Mailing list pgsql-bugs

From Matías Giovannini
Subject Link fails on PPC
Date
Msg-id 3966025B.548BD65D@k-bell.com
Whole thread Raw
List 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.


pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Bug??: getattproperties fails !!
Next
From: "Robert B. Easter"
Date:
Subject: exp(x) vs :