This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 2 Jul 2010, at 13:58, Rainer Orth wrote:
but no other references to "symbol" that have any bearing.. so perhaps the test is not being run at all for Darwin?
Sure it is, otherwise you wouldn't see Sun-style symbol versioning being
enabled. The next test with
gcc -fPIC -shared -Wl,-M,./conftest.map
is the interesting one. What happens there? And please provide the relevant output fragment of the libssp configure run, too.
configure:4156: /GCC/gcc-4-6-trunk-build/./gcc/xgcc -B/GCC/gcc-4-6- trunk-build/./gcc/ -B/GCC/gcc-4-6-install/i686-apple-darwin9/bin/ -B/ GCC/gcc-4-6-install/i686-apple-darwin9/lib/ -isystem /GCC/gcc-4-6- install/i686-apple-darwin9/include -isystem /GCC/gcc-4-6-install/ i686-apple-darwin9/sys-include -o conftest -g -O2 -fPIC -shared -Wl,-M,./conftest.map conftest.c >&5
ld warning: in ./conftest.map, file is not of required architecture
configure:4156: $? = 0
configure:4166: result: sun
hm. I guess that -M is unrecognized and the linker falls back to it's default which is to expect the remaining items to be objects - which, of course, the ma file is not. However, since the link does not actually fail - I guess it only reports a warning.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |