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]

[PATCH] Fix Ada bootstrap on darwin


On Darwin common symbols are not allowed in shared/dynamic libraries.
For some reason before a couple of days ago, the Ada runtime library
sources did not produce any common symbols, but after the latest
patches, they produced a couple of common symbols causing this failure.

OK? Bootstrapped and tested on ppc-darwin. We have only 40 acats failures
now down from 49 the last time I ran the testsuite last week.
Thanks,
Andrew Pinski


ChangeLog:
	* Makefile.in (gnatlib-shared-darwin): Pass -fno-common for the CFLAGS.
	* mlib-tgt-darwin.adb (PIC_Option): Return "-fno-common -fPIC".





Attachment: temp.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]