public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] PR24704, Internal error building skiboot for powerpc64-linux-gnu
@ 2019-06-24 11:08 gdb-buildbot
  2019-06-24 11:08 ` Failures on Fedora-i686, branch master gdb-buildbot
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: gdb-buildbot @ 2019-06-24 11:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bb22a41815facfaa3de621aad5d055eb8e477082 ***

commit bb22a41815facfaa3de621aad5d055eb8e477082
Author:     Alan Modra <amodra@gmail.com>
AuthorDate: Sun Jun 23 12:28:39 2019 +0930
Commit:     Alan Modra <amodra@gmail.com>
CommitDate: Sun Jun 23 23:11:27 2019 +0930

    PR24704, Internal error building skiboot for powerpc64-linux-gnu
    
    While the skiboot linker script bears some culpability in this PR,
    it's also true that the GOT indirect to GOT relative optimisation for
    16-bit offsets isn't safe.  At least, it isn't safe to remove the GOT
    entry based on distance between the GOT pointer and symbol calculated
    from the preliminary layout.  So this patch removes that optimisation,
    and reduces the range allowed for 32-bit and 34-bit offsets.
    
            PR 24704
    bfd/
            * elf64-ppc.c (R_PPC64_GOT16_DS): Don't set has_gotrel.
            (ppc64_elf_edit_toc): Don't remove R_PPC64_GOT16_DS got entries.
            Reduce range of offsets allowed for other GOT relocs.
    ld/
            * testsuite/ld-powerpc/elfv2exe.d: Update.
            * testsuite/ld-powerpc/elfv2so.d: Update.

diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 964ab71b20..0914e7d633 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,12 @@
 2019-06-23  Alan Modra  <amodra@gmail.com>
 
+	PR 24704
+	* elf64-ppc.c (R_PPC64_GOT16_DS): Don't set has_gotrel.
+	(ppc64_elf_edit_toc): Don't remove R_PPC64_GOT16_DS got entries.
+	Reduce range of offsets allowed for other GOT relocs.
+
+2019-06-23  Alan Modra  <amodra@gmail.com>
+
 	PR 24689
 	* elfcode.h (elf_object_p): Warning fix.
 
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c
index 61620190ce..c5c18d0823 100644
--- a/bfd/elf64-ppc.c
+++ b/bfd/elf64-ppc.c
@@ -4610,7 +4610,6 @@ ppc64_elf_check_relocs (bfd *abfd, struct bfd_link_info *info,
 	  sec->has_tls_reloc = 1;
 	  goto dogot;
 
-	case R_PPC64_GOT16_DS:
 	case R_PPC64_GOT16_HA:
 	case R_PPC64_GOT16_LO_DS:
 	case R_PPC64_GOT_PCREL34:
@@ -4618,6 +4617,7 @@ ppc64_elf_check_relocs (bfd *abfd, struct bfd_link_info *info,
 	  ppc64_elf_section_data (sec)->has_gotrel = 1;
 	  /* Fall through.  */
 
+	case R_PPC64_GOT16_DS:
 	case R_PPC64_GOT16:
 	case R_PPC64_GOT16_HI:
 	case R_PPC64_GOT16_LO:
@@ -9010,10 +9010,15 @@ ppc64_elf_edit_toc (struct bfd_link_info *info)
 	      r_type = ELF64_R_TYPE (rel->r_info);
 	      switch (r_type)
 		{
+		/* Note that we don't delete GOT entries for
+		   R_PPC64_GOT16_DS since we'd need a lot more
+		   analysis.  For starters, the preliminary layout is
+		   before the GOT, PLT, dynamic sections and stubs are
+		   laid out.  Then we'd need to allow for changes in
+		   distance between sections caused by alignment.  */
 		default:
 		  continue;
 
-		case R_PPC64_GOT16_DS:
 		case R_PPC64_GOT16_HA:
 		case R_PPC64_GOT16_LO_DS:
 		  sym_addend = rel->r_addend;
@@ -9039,24 +9044,18 @@ ppc64_elf_edit_toc (struct bfd_link_info *info)
 	      val += sym_addend;
 	      val += sym_sec->output_section->vma + sym_sec->output_offset;
 
+/* Fudge factor to allow for the fact that the preliminary layout
+   isn't exact.  Reduce limits by this factor.  */
+#define LIMIT_ADJUST(LIMIT) ((LIMIT) - (LIMIT) / 16)
+
 	      switch (r_type)
 		{
 		default:
 		  continue;
 
-		case R_PPC64_GOT16_DS:
-		  if (val - got + 0x8000 >= 0x10000)
-		    continue;
-		  if (!bfd_get_section_contents (ibfd, sec, buf,
-						 rel->r_offset & ~3, 4))
-		    goto got_error_ret;
-		  insn = bfd_get_32 (ibfd, buf);
-		  if ((insn & (0x3f << 26 | 0x3)) != 58u << 26 /* ld */)
-		    continue;
-		  break;
-
 		case R_PPC64_GOT16_HA:
-		  if (val - got + 0x80008000ULL >= 0x100000000ULL)
+		  if (val - got + LIMIT_ADJUST (0x80008000ULL)
+		      >= LIMIT_ADJUST (0x100000000ULL))
 		    continue;
 
 		  if (!bfd_get_section_contents (ibfd, sec, buf,
@@ -9069,7 +9068,8 @@ ppc64_elf_edit_toc (struct bfd_link_info *info)
 		  break;
 
 		case R_PPC64_GOT16_LO_DS:
-		  if (val - got + 0x80008000ULL >= 0x100000000ULL)
+		  if (val - got + LIMIT_ADJUST (0x80008000ULL)
+		      >= LIMIT_ADJUST (0x100000000ULL))
 		    continue;
 		  if (!bfd_get_section_contents (ibfd, sec, buf,
 						 rel->r_offset & ~3, 4))
@@ -9082,7 +9082,8 @@ ppc64_elf_edit_toc (struct bfd_link_info *info)
 		case R_PPC64_GOT_PCREL34:
 		  pc = rel->r_offset;
 		  pc += sec->output_section->vma + sec->output_offset;
-		  if (val - pc + (1ULL << 33) >= 1ULL << 34)
+		  if (val - pc + LIMIT_ADJUST (1ULL << 33)
+		      >= LIMIT_ADJUST (1ULL << 34))
 		    continue;
 		  if (!bfd_get_section_contents (ibfd, sec, buf,
 						 rel->r_offset & ~3, 8))
@@ -9095,6 +9096,7 @@ ppc64_elf_edit_toc (struct bfd_link_info *info)
 		    continue;
 		  break;
 		}
+#undef LIMIT_ADJUST
 
 	      if (h != NULL)
 		ent = h->got.glist;
diff --git a/ld/ChangeLog b/ld/ChangeLog
index e5c85e101e..6dcfe30696 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,9 @@
+2019-06-23  Alan Modra  <amodra@gmail.com>
+
+	PR 24704
+	* testsuite/ld-powerpc/elfv2exe.d: Update.
+	* testsuite/ld-powerpc/elfv2so.d: Update.
+
 2019-06-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
 
 	* testsuite/ld-aarch64/aarch64-elf.exp: Add emit-relocs-22 and -23.
diff --git a/ld/testsuite/ld-powerpc/elfv2exe.d b/ld/testsuite/ld-powerpc/elfv2exe.d
index 769f8469a1..0ccfcbf345 100644
--- a/ld/testsuite/ld-powerpc/elfv2exe.d
+++ b/ld/testsuite/ld-powerpc/elfv2exe.d
@@ -34,7 +34,7 @@ Disassembly of section \.text:
 .*:	(e8 62 80 08|08 80 62 e8) 	ld      r3,-32760\(r2\)
 .*:	(4b .. .. ..|.. .. .. 4b) 	bl      .*\.plt_branch\.f2>
 .*:	(60 00 00 00|00 00 00 60) 	nop
-.*:	(38 62 80 10|10 80 62 38) 	addi    r3,r2,-32752
+.*:	(38 62 80 18|18 80 62 38) 	addi    r3,r2,-32744
 .*:	(48 .. .. ..|.. .. .. 48) 	bl      10008888 <f3>
 .*:	(60 00 00 00|00 00 00 60) 	nop
 .*:	(4b .. .. ..|.. .. .. 4b) 	bl      .*\.plt_branch\.f4>
diff --git a/ld/testsuite/ld-powerpc/elfv2so.d b/ld/testsuite/ld-powerpc/elfv2so.d
index 081eb4937f..0162bd0880 100644
--- a/ld/testsuite/ld-powerpc/elfv2so.d
+++ b/ld/testsuite/ld-powerpc/elfv2so.d
@@ -9,35 +9,35 @@ Disassembly of section \.text:
 
 .* <.*\.plt_call\.f4>:
 .*:	(f8 41 00 18|18 00 41 f8) 	std     r2,24\(r1\)
-.*:	(e9 82 80 38|38 80 82 e9) 	ld      r12,-32712\(r2\)
+.*:	(e9 82 80 40|40 80 82 e9) 	ld      r12,-32704\(r2\)
 .*:	(7d 89 03 a6|a6 03 89 7d) 	mtctr   r12
 .*:	(4e 80 04 20|20 04 80 4e) 	bctr
 	\.\.\.
 
 .* <.*\.plt_call\.f3>:
 .*:	(f8 41 00 18|18 00 41 f8) 	std     r2,24\(r1\)
-.*:	(e9 82 80 28|28 80 82 e9) 	ld      r12,-32728\(r2\)
+.*:	(e9 82 80 30|30 80 82 e9) 	ld      r12,-32720\(r2\)
 .*:	(7d 89 03 a6|a6 03 89 7d) 	mtctr   r12
 .*:	(4e 80 04 20|20 04 80 4e) 	bctr
 	\.\.\.
 
 .* <.*\.plt_call\.f5>:
 .*:	(f8 41 00 18|18 00 41 f8) 	std     r2,24\(r1\)
-.*:	(e9 82 80 20|20 80 82 e9) 	ld      r12,-32736\(r2\)
+.*:	(e9 82 80 28|28 80 82 e9) 	ld      r12,-32728\(r2\)
 .*:	(7d 89 03 a6|a6 03 89 7d) 	mtctr   r12
 .*:	(4e 80 04 20|20 04 80 4e) 	bctr
 	\.\.\.
 
 .* <.*\.plt_call\.f1>:
 .*:	(f8 41 00 18|18 00 41 f8) 	std     r2,24\(r1\)
-.*:	(e9 82 80 40|40 80 82 e9) 	ld      r12,-32704\(r2\)
+.*:	(e9 82 80 48|48 80 82 e9) 	ld      r12,-32696\(r2\)
 .*:	(7d 89 03 a6|a6 03 89 7d) 	mtctr   r12
 .*:	(4e 80 04 20|20 04 80 4e) 	bctr
 	\.\.\.
 
 .* <.*\.plt_call\.f2>:
 .*:	(f8 41 00 18|18 00 41 f8) 	std     r2,24\(r1\)
-.*:	(e9 82 80 30|30 80 82 e9) 	ld      r12,-32720\(r2\)
+.*:	(e9 82 80 38|38 80 82 e9) 	ld      r12,-32712\(r2\)
 .*:	(7d 89 03 a6|a6 03 89 7d) 	mtctr   r12
 .*:	(4e 80 04 20|20 04 80 4e) 	bctr
 	\.\.\.
@@ -52,7 +52,7 @@ Disassembly of section \.text:
 .*:	(e8 62 80 08|08 80 62 e8) 	ld      r3,-32760\(r2\)
 .*:	(4b .. .. ..|.. .. .. 4b) 	bl      .*\.plt_call\.f2>
 .*:	(e8 41 00 18|18 00 41 e8) 	ld      r2,24\(r1\)
-.*:	(38 62 80 48|48 80 62 38) 	addi    r3,r2,-32696
+.*:	(38 62 80 50|50 80 62 38) 	addi    r3,r2,-32688
 .*:	(4b .. .. ..|.. .. .. 4b) 	bl      .*\.plt_call\.f3>
 .*:	(e8 41 00 18|18 00 41 e8) 	ld      r2,24\(r1\)
 .*:	(4b .. .. ..|.. .. .. 4b) 	bl      .*\.plt_call\.f4>


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

* Failures on Fedora-i686, branch master
  2019-06-24 11:08 [binutils-gdb] PR24704, Internal error building skiboot for powerpc64-linux-gnu gdb-buildbot
@ 2019-06-24 11:08 ` gdb-buildbot
  2019-06-24 11:53 ` Failures on Fedora-x86_64-cc-with-index, " gdb-buildbot
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: gdb-buildbot @ 2019-06-24 11:08 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Fedora-i686

Worker:
        fedora-x86-64-3

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/18/builds/5

Author:
        Alan Modra <amodra@gmail.com>

Commit tested:
        bb22a41815facfaa3de621aad5d055eb8e477082

Subject of commit:
        PR24704, Internal error building skiboot for powerpc64-linux-gnu

Testsuite logs (gdb.sum, gdb.log and others):
        https://gdb-buildbot.osci.io/results/Fedora-i686/bb/bb22a41815facfaa3de621aad5d055eb8e477082

*** Diff to previous build ***
==============================================
PASS -> KFAIL: gdb.threads/non-ldr-exit.exp: program exits normally
==============================================

*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://gdb-buildbot.osci.io/results/Fedora-i686/bb/bb22a41815facfaa3de621aad5d055eb8e477082/xfail.gz>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://gdb-buildbot.osci.io/results/Fedora-i686/bb/bb22a41815facfaa3de621aad5d055eb8e477082/xfail.table.gz>


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

* Failures on Fedora-x86_64-cc-with-index, branch master
  2019-06-24 11:08 [binutils-gdb] PR24704, Internal error building skiboot for powerpc64-linux-gnu gdb-buildbot
  2019-06-24 11:08 ` Failures on Fedora-i686, branch master gdb-buildbot
