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] |
So the problem here is that the duplicated symbol __stack_chk_fail is warned about. Darwin should link this testcase with -Wl,-multiply_defined,suppress which suppresses the warning (though it is only needed for 32bits the linker does not warn about the use of the option for 64bit). Committed as obvious after a build/test on i386-darwin8.11 with no regressions. Thanks, Andrew Pinski ChangeLog: * ssp-2.c: Link with -Wl,-multiply_defined,suppress on darwin.
Attachment:
fixssp2.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] |