Link fails on PPC

From: Matías Giovannini <matias(at)k-bell(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Link fails on PPC
Date: 2000-07-07 16:16:27
Message-ID: 3966025B.548BD65D@k-bell.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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(at)build(dot)mklinux(dot)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.

Browse pgsql-bugs by date

  From Date Subject
Next Message Robert B. Easter 2000-07-07 16:28:11 Factorial operator gets parser error in psql.
Previous Message Robert B. Easter 2000-07-07 16:16:10 exp(x) vs :