@ 2019-06-24 11:53 ` gdb-buildbot
  2019-06-24 11:57 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " gdb-buildbot
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: gdb-buildbot @ 2019-06-24 11:53 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Fedora-x86_64-cc-with-index

Worker:
        fedora-x86-64-1

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/20/builds/5

Author:
        Alan Modra <amodra@gmail.com>

Commit tested:
        bb22a41815facfaa3de621aad5d055eb8e477082

Subject of commit:
        PR24704, Internal error building skiboot for powerpc64-linux-gnu

Testsuite logs (gdb.sum, gdb.log and others):
        https://gdb-buildbot.osci.io/results/Fedora-x86_64-cc-with-index/bb/bb22a41815facfaa3de621aad5d055eb8e477082

*** Diff to previous build ***
==============================================
PASS -> KFAIL: gdb.threads/non-ldr-exit.exp: program exits normally
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=on: cond_bp_target=0: inferior 1 exited
==============================================

*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-cc-with-index/bb/bb22a41815facfaa3de621aad5d055eb8e477082/xfail.gz>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-cc-with-index/bb/bb22a41815facfaa3de621aad5d055eb8e477082/xfail.table.gz>


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

* Failures on Fedora-x86_64-native-extended-gdbserver-m64, branch master
  2019-06-24 11:08 [binutils-gdb] PR24704, Internal error building skiboot for powerpc64-linux-gnu gdb-buildbot
  2019-06-24 11:08 ` Failures on Fedora-i686, branch master gdb-buildbot
  2019-06-24 11:53 ` Failures on Fedora-x86_64-cc-with-index, " gdb-buildbot
@ 2019-06-24 11:57 ` gdb-buildbot
  2019-06-24 16:35 ` Failures on Fedora-x86_64-m64, " gdb-buildbot
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: gdb-buildbot @ 2019-06-24 11:57 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Fedora-x86_64-native-extended-gdbserver-m64

Worker:
        fedora-x86-64-2

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/2/builds/5

Author:
        Alan Modra <amodra@gmail.com>

Commit tested:
        bb22a41815facfaa3de621aad5d055eb8e477082

Subject of commit:
        PR24704, Internal error building skiboot for powerpc64-linux-gnu

Testsuite logs (gdb.sum, gdb.log and others):
        https://gdb-buildbot.osci.io/results/Fedora-x86_64-native-extended-gdbserver-m64/bb/bb22a41815facfaa3de621aad5d055eb8e477082

*** Diff to previous build ***
==============================================
FAIL -> UNRESOLVED: gdb.mi/mi-exec-run.exp: inferior-tty=main: mi=main: force-fail=1: run failure detected
FAIL -> UNRESOLVED: gdb.mi/mi-exec-run.exp: inferior-tty=main: mi=separate: force-fail=1: run failure detected
FAIL -> UNRESOLVED: gdb.mi/mi-exec-run.exp: inferior-tty=separate: mi=main: force-fail=1: run failure detected
FAIL -> UNRESOLVED: gdb.mi/mi-exec-run.exp: inferior-tty=separate: mi=separate: force-fail=1: run failure detected
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=on: cond_bp_target=0: inferior 1 exited
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=on: cond_bp_target=1: inferior 1 exited
==============================================

*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-native-extended-gdbserver-m64/bb/bb22a41815facfaa3de621aad5d055eb8e477082/xfail.gz>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-native-extended-gdbserver-m64/bb/bb22a41815facfaa3de621aad5d055eb8e477082/xfail.table.gz>


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

* Failures on Fedora-x86_64-m64, branch master
  2019-06-24 11:08 [binutils-gdb] PR24704, Internal error building skiboot for powerpc64-linux-gnu gdb-buildbot
                   ` (2 preceding siblings ...)
  2019-06-24 11:57 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " gdb-buildbot
