Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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,

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group