public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/47683] New: g++.dg/tree-prof/partition[12].C FAIL on IRIX
@ 2011-02-10 17:14 ro at gcc dot gnu.org
  2011-02-10 17:15 ` [Bug target/47683] " ro at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ro at gcc dot gnu.org @ 2011-02-10 17:14 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: g++.dg/tree-prof/partition[12].C FAIL on IRIX
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ro@gcc.gnu.org
                CC: rdsandiford@googlemail.com
              Host: mips-sgi-irix[56]*
            Target: mips-sgi-irix[56]*
             Build: mips-sgi-irix[56]*


Both g++.dg/tree-prof/partition[12].C tests fail to link on IRIX 5 and 6 with
the native linker:

FAIL: g++.dg/tree-prof/partition1.C compilation,  -g  -fprofile-use

output is:
ld32: WARNING 84 : /usr/lib/../lib32/libm.so is not used for resolving any
symbol.

ld32: Relocation 30 in section .rela.text in file /var/tmp//cc6I0h7y.o.

ld32: FATAL   23 : Relocation entry has bad type

ld32: INFO    152: Output file removed because of error.

collect2: ld returned 4 exit status


Checking with elfdump -r, I find that relocation 30 in .rela.text is

.rela.text:
         Offset     Symndx         Type         Addend
[...]
[   30] 0x200      .text.unlikely R_MIPS_PC16  36

Obviously, SGI ld cannot handle that relocation type.  The R_MIPS prefix is an
indication that while elfdump does know the type, the system tools cannot do
anything with them.

I'll try to disable generating that type in gas if targetting IRIX and see if
I can bootstrap with such a gas.


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

* [Bug target/47683] g++.dg/tree-prof/partition[12].C FAIL on IRIX
  2011-02-10 17:14 [Bug target/47683] New: g++.dg/tree-prof/partition[12].C FAIL on IRIX ro at gcc dot gnu.org
@ 2011-02-10 17:15 ` ro at gcc dot gnu.org
  2011-02-10 17:24 ` ro at gcc dot gnu.org
  2014-06-13 11:45 ` ro at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ro at gcc dot gnu.org @ 2011-02-10 17:15 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Rainer Orth <ro at gcc dot gnu.org> 2011-02-10 17:14:19 UTC ---
Author: ro
Date: Thu Feb 10 17:14:15 2011
New Revision: 170012

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170012
Log:
    PR target/46610
    * gcc.target/mips/save-restore-1.c: Skip on mips-sgi-irix6*.
    * gcc.target/mips/save-restore-3.c: Likewise.
    * gcc.target/mips/save-restore-4.c: Likewise.
    * gcc.target/mips/save-restore-5.c: Likewise.

    PR target/47683
    * g++.dg/tree-prof/partition1.C: Skip on mips-sgi-irix*.
    * g++.dg/tree-prof/partition2.C: Likewise.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/tree-prof/partition1.C
    trunk/gcc/testsuite/g++.dg/tree-prof/partition2.C
    trunk/gcc/testsuite/gcc.target/mips/save-restore-1.c
    trunk/gcc/testsuite/gcc.target/mips/save-restore-3.c
    trunk/gcc/testsuite/gcc.target/mips/save-restore-4.c
    trunk/gcc/testsuite/gcc.target/mips/save-restore-5.c


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

* [Bug target/47683] g++.dg/tree-prof/partition[12].C FAIL on IRIX
  2011-02-10 17:14 [Bug target/47683] New: g++.dg/tree-prof/partition[12].C FAIL on IRIX ro at gcc dot gnu.org
  2011-02-10 17:15 ` [Bug target/47683] " ro at gcc dot gnu.org
@ 2011-02-10 17:24 ` ro at gcc dot gnu.org
  2014-06-13 11:45 ` ro at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ro at gcc dot gnu.org @ 2011-02-10 17:24 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Rainer Orth <ro at gcc dot gnu.org> 2011-02-10 17:23:24 UTC ---
Author: ro
Date: Thu Feb 10 17:23:21 2011
New Revision: 170013

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170013
Log:
    PR target/46610
    * gcc.target/mips/save-restore-1.c: Skip on mips-sgi-irix6*.
    * gcc.target/mips/save-restore-3.c: Likewise.
    * gcc.target/mips/save-restore-4.c: Likewise.
    * gcc.target/mips/save-restore-5.c: Likewise.

    PR target/47683
    * g++.dg/tree-prof/partition1.C: Skip on mips-sgi-irix*.
    * g++.dg/tree-prof/partition2.C: Likewise.

Modified:
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_5-branch/gcc/testsuite/g++.dg/tree-prof/partition1.C
    branches/gcc-4_5-branch/gcc/testsuite/g++.dg/tree-prof/partition2.C
    branches/gcc-4_5-branch/gcc/testsuite/gcc.target/mips/save-restore-1.c
    branches/gcc-4_5-branch/gcc/testsuite/gcc.target/mips/save-restore-3.c
    branches/gcc-4_5-branch/gcc/testsuite/gcc.target/mips/save-restore-4.c
    branches/gcc-4_5-branch/gcc/testsuite/gcc.target/mips/save-restore-5.c


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

* [Bug target/47683] g++.dg/tree-prof/partition[12].C FAIL on IRIX
  2011-02-10 17:14 [Bug target/47683] New: g++.dg/tree-prof/partition[12].C FAIL on IRIX ro at gcc dot gnu.org
  2011-02-10 17:15 ` [Bug target/47683] " ro at gcc dot gnu.org
  2011-02-10 17:24 ` ro at gcc dot gnu.org
@ 2014-06-13 11:45 ` ro at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ro at gcc dot gnu.org @ 2014-06-13 11:45 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47683

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #3 from Rainer Orth <ro at gcc dot gnu.org> ---
4.7 branch closed.


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

end of thread, other threads:[~2014-06-13 11:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-10 17:14 [Bug target/47683] New: g++.dg/tree-prof/partition[12].C FAIL on IRIX ro at gcc dot gnu.org
2011-02-10 17:15 ` [Bug target/47683] " ro at gcc dot gnu.org
2011-02-10 17:24 ` ro at gcc dot gnu.org
2014-06-13 11:45 ` ro 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).