@ 2019-06-24 16:35 ` gdb-buildbot
  2019-06-24 16:47 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " gdb-buildbot
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: gdb-buildbot @ 2019-06-24 16:35 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Fedora-x86_64-m64

Worker:
        fedora-x86-64-2

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/3/builds/5

Author:
        Alan Modra <amodra@gmail.com>

Commit tested:
        bb22a41815facfaa3de621aad5d055eb8e477082

Subject of commit:
        PR24704, Internal error building skiboot for powerpc64-linux-gnu

Testsuite logs (gdb.sum, gdb.log and others):
        https://gdb-buildbot.osci.io/results/Fedora-x86_64-m64/bb/bb22a41815facfaa3de621aad5d055eb8e477082

*** Diff to previous build ***
==============================================
PASS -> KFAIL: gdb.threads/non-ldr-exit.exp: program exits normally
==============================================

*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-m64/bb/bb22a41815facfaa3de621aad5d055eb8e477082/xfail.gz>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-m64/bb/bb22a41815facfaa3de621aad5d055eb8e477082/xfail.table.gz>


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

* Failures on Fedora-x86_64-native-extended-gdbserver-m32, branch master
  2019-06-24 11:08 [binutils-gdb] PR24704, Internal error building skiboot for powerpc64-linux-gnu gdb-buildbot
                   ` (3 preceding siblings ...)
  2019-06-24 16:35 ` Failures on Fedora-x86_64-m64, " gdb-buildbot
@ 2019-06-24 16:47 ` gdb-buildbot
  2019-06-24 16:51 ` Failures on Fedora-x86_64-native-gdbserver-m64, " gdb-buildbot
  2019-07-09 16:59 ` *** COMPILATION FAILED *** Failures on NetBSD-x86_64-m64, branch master *** BREAKAGE *** gdb-buildbot
  6 siblings, 0 replies; 8+ messages in thread
