public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/47981] New: gcc.dg/lto/20110201-1 FAILs on Solaris 10
@ 2011-03-04  0:48 gseanmcg at gmail dot com
  2011-03-04 10:43 ` [Bug lto/47981] " rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: gseanmcg at gmail dot com @ 2011-03-04  0:48 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: gcc.dg/lto/20110201-1 FAILs on Solaris 10
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: gseanmcg@gmail.com


Executing on host: /BUILD/gcc/obj-170622/gcc/xgcc -B/BUILD/gcc/obj-170622/gcc/
c_lto_20110201-1_0.o   -O0 -flto  -O2 -ff
ast-math -fuse-linker-plugin      -o gcc-dg-lto-20110201-1-01    (timeout =
300)
Undefined                       first referenced^M
 symbol                             in file^M
cabs                                c_lto_20110201-1_0.o^M
ld: fatal: Symbol referencing errors. No output written to
gcc-dg-lto-20110201-1-01^M
collect2: ld returned 1 exit status^M


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug lto/47981] gcc.dg/lto/20110201-1 FAILs on Solaris 10
  2011-03-04  0:48 [Bug lto/47981] New: gcc.dg/lto/20110201-1 FAILs on Solaris 10 gseanmcg at gmail dot com
@ 2011-03-04 10:43 ` rguenth at gcc dot gnu.org
  2011-03-04 13:37 ` gseanmcg at gmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-03-04 10:43 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2011.03.04 10:43:17
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-04 10:43:17 UTC ---
The testcase relies on us folding cabs() to pow/sqrt late (at link time)

/* We require a linker plugin because otherwise we'd need to link
   against libm which we are not sure here has cabs on all targets.
   This is because collect2 invokes ld on the -O0 object code
   which does not have folded cabs.  */

can you try if using __builtin_cabs instead of cabs works for you?
It might be solaris isnt a TARGET_C99_MATH target and thus cabs isn't
detected as builtin?


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug lto/47981] gcc.dg/lto/20110201-1 FAILs on Solaris 10
  2011-03-04  0:48 [Bug lto/47981] New: gcc.dg/lto/20110201-1 FAILs on Solaris 10 gseanmcg at gmail dot com
  2011-03-04 10:43 ` [Bug lto/47981] " rguenth at gcc dot gnu.org
@ 2011-03-04 13:37 ` gseanmcg at gmail dot com
  2011-03-07 20:08 ` gseanmcg at gmail dot com
  2011-03-08  7:34 ` ebotcazou at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: gseanmcg at gmail dot com @ 2011-03-04 13:37 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Sean McGovern <gseanmcg at gmail dot com> 2011-03-04 13:37:11 UTC ---
According to the manpage, cabs() is in libm on Solaris 10.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug lto/47981] gcc.dg/lto/20110201-1 FAILs on Solaris 10
  2011-03-04  0:48 [Bug lto/47981] New: gcc.dg/lto/20110201-1 FAILs on Solaris 10 gseanmcg at gmail dot com
  2011-03-04 10:43 ` [Bug lto/47981] " rguenth at gcc dot gnu.org
  2011-03-04 13:37 ` gseanmcg at gmail dot com
@ 2011-03-07 20:08 ` gseanmcg at gmail dot com
  2011-03-08  7:34 ` ebotcazou at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: gseanmcg at gmail dot com @ 2011-03-07 20:08 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Sean McGovern <gseanmcg at gmail dot com> 2011-03-07 20:08:00 UTC ---
changing the cabs() call to __builtin_cabs() does succeed.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug lto/47981] gcc.dg/lto/20110201-1 FAILs on Solaris 10
  2011-03-04  0:48 [Bug lto/47981] New: gcc.dg/lto/20110201-1 FAILs on Solaris 10 gseanmcg at gmail dot com
                   ` (2 preceding siblings ...)
  2011-03-07 20:08 ` gseanmcg at gmail dot com
@ 2011-03-08  7:34 ` ebotcazou at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-03-08  7:34 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
                 CC|                            |ebotcazou at gcc dot
                   |                            |gnu.org
         Resolution|                            |DUPLICATE

--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-03-08 07:33:28 UTC ---
See http://gcc.gnu.org/ml/gcc-patches/2011-02/msg00411.html

*** This bug has been marked as a duplicate of bug 46944 ***


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-03-08  7:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-04  0:48 [Bug lto/47981] New: gcc.dg/lto/20110201-1 FAILs on Solaris 10 gseanmcg at gmail dot com
2011-03-04 10:43 ` [Bug lto/47981] " rguenth at gcc dot gnu.org
2011-03-04 13:37 ` gseanmcg at gmail dot com
2011-03-07 20:08 ` gseanmcg at gmail dot com
2011-03-08  7:34 ` ebotcazou at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).