[Bug target/63893] New: gcc.dg/pr61599-1.c fails on darwin, due to -mcmodel=medium
fxcoudert at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Nov 15 16:58:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63893
Bug ID: 63893
Summary: gcc.dg/pr61599-1.c fails on darwin, due to
-mcmodel=medium
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: fxcoudert at gcc dot gnu.org
$ ./bin/gcc pr61599-1.c pr61599-2.c -mcmodel=medium -fdata-sections
Undefined symbols for architecture x86_64:
"_GLOBAL_OFFSET_TABLE_", referenced from:
_main in ccHQCqNA.o
_bar in cckQelee.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
I get that -mcmodel=medium is not working well for darwin at the moment, but
didn't know whether there is already a bug tracking that in general at the
moment. So I open this one.
More information about the Gcc-bugs
mailing list