From: gdb-buildbot @ 2019-06-24 16:47 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Fedora-x86_64-native-extended-gdbserver-m32

Worker:
        fedora-x86-64-3

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/4/builds/5

Author:
        Alan Modra <amodra@gmail.com>

Commit tested:
        bb22a41815facfaa3de621aad5d055eb8e477082

Subject of commit:
        PR24704, Internal error building skiboot for powerpc64-linux-gnu

Testsuite logs (gdb.sum, gdb.log and others):
        https://gdb-buildbot.osci.io/results/Fedora-x86_64-native-extended-gdbserver-m32/bb/bb22a41815facfaa3de621aad5d055eb8e477082

*** Diff to previous build ***
==============================================
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=on: cond_bp_target=0: inferior 1 exited
==============================================

*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-native-extended-gdbserver-m32/bb/bb22a41815facfaa3de621aad5d055eb8e477082/xfail.gz>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-native-extended-gdbserver-m32/bb/bb22a41815facfaa3de621aad5d055eb8e477082/xfail.table.gz>


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

* Failures on Fedora-x86_64-native-gdbserver-m64, branch master
  2019-06-24 11:08 [binutils-gdb] PR24704, Internal error building skiboot for powerpc64-linux-gnu gdb-buildbot
                   ` (4 preceding siblings ...)
  2019-06-24 16:47 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " gdb-buildbot
@ 2019-06-24 16:51 ` gdb-buildbot
  2019-07-09 16:59 ` *** COMPILATION FAILED *** Failures on NetBSD-x86_64-m64, branch master *** BREAKAGE *** gdb-buildbot
  6 siblings, 0 replies; 8+ messages in thread
From: gdb-buildbot @ 2019-06-24 16:51 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Fedora-x86_64-native-gdbserver-m64

Worker:
        fedora-x86-64-4

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/22/builds/6

Author:
        Alan Modra <amodra@gmail.com>

Commit tested:
        bb22a41815facfaa3de621aad5d055eb8e477082

Subject of commit:
        PR24704, Internal error building skiboot for powerpc64-linux-gnu

Testsuite logs (gdb.sum, gdb.log and others):
        https://gdb-buildbot.osci.io/results/Fedora-x86_64-native-gdbserver-m64/bb/bb22a41815facfaa3de621aad5d055eb8e477082

*** Diff to previous build ***
==============================================
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=off: cond_bp_target=0: inferior 1 exited
==============================================

*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-native-gdbserver-m64/bb/bb22a41815facfaa3de621aad5d055eb8e477082/xfail.gz>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-native-gdbserver-m64/bb/bb22a41815facfaa3de621aad5d055eb8e477082/xfail.table.gz>


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

* *** COMPILATION FAILED *** Failures on NetBSD-x86_64-m64, branch master *** BREAKAGE ***
  2019-06-24 11:08 [binutils-gdb] PR24704, Internal error building skiboot for powerpc64-linux-gnu gdb-buildbot
                   ` (5 preceding siblings ...)
  2019-06-24 16:51 ` Failures on Fedora-x86_64-native-gdbserver-m64, " gdb-buildbot
@ 2019-07-09 16:59 ` gdb-buildbot
  6 siblings, 0 replies; 8+ messages in thread
