[Bug testsuite/42001] LTO tests fail with non multilib targets (but still not --disable-multilib )

2009-11-13 Thread uros at gcc dot gnu dot org


--- Comment #11 from uros at gcc dot gnu dot org  2009-11-13 09:05 ---
Subject: Bug 42001

Author: uros
Date: Fri Nov 13 09:05:18 2009
New Revision: 154145

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154145
Log:
PR testsuite/42001
* g++.dg/lto/lto.exp: Pass no-mathlib to lto_init.  Call
lto_finish at the end.
* gfortran.dg/lto/lto.exp: Ditto.


Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/lto/lto.exp
trunk/gcc/testsuite/gfortran.dg/lto/lto.exp


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42001



[Bug testsuite/42001] LTO tests fail with non multilib targets (but still not --disable-multilib )

2009-11-13 Thread ubizjak at gmail dot com


--- Comment #12 from ubizjak at gmail dot com  2009-11-13 09:11 ---
Fixed.


-- 

ubizjak at gmail dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42001



[Bug testsuite/42001] LTO tests fail with non multilib targets (but still not --disable-multilib )

2009-11-11 Thread hjl dot tools at gmail dot com


--- Comment #7 from hjl dot tools at gmail dot com  2009-11-11 15:08 ---
(In reply to comment #5)
 well most targets are multilibbed now so I never saw it.  I think you should
 just remove -lm then .
 

-lm is added to most, if not, tests. How do you remove it? Shouldn't
we have both -r and -shared options? We use -r for those targets which
don't support shared libraries.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42001



[Bug testsuite/42001] LTO tests fail with non multilib targets (but still not --disable-multilib )

2009-11-11 Thread hjl dot tools at gmail dot com


--- Comment #8 from hjl dot tools at gmail dot com  2009-11-11 20:06 ---
A patch is posted at

http://gcc.gnu.org/ml/gcc-patches/2009-11/msg00566.html


-- 

hjl dot tools at gmail dot com changed:

   What|Removed |Added

URL||http://gcc.gnu.org/ml/gcc-
   ||patches/2009-
   ||11/msg00566.html


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42001



[Bug testsuite/42001] LTO tests fail with non multilib targets (but still not --disable-multilib )

2009-11-11 Thread hjl at gcc dot gnu dot org


--- Comment #9 from hjl at gcc dot gnu dot org  2009-11-11 20:34 ---
Subject: Bug 42001

Author: hjl
Date: Wed Nov 11 20:34:13 2009
New Revision: 154104

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154104
Log:
2009-11-11  H.J. Lu  hongjiu...@intel.com

PR testsuite/42001
* gcc.dg/lto/lto.exp: Pass no-mathlib to lto_init.  Call
lto_finish at the end.

* lib/lto.exp (lto_init): Set mathlib to   for no-mathlib.
(lto_finish): New. Restore mathlib.

Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/lto/lto.exp
trunk/gcc/testsuite/lib/lto.exp


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42001



[Bug testsuite/42001] LTO tests fail with non multilib targets (but still not --disable-multilib )

2009-11-11 Thread rguenth at gcc dot gnu dot org


--- Comment #10 from rguenth at gcc dot gnu dot org  2009-11-11 20:37 
---
Fixed?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42001



[Bug testsuite/42001] LTO tests fail with non multilib targets (but still not --disable-multilib )

2009-11-10 Thread pinskia at gcc dot gnu dot org


--- Comment #6 from pinskia at gcc dot gnu dot org  2009-11-11 06:15 ---
Oh multilib.h is correct  for  --disable-multilib case ...


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42001