public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/54373] New: [4.7/4.8 Regression]: build fails for mmix-knuth-mmixware libobjc GCC_NO_EXECUTABLES
@ 2012-08-25 14:05 hp at gcc dot gnu.org
  2012-08-25 14:07 ` [Bug target/54373] " hp at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: hp at gcc dot gnu.org @ 2012-08-25 14:05 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 54373
           Summary: [4.7/4.8 Regression]: build fails for
                    mmix-knuth-mmixware libobjc GCC_NO_EXECUTABLES
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Keywords: build, ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hp@gcc.gnu.org
              Host: x86_64-unknown-linux-gnu
            Target: mmix-knuth-mmixware


Some time after the 4.6 branch building binutils separately (not in a combined
tree) broke.  A build of binutils, installing that, then building gcc with PATH
including the binutils installation now results in:

(building gcc, then most other things including newlib, libstdc++, then:)
...
checking whether make sets $(MAKE)... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for ANSI C header files... (cached) yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking whether the target supports thread-local storage... configure: error:
Link tests are not allowed after GCC_NO_\
EXECUTABLES.
make[1]: *** [configure-target-libobjc] Error 1
make[1]: Leaving directory `/expvol/pp_slask/hp/cstmmbtmp/cstmmb_47/gccobj'

(gcc-4_7-branch revision 190562)

Similarly for trunk, for example revision 190649.

For failing versions, I see in gccobj/mmix/libobjc/config.log traces of basic
compilation problems:

configure:2869: /expvol/pp_slask/hp/cstmmbtmp/cstmmb3/gccobj/./gcc/xgcc
-B/expvol/pp_slask/hp/cstmmbtmp/cstmmb3/gccobj/\
./gcc/ -nostdinc -B/expvol/pp_slask/hp/cstmmbtmp/cstmmb3/gccobj/mmix/newlib/
-isystem /expvol/pp_slask/hp/cstmmbtmp/cst\
mmb3/gccobj/mmix/newlib/targ-include -isystem
/expvol/pp_slask/hp/cstmmbtmp/cstmmb3/gcc/newlib/libc/include -B/expvol/p\
p_slask/hp/cstmmbtmp/cstmmb3/gccobj/mmix/libgloss/mmix
-L/expvol/pp_slask/hp/cstmmbtmp/cstmmb3/gccobj/mmix/libgloss/lib\
nosys -L/expvol/pp_slask/hp/cstmmbtmp/cstmmb3/gcc/libgloss/mmix
-B/expvol/pp_slask/hp/cstmmbtmp/cstmmb3/pre/mmix/bin/ -\
B/expvol/pp_slask/hp/cstmmbtmp/cstmmb3/pre/mmix/lib/ -isystem
/expvol/pp_slask/hp/cstmmbtmp/cstmmb3/pre/mmix/include -i\
system /expvol/pp_slask/hp/cstmmbtmp/cstmmb3/pre/mmix/sys-include    -o
conftest -g -O2   conftest.c  >&5
/expvol/pp_slask/hp/cstmmbtmp/cstmmb3/pre/mmix/bin/ld:
/expvol/pp_slask/hp/cstmmbtmp/cstmmb3/gccobj/./gcc/crtbegin.o: b\
ase-plus-offset relocation against register symbol: __TMC_END__ in
.MMIX.reg_contents
/expvol/pp_slask/hp/cstmmbtmp/cstmmb3/gccobj/./gcc/crtbegin.o: In function
`deregister_tm_clones':
(.text+0xa): relocation truncated to fit: R_MMIX_BASE_PLUS_OFFSET against
`__TMC_END__'+7
/expvol/pp_slask/hp/cstmmbtmp/cstmmb3/pre/mmix/bin/ld:
/expvol/pp_slask/hp/cstmmbtmp/cstmmb3/gccobj/./gcc/crtbegin.o: I\
nternal inconsistency error for value for
 linker-allocated global register: linked: 0x2000000020000000000007e8 !=
relaxed: 0x2000000020000000000007ef

thus I label this a target problem (maybe even a binutils and not gcc problem),
though the libobjc failure is far from gracious.


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

* [Bug target/54373] [4.7/4.8 Regression]: build fails for mmix-knuth-mmixware libobjc GCC_NO_EXECUTABLES
  2012-08-25 14:05 [Bug target/54373] New: [4.7/4.8 Regression]: build fails for mmix-knuth-mmixware libobjc GCC_NO_EXECUTABLES hp at gcc dot gnu.org
@ 2012-08-25 14:07 ` hp at gcc dot gnu.org
  2012-08-26  4:23 ` hp at gcc dot gnu.org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: hp at gcc dot gnu.org @ 2012-08-25 14:07 UTC (permalink / raw)
  To: gcc-bugs

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