From: gdb-buildbot @ 2019-07-09 16:59 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        NetBSD-x86_64-m64

Worker:
        gdb-amd64-netbsd

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/10/builds/9

Author:
        Alan Modra <amodra@gmail.com>

Commit tested:
        bb22a41815facfaa3de621aad5d055eb8e477082

Subject of commit:
        PR24704, Internal error building skiboot for powerpc64-linux-gnu

*** FAILED to build GDB -- compile gdb ***
==============================================

+++ The full log is too big to be posted here.
+++ These are the last 100 lines of it.

  cd noasan; \
  ar rc ./libiberty.a \
    ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./sha1.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./crc32.o ./d-demangle.o ./dwarfnames.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./filename_cmp.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./vprintf-support.o ./rust-demangle.o ./safe-ctype.o ./simple-object.o ./simple-object-coff.o ./simple-object-elf.o ./simple-object-mach-o.o ./simple-object-xcoff.o ./sort.o ./spaces.o ./splay-tree.o ./stack-limit.o ./strerror.o ./strsignal.o ./timeval-utils.o ./unlink-if-ordinary.o ./xasprintf.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o ./xvasprintf.o  ./mempcpy.o ./strverscmp.o; \
  ranlib ./libiberty.a; \
  cd ..; \
else true; fi
echo ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./sha1.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./crc32.o ./d-demangle.o ./dwarfnames.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./filename_cmp.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./vprintf-support.o ./rust-demangle.o ./safe-ctype.o ./simple-object.o ./simple-object-coff.o ./simple-object-elf.o ./simple-object-mach-o.o ./simple-object-xcoff.o ./sort.o ./spaces.o ./splay-tree.o ./stack-limit.o ./strerror.o ./strsignal.o ./timeval-utils.o ./unlink-if-ordinary.o ./xasprintf.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o ./xvasprintf.o > required-list
gmake[3]: Entering directory '/data/motusgdb/gdbosci/netbsd-x86_64/build/libiberty/testsuite'
gmake[3]: Nothing to be done for 'all'.
gmake[3]: Leaving directory '/data/motusgdb/gdbosci/netbsd-x86_64/build/libiberty/testsuite'
gmake[2]: Leaving directory '/data/motusgdb/gdbosci/netbsd-x86_64/build/libiberty'
gmake[2]: Entering directory '/data/motusgdb/gdbosci/netbsd-x86_64/build/intl'
rm -f stamp-h1
/bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
test -f config.h || (rm -f stamp-h1 && gmake stamp-h1)
cp ../../binutils-gdb/intl/libgnuintl.h libintl.h
gcc -c  -g -D_GLIBCXX_DEBUG  -DHAVE_CONFIG_H  -I. -I../../binutils-gdb/intl ../../binutils-gdb/intl/bindtextdom.c
gcc -c  -g -D_GLIBCXX_DEBUG  -DHAVE_CONFIG_H  -I. -I../../binutils-gdb/intl ../../binutils-gdb/intl/dcgettext.c
gcc -c  -g -D_GLIBCXX_DEBUG  -DHAVE_CONFIG_H  -I. -I../../binutils-gdb/intl ../../binutils-gdb/intl/dgettext.c
gcc -c  -g -D_GLIBCXX_DEBUG  -DHAVE_CONFIG_H  -I. -I../../binutils-gdb/intl ../../binutils-gdb/intl/gettext.c
gcc -c  -g -D_GLIBCXX_DEBUG  -DHAVE_CONFIG_H  -I. -I../../binutils-gdb/intl ../../binutils-gdb/intl/finddomain.c
gcc -c  -g -D_GLIBCXX_DEBUG  -DHAVE_CONFIG_H  -I. -I../../binutils-gdb/intl ../../binutils-gdb/intl/loadmsgcat.c
gcc -c  -g -D_GLIBCXX_DEBUG  -DHAVE_CONFIG_H -DLOCALE_ALIAS_PATH="\"/usr/local/share/locale\"" -I. -I../../binutils-gdb/intl ../../binutils-gdb/intl/localealias.c
gcc -c  -g -D_GLIBCXX_DEBUG  -DHAVE_CONFIG_H  -I. -I../../binutils-gdb/intl ../../binutils-gdb/intl/textdomain.c
gcc -c  -g -D_GLIBCXX_DEBUG  -DHAVE_CONFIG_H  -I. -I../../binutils-gdb/intl ../../binutils-gdb/intl/l10nflist.c
gcc -c  -g -D_GLIBCXX_DEBUG  -DHAVE_CONFIG_H  -I. -I../../binutils-gdb/intl ../../binutils-gdb/intl/explodename.c
gcc -c  -g -D_GLIBCXX_DEBUG  -DHAVE_CONFIG_H -DLOCALEDIR="\"/usr/local/share/locale\"" -I. -I../../binutils-gdb/intl ../../binutils-gdb/intl/dcigettext.c
gcc -c  -g -D_GLIBCXX_DEBUG  -DHAVE_CONFIG_H  -I. -I../../binutils-gdb/intl ../../binutils-gdb/intl/dcngettext.c
gcc -c  -g -D_GLIBCXX_DEBUG  -DHAVE_CONFIG_H  -I. -I../../binutils-gdb/intl ../../binutils-gdb/intl/dngettext.c
gcc -c  -g -D_GLIBCXX_DEBUG  -DHAVE_CONFIG_H  -I. -I../../binutils-gdb/intl ../../binutils-gdb/intl/ngettext.c
bison -y --name-prefix=__gettext --output plural.c ../../binutils-gdb/intl/plural.y
../../binutils-gdb/intl/plural.y:46.1-12: warning: deprecated directive, use '%pure-parser' [-Wdeprecated]
 %pure_parser
 ^^^^^^^^^^^^
