This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug treelang/20604] New: treelang does not get passed -fPIC by default on *-darwin
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Mar 2005 15:03:27 -0000
- Subject: [Bug treelang/20604] New: treelang does not get passed -fPIC by default on *-darwin
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
You can tell that it does not get passed -fPIC by the following failure in the testsuite:
Executing on host: /Users/pinskia/src/new-fold/gcc/objdir/gcc/xgcc -B/Users/pinskia/src/new-fold/
gcc/objdir/gcc/ /Users/pinskia/src/new-fold/gcc/gcc/testsuite/treelang/execute/funccall.tree -lm
-o ./funccall.exe (timeout = 300)
/usr/bin/ld: /var/tmp//ccbSoNBy.o has external relocation entries in non-writable section
(__TEXT,__text) for symbols:^M
_abort^M
_exit^M
collect2: ld returned 1 exit status^M
compiler exited with status 1
output is:
/usr/bin/ld: /var/tmp//ccbSoNBy.o has external relocation entries in non-writable section
(__TEXT,__text) for symbols:^M_abort^M
_exit^M
collect2: ld returned 1 exit status^M
FAIL: treelang/execute/funccall.tree (test for excess errors)
Excess errors:
/usr/bin/ld: /var/tmp//ccbSoNBy.o has external relocation entries in non-writable section
(__TEXT,__text) for symbols:
_abort
_exit
With -v I get:
/Users/pinskia/src/new-fold/gcc/objdir/gcc/tree1 -quiet -dumpbase funccall.tree -v -o /var/tmp//
ccLOPtCF.s /Users/pinskia/src/new-fold/gcc/gcc/testsuite/treelang/execute/funccall.tree
--
Summary: treelang does not get passed -fPIC by default on *-
darwin
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: treelang
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20604