Hans-Peter Nilsson <hp at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2012-08-25
            Version|4.7.0                       |4.7.2
         AssignedTo|unassigned at gcc dot       |hp at gcc dot gnu.org
                   |gnu.org                     |
     Ever Confirmed|0                           |1


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

* [Bug target/54373] [4.7/4.8 Regression]: build fails for mmix-knuth-mmixware libobjc GCC_NO_EXECUTABLES
  2012-08-25 14:05 [Bug target/54373] New: [4.7/4.8 Regression]: build fails for mmix-knuth-mmixware libobjc GCC_NO_EXECUTABLES hp at gcc dot gnu.org
  2012-08-25 14:07 ` [Bug target/54373] " hp at gcc dot gnu.org
@ 2012-08-26  4:23 ` hp at gcc dot gnu.org
  2012-08-26  5:30 ` hp at gcc dot gnu.org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: hp at gcc dot gnu.org @ 2012-08-26  4:23 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Hans-Peter Nilsson <hp at gcc dot gnu.org> 2012-08-26 04:23:05 UTC ---
(In reply to comment #0)
> Some time after the 4.6 branch building binutils separately (not in a combined
> tree) broke.

To wit, a build with in-tree binutils works.  But, it works for the wrong
reason: there's a bug in the extraction of gas and ld version, which has the
effect of turning off every optional (and version-tested) gas and ld feature. 
Thus, for in-tree binutils, support for .hidden is turned off (*) and
corresponding #ifs in crtstuff.c cause the code to be different.  It works but
for the wrong reason.

The linker error messages indicates a linker bug, because the offending insn:

        LDA $252,__TMC_END__+7

or actually, the "__TMC_END__+7" operand, is valid; there are no restrictions
for base-plus-offset symbol expressions (like, not having an offset or offsets
being a multiple of 8).

I'm keeping this PR open and assigned instead of closing as invalid until I
know this is the only build-breaking bug (or libobjc-build-breaking bug).


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

* [Bug target/54373] [4.7/4.8 Regression]: build fails for mmix-knuth-mmixware libobjc GCC_NO_EXECUTABLES
  2012-08-25 14:05 [Bug target/54373] New: [4.7/4.8 Regression]: build fails for mmix-knuth-mmixware libobjc GCC_NO_EXECUTABLES hp at gcc dot gnu.org
  2012-08-25 14:07 ` [Bug target/54373] " hp at gcc dot gnu.org
  2012-08-26  4:23 ` hp at gcc dot gnu.org
@ 2012-08-26  5:30 ` hp at gcc dot gnu.org
  2012-09-03 10:01 ` rguenth at gcc dot gnu.org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: hp at gcc dot gnu.org @ 2012-08-26  5:30 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Hans-Peter Nilsson <hp at gcc dot gnu.org> 2012-08-26 05:30:05 UTC ---
(In reply to comment #1)
> Thus, for in-tree binutils, support for .hidden is turned off (*) 

It's yet another configure bug that .hidden is turned on for the linker: it's
turned on for *all* GNU linkers after a certain date, which doesn't really
matter unless it's turned for the assembler as well.  But turning .hidden on
for the MMIX binutils assembler is kind-of correct, because with non-default
linker options, ELF is produced and thus .hidden is "supported" (which still
doesn't really matter for this static-only linker).


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

* [Bug target/54373] [4.7/4.8 Regression]: build fails for mmix-knuth-mmixware libobjc GCC_NO_EXECUTABLES
  2012-08-25 14:05 [Bug target/54373] New: [4.7/4.8 Regression]: build fails for mmix-knuth-mmixware libobjc GCC_NO_EXECUTABLES hp at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2012-08-26  5:30 ` hp at gcc dot gnu.org
@ 2012-09-03 10:01 ` rguenth at gcc dot gnu.org
  2012-09-07 10:38 ` rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-09-03 10:01 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.7.2


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

* [Bug target/54373] [4.7/4.8 Regression]: build fails for mmix-knuth-mmixware libobjc GCC_NO_EXECUTABLES
  2012-08-25 14:05 [Bug target/54373] New: [4.7/4.8 Regression]: build fails for mmix-knuth-mmixware libobjc GCC_NO_EXECUTABLES hp at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2012-09-03 10:01 ` rguenth at gcc dot gnu.org
@ 2012-09-07 10:38 ` rguenth at gcc dot gnu.org
  2012-09-20 10:24 ` jakub at gcc dot gnu.org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-09-07 10:38 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4


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

* [Bug target/54373] [4.7/4.8 Regression]: build fails for mmix-knuth-mmixware libobjc GCC_NO_EXECUTABLES
  2012-08-25 14:05 [Bug target/54373] New: [4.7/4.8 Regression]: build fails for mmix-knuth-mmixware libobjc GCC_NO_EXECUTABLES hp at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2012-09-07 10:38 ` rguenth at gcc dot gnu.org