rm -f plural.h
gcc -c  -g -D_GLIBCXX_DEBUG  -DHAVE_CONFIG_H  -I. -I../../binutils-gdb/intl plural.c
In file included from ../../binutils-gdb/intl/plural.y:35:0:
../../binutils-gdb/intl/plural-exp.h:102:23: error: conflicting types for 'libintl_gettextparse'
 # define PLURAL_PARSE libintl_gettextparse
                       ^
../../binutils-gdb/intl/plural.y:40:25: note: in expansion of macro 'PLURAL_PARSE'
 # define __gettextparse PLURAL_PARSE
                         ^
plural.c:184:5: note: in expansion of macro '__gettextparse'
 int __gettextparse (void);
     ^
../../binutils-gdb/intl/plural-exp.h:102:23: note: previous declaration of 'libintl_gettextparse' was here
 # define PLURAL_PARSE libintl_gettextparse
                       ^
../../binutils-gdb/intl/plural-exp.h:114:12: note: in expansion of macro 'PLURAL_PARSE'
 extern int PLURAL_PARSE PARAMS ((void *arg));
            ^
../../binutils-gdb/intl/plural-exp.h:102:23: error: conflicting types for 'libintl_gettextparse'
 # define PLURAL_PARSE libintl_gettextparse
                       ^
