Your message dated Mon, 4 May 2026 10:37:18 +0200
with message-id <[email protected]>
and subject line Re: binutils-mips64el-linux-gnuabi64: segfault while cross 
building gcc-8
has caused the Debian Bug report #925870,
regarding binutils-mips64el-linux-gnuabi64: segfault while cross building gcc-8
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
925870: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=925870
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: binutils-mips64el-linux-gnuabi64
Version: 2.31.1-16
User: [email protected]
Usertags: rebootstrap

cross building gcc-8 from amd64 to mips64el fails.

http://crossqa.debian.net/build/gcc-8_8.3.0-4_mips64el_20190326224556.log
| configure:3470: mips64el-linux-gnuabi64-gcc-8  -mabi=32 -o conftest -g -O2 
-minterlink-mips16  -Wl,-z,relro conftest.c  >&5
| collect2: fatal error: ld terminated with signal 11 [Segmentation fault]
| compilation terminated.
| 
/usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/../../../../mips64el-linux-gnuabi64/bin/ld:
 /usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/crtbeginS.o: ABI is incompatible 
with that of the selected emulation
| 
/usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/../../../../mips64el-linux-gnuabi64/bin/ld:
 failed to merge target specific data of file 
/usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/crtbeginS.o
| 
/usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/../../../../mips64el-linux-gnuabi64/bin/ld:
 /usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/crtendS.o: ABI is incompatible 
with that of the selected emulation
| 
/usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/../../../../mips64el-linux-gnuabi64/bin/ld:
 failed to merge target specific data of file 
/usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/crtendS.o
| 
/usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/../../../../mips64el-linux-gnuabi64/bin/ld:
 /usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/crtbeginS.o: in function 
`deregister_tm_clones':
| crtstuff.c:(.text+0xc): relocation truncated to fit: R_MIPS_GOT_PAGE against 
`.tm_clone_table'
| 
/usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/../../../../mips64el-linux-gnuabi64/bin/ld:
 crtstuff.c:(.text+0x10): relocation truncated to fit: R_MIPS_GOT_DISP against 
`__TMC_END__'
| 
/usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/../../../../mips64el-linux-gnuabi64/bin/ld:
 crtstuff.c:(.text+0x14): relocation truncated to fit: R_MIPS_GOT_OFST against 
`.tm_clone_table'
| 
/usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/../../../../mips64el-linux-gnuabi64/bin/ld:
 /usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/crtbeginS.o: in function 
`register_tm_clones':
| crtstuff.c:(.text+0x44): relocation truncated to fit: R_MIPS_GOT_PAGE against 
`.tm_clone_table'
| 
/usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/../../../../mips64el-linux-gnuabi64/bin/ld:
 crtstuff.c:(.text+0x48): relocation truncated to fit: R_MIPS_GOT_DISP against 
`__TMC_END__'
| 
/usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/../../../../mips64el-linux-gnuabi64/bin/ld:
 crtstuff.c:(.text+0x4c): relocation truncated to fit: R_MIPS_GOT_OFST against 
`.tm_clone_table'
| 
/usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/../../../../mips64el-linux-gnuabi64/bin/ld:
 /usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/crtbeginS.o: in function 
`__do_global_dtors_aux':
| crtstuff.c:(.text+0xa0): relocation truncated to fit: R_MIPS_GOT_PAGE against 
`.bss'
| 
/usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/../../../../mips64el-linux-gnuabi64/bin/ld:
 crtstuff.c:(.text+0xa8): relocation truncated to fit: R_MIPS_GOT_OFST against 