@ 2012-09-20 10:24 ` jakub at gcc dot gnu.org
  2012-10-11  1:36 ` hp at gcc dot gnu.org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-09-20 10:24 UTC (permalink / raw)
  To: gcc-bugs


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.7.2                       |4.7.3

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-09-20 10:20:23 UTC ---
GCC 4.7.2 has been released.


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

* [Bug target/54373] [4.7/4.8 Regression]: build fails for mmix-knuth-mmixware libobjc GCC_NO_EXECUTABLES
  2012-08-25 14:05 [Bug target/54373] New: [4.7/4.8 Regression]: build fails for mmix-knuth-mmixware libobjc GCC_NO_EXECUTABLES hp at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2012-09-20 10:24 ` jakub at gcc dot gnu.org
@ 2012-10-11  1:36 ` hp at gcc dot gnu.org
  2012-10-11  1:39 ` hp at gcc dot gnu.org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: hp at gcc dot gnu.org @ 2012-10-11  1:36 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #4 from Hans-Peter Nilsson <hp at gcc dot gnu.org> 2012-10-11 01:36:30 UTC ---
Author: hp
Date: Thu Oct 11 01:36:24 2012
New Revision: 192345

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192345
Log:
    PR target/54373
    * configure.ac (out-of-tree linker .hidden support) Set to "no"
    for mmix-knuth-mmixware.
    * configure: Regenerate.

Modified:
    trunk/gcc/ChangeLog


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

* [Bug target/54373] [4.7/4.8 Regression]: build fails for mmix-knuth-mmixware libobjc GCC_NO_EXECUTABLES
  2012-08-25 14:05 [Bug target/54373] New: [4.7/4.8 Regression]: build fails for mmix-knuth-mmixware libobjc GCC_NO_EXECUTABLES hp at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2012-10-11  1:36 ` hp at gcc dot gnu.org
@ 2012-10-11  1:39 ` hp at gcc dot gnu.org
  2013-04-11  7:59 ` [Bug target/54373] [4.7 " rguenth at gcc dot gnu.org
  2014-06-12 13:17 ` rguenth at gcc dot gnu.org
  9 siblings, 0 replies; 11+ messages in thread
From: hp at gcc dot gnu.org @ 2012-10-11  1:39 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #5 from Hans-Peter Nilsson <hp at gcc dot gnu.org> 2012-10-11 01:38:52 UTC ---
Related configury bits committed on trunk; will keep PR open until tested and
fixed for 4.7 as well.


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

* [Bug target/54373] [4.7 Regression]: build fails for mmix-knuth-mmixware libobjc GCC_NO_EXECUTABLES
  2012-08-25 14:05 [Bug target/54373] New: [4.7/4.8 Regression]: build fails for mmix-knuth-mmixware libobjc GCC_NO_EXECUTABLES hp at gcc dot gnu.org
                   ` (7 preceding siblings ...)
  2012-10-11  1:39 ` hp at gcc dot gnu.org
@ 2013-04-11  7:59 ` rguenth at gcc dot gnu.org
  2014-06-12 13:17 ` rguenth at gcc dot gnu.org
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-04-11  7:59 UTC (permalink / raw)
  To: gcc-bugs


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.7.3                       |4.7.4

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> 2013-04-11 07:59:31 UTC ---
GCC 4.7.3 is being released, adjusting target milestone.


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

* [Bug target/54373] [4.7 Regression]: build fails for mmix-knuth-mmixware libobjc GCC_NO_EXECUTABLES
  2012-08-25 14:05 [Bug target/54373] New: [4.7/4.8 Regression]: build fails for mmix-knuth-mmixware libobjc GCC_NO_EXECUTABLES hp at gcc dot gnu.org
                   ` (8 preceding siblings ...)
  2013-04-11  7:59 ` [Bug target/54373] [4.7 " rguenth at gcc dot gnu.org
@ 2014-06-12 13:17 ` rguenth at gcc dot gnu.org
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-06-12 13:17 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|4.7.4                       |4.8.0

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.


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

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

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-25 14:05 [Bug target/54373] New: [4.7/4.8 Regression]: build fails for mmix-knuth-mmixware libobjc GCC_NO_EXECUTABLES hp at gcc dot gnu.org
2012-08-25 14:07 ` [Bug target/54373] " hp at gcc dot gnu.org
2012-08-26  4:23 ` hp at gcc dot gnu.org
2012-08-26  5:30 ` hp at gcc dot gnu.org
2012-09-03 10:01 ` rguenth at gcc dot gnu.org
2012-09-07 10:38 ` rguenth at gcc dot gnu.org
2012-09-20 10:24 ` jakub at gcc dot gnu.org
2012-10-11  1:36 ` hp at gcc dot gnu.org
2012-10-11  1:39 ` hp at gcc dot gnu.org
2013-04-11  7:59 ` [Bug target/54373] [4.7 " rguenth at gcc dot gnu.org
2014-06-12 13:17 ` rguenth 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).