../../binutils-gdb/intl/plural.y:40:25: note: in expansion of macro 'PLURAL_PARSE'
 # define __gettextparse PLURAL_PARSE
                         ^
plural.c:63:25: note: in expansion of macro '__gettextparse'
 #define yyparse         __gettextparse
                         ^
plural.c:1129:1: note: in expansion of macro 'yyparse'
 yyparse (void)
 ^
../../binutils-gdb/intl/plural-exp.h:102:23: note: previous declaration of 'libintl_gettextparse' was here
 # define PLURAL_PARSE libintl_gettextparse
                       ^
../../binutils-gdb/intl/plural-exp.h:114:12: note: in expansion of macro 'PLURAL_PARSE'
 extern int PLURAL_PARSE PARAMS ((void *arg));
            ^
plural.c: In function 'libintl_gettextparse':
plural.c:64:25: error: too few arguments to function '__gettextlex'
 #define yylex           __gettextlex
                         ^
plural.c:1298:16: note: in expansion of macro 'yylex'
       yychar = yylex (&yylval);
                ^
plural.c:64:25: note: declared here
 #define yylex           __gettextlex
                         ^
../../binutils-gdb/intl/plural.y:69:12: note: in expansion of macro 'yylex'
 static int yylex PARAMS ((YYSTYPE *lval, const char **pexp));
            ^
