[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/27100] final link failed: bad value
From: |
amodra at gmail dot com |
Subject: |
[Bug ld/27100] final link failed: bad value |
Date: |
Wed, 23 Dec 2020 03:28:02 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=27100
Alan Modra <amodra at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2020-12-23
Target|elf64ppc |powerpc64le-linux,
| |x86_64-linux, aarch64-linux
Target Milestone|--- |2.36
Ever confirmed|0 |1
Assignee|unassigned at sourceware dot org |amodra at gmail dot com
Status|UNCONFIRMED |ASSIGNED
Version|2.35 |2.36 (HEAD)
--- Comment #2 from Alan Modra <amodra at gmail dot com> ---
This is a generic linker problem, triggered by the presence of two or more
output sections of the same name containing LONG() or other data.
cat > pr27100.lnk <<\EOF
SECTIONS { .rodata : { __crc_system_state = .; LONG(0x015af7f4); } }
SECTIONS { .rodata : { __crc_static_key_initialized = .; LONG(0xbea5ff1e); } }
EOF
cat > pr27100.s <<\EOF
.section ".rodata","a",%progbits
.space 50
EOF
gas/as-new -o pr27100.o pr27100.s
ld/ld-new -r -o pr27100 pr27100.o -T pr27100.lnk
Looks to be a regression from 2.35
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/27100] New: final link failed: bad value, cameron.macpherson at gmail dot com, 2020/12/20
- [Bug ld/27100] final link failed: bad value, cameron.macpherson at gmail dot com, 2020/12/20
- [Bug ld/27100] final link failed: bad value, cameron.macpherson at gmail dot com, 2020/12/20
- [Bug ld/27100] final link failed: bad value,
amodra at gmail dot com <=
- [Bug ld/27100] final link failed: bad value, amodra at gmail dot com, 2020/12/22
- [Bug ld/27100] final link failed: bad value, cvs-commit at gcc dot gnu.org, 2020/12/24
- [Bug ld/27100] final link failed: bad value, amodra at gmail dot com, 2020/12/24
- [Bug ld/27100] final link failed: bad value, glaubitz at physik dot fu-berlin.de, 2020/12/27
- [Bug ld/27100] final link failed: bad value, cameron.macpherson at gmail dot com, 2020/12/27