`.bss'
| configure:3473: $? = 1

As we can see, ld segfaults. It is unclear to me why it segfaults, but
the segfault seems to be reliable for mips64el, but cannot be reproduced
for e.g. arm64.

Helmut

--- End Message ---
--- Begin Message ---
On Wed, Mar 27, 2019 at 08:58:01PM +0100, Helmut Grohne wrote:
> Package: binutils-mips64el-linux-gnuabi64
> Version: 2.31.1-16
> User: [email protected]
> Usertags: rebootstrap
> 
> cross building gcc-8 from amd64 to mips64el fails.
> 
> http://crossqa.debian.net/build/gcc-8_8.3.0-4_mips64el_20190326224556.log
> | configure:3470: mips64el-linux-gnuabi64-gcc-8  -mabi=32 -o conftest -g -O2 
> -minterlink-mips16  -Wl,-z,relro conftest.c  >&5
> | collect2: fatal error: ld terminated with signal 11 [Segmentation fault]
> | compilation terminated.
> | 
> /usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/../../../../mips64el-linux-gnuabi64/bin/ld:
>  /usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/crtbeginS.o: ABI is 
> incompatible with that of the selected emulation
> | 
> /usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/../../../../mips64el-linux-gnuabi64/bin/ld:
>  failed to merge target specific data of file 
> /usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/crtbeginS.o
> | 
> /usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/../../../../mips64el-linux-gnuabi64/bin/ld:
>  /usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/crtendS.o: ABI is incompatible 
> with that of the selected emulation
> | 
> /usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/../../../../mips64el-linux-gnuabi64/bin/ld:
>  failed to merge target specific data of file 
> /usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/crtendS.o
> | 
> /usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/../../../../mips64el-linux-gnuabi64/bin/ld:
>  /usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/crtbeginS.o: in function 
> `deregister_tm_clones':
> | crtstuff.c:(.text+0xc): relocation truncated to fit: R_MIPS_GOT_PAGE 
> against `.tm_clone_table'
> | 
> /usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/../../../../mips64el-linux-gnuabi64/bin/ld:
>  crtstuff.c:(.text+0x10): relocation truncated to fit: R_MIPS_GOT_DISP 
> against `__TMC_END__'
> | 
> /usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/../../../../mips64el-linux-gnuabi64/bin/ld:
>  crtstuff.c:(.text+0x14): relocation truncated to fit: R_MIPS_GOT_OFST 
> against `.tm_clone_table'
> | 
> /usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/../../../../mips64el-linux-gnuabi64/bin/ld:
>  /usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/crtbeginS.o: in function 
> `register_tm_clones':
> | crtstuff.c:(.text+0x44): relocation truncated to fit: R_MIPS_GOT_PAGE 
> against `.tm_clone_table'
> | 
> /usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/../../../../mips64el-linux-gnuabi64/bin/ld:
>  crtstuff.c:(.text+0x48): relocation truncated to fit: R_MIPS_GOT_DISP 
> against `__TMC_END__'
> | 
> /usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/../../../../mips64el-linux-gnuabi64/bin/ld:
>  crtstuff.c:(.text+0x4c): relocation truncated to fit: R_MIPS_GOT_OFST 
> against `.tm_clone_table'
> | 
> /usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/../../../../mips64el-linux-gnuabi64/bin/ld:
>  /usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/crtbeginS.o: in function 
> `__do_global_dtors_aux':
> | crtstuff.c:(.text+0xa0): relocation truncated to fit: R_MIPS_GOT_PAGE 
> against `.bss'
> | 
> /usr/lib/gcc-cross/mips64el-linux-gnuabi64/8/../../../../mips64el-linux-gnuabi64/bin/ld:
>  crtstuff.c:(.text+0xa8): relocation truncated to fit: R_MIPS_GOT_OFST 
> against `.bss'
> | configure:3473: $? = 1
> 
> As we can see, ld segfaults. It is unclear to me why it segfaults, but
> the segfault seems to be reliable for mips64el, but cannot be reproduced
> for e.g. arm64.

We agreed that this bug is no longer relevant as mipsen are being more
and more removed from the archive.

It also doesn't look like it is reproducible. The most recent gcc-11
build for mips64el
http://crossqa.debian.net/build/gcc-11_11.5.0-2_mips64el_20250201152032.log
fails building M2. That's https://gcc.gnu.org/PR92336 (unrelated to this
bug).

Helmut

--- End Message ---

Reply via email to