../../binutils-gdb/intl/plural.y:178:29: error: 'arg' undeclared (first use in this function)
      ((struct parse_args *) arg)->res = $1;
                             ^
../../binutils-gdb/intl/plural.y:178:29: note: each undeclared identifier is reported only once for each function it appears in
Makefile:133: recipe for target 'plural.o' failed
gmake[2]: *** [plural.o] Error 1
gmake[2]: Leaving directory '/data/motusgdb/gdbosci/netbsd-x86_64/build/intl'
Makefile:5629: recipe for target 'all-intl' failed
gmake[1]: *** [all-intl] Error 2
gmake[1]: Leaving directory '/data/motusgdb/gdbosci/netbsd-x86_64/build'
Makefile:850: recipe for target 'all' failed
gmake: *** [all] Error 2
program finished with exit code 2
elapsedTime=39.952989
==============================================


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

end of thread, other threads:[~2019-07-09 16:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-24 11:08 [binutils-gdb] PR24704, Internal error building skiboot for powerpc64-linux-gnu gdb-buildbot
2019-06-24 11:08 ` Failures on Fedora-i686, branch master gdb-buildbot
2019-06-24 11:53 ` Failures on Fedora-x86_64-cc-with-index, " gdb-buildbot
2019-06-24 11:57 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " gdb-buildbot
2019-06-24 16:35 ` Failures on Fedora-x86_64-m64, " gdb-buildbot
2019-06-24 16:47 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " gdb-buildbot
2019-06-24 16:51 ` Failures on Fedora-x86_64-native-gdbserver-m64, " gdb-buildbot
2019-07-09 16:59 ` *** COMPILATION FAILED *** Failures on NetBSD-x86_64-m64, branch master *** BREAKAGE *** gdb-buildbot

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).