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]

Re: [darwin] testsuite/gcc.c-torture/execute/builtins/string-1,3,5,6 failure fix


What about using lappend additional_flags "-Wl,-multiply_defined,suppress"?

Thanks,
Andrew Pinski

On Friday, May 23, 2003, at 00:41 US/Eastern, Andreas Tobler wrote:

Richard Sandiford wrote:
Andreas Tobler <toa@pop.agri.ch> writes:
we could fix the failures (on darwin HEAD) in the testsuite if we add a
x file with the content below.
It might be better to add it to builtins.exp instead.
Something like (untested):
set additional_flags ""
if [istarget "powerpc-*-darwin*"] {
   lappend additional_flags "-multiply_defined suppress"

here I have to do 'set additional_flags "-multiply_defined suppress"' then it works. With lappend I get the following below.

Thanks!
Andreas

/Volumes/xufs/gcc-cvs-dylib/objdir/gcc/xgcc -B/Volumes/xufs/gcc-cvs-dylib/objdir/gcc/ /Volumes/xufs/gcc-cvs-dylib/gcc/gcc/testsuite/gcc.c-torture/execute/ builtins/string-1.c /Volumes/xufs/gcc-cvs-dylib/gcc/gcc/testsuite/gcc.c-torture/execute/ builtins/string-1-lib.c /Volumes/xufs/gcc-cvs-dylib/gcc/gcc/testsuite/gcc.c-torture/execute/ builtins/lib/main.c -w -O0 {-multiply_defined suppress} -lm -o /Volumes/xufs/gcc-cvs-dylib/objdir/gcc/testsuite/string-1.x0 (timeout = 300)
cc1: error: invalid option `ultiply_defined suppress'
cc1: error: invalid option `ultiply_defined suppress'
cc1: error: invalid option `ultiply_defined suppress'
compiler exited with status 1






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