[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/32580] [2.44 regression] Non-bash shell breaks many default link
From: |
ro at CeBiTec dot Uni-Bielefeld.DE |
Subject: |
[Bug ld/32580] [2.44 regression] Non-bash shell breaks many default linker scripts |
Date: |
Tue, 21 Jan 2025 15:26:04 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=32580
--- Comment #1 from Rainer Orth <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> I'm still trying to figure out what exactly caused this. So far I've found
> that the the problem started with
>
> commit fe217087a4b8aa214a221ca9f033c5fcdbcee90e
> Author: Nick Clifton <nickc@redhat.com>
> Date: Wed Nov 27 11:23:38 2024 +0000
>
> Tidy up the default ELF linker script
>
> One thing I noticed is that in two places (emit_noinit, emit_persistent)
> the cat <<EOF construct has trailing whitespace. However, this doesn't seem
> to be the problem.
Found it, though I don't understand why this is a problem: by bisecting
the contents of emit_data, which emits the missing script snippet
starting from /* Exception handling. */, I found that the call to
align_to_default_symbol_alignment at the end of the function causes the
problem.
Either inlining it here (ugly) or (better) moving it to the caller fixes
the problem. I see that this has already been done for the second call
to align_to_default_symbol_alignment in the body of elf.sc, without an
explanation for the difference.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/32580] New: [2.44 regression] Non-bash shell breaks many default linker scripts, ro at gcc dot gnu.org, 2025/01/21
- [Bug ld/32580] [2.44 regression] Non-bash shell breaks many default linker scripts, ro at gcc dot gnu.org, 2025/01/21
- [Bug ld/32580] [2.44 regression] Non-bash shell breaks many default linker scripts,
ro at CeBiTec dot Uni-Bielefeld.DE <=
- [Bug ld/32580] [2.44 regression] Non-bash shell breaks many default linker scripts, ro at gcc dot gnu.org, 2025/01/21
- [Bug ld/32580] [2.44 regression] Non-bash shell breaks many default linker scripts, sam at gentoo dot org, 2025/01/21
- [Bug ld/32580] [2.44 regression] Non-bash shell breaks many default linker scripts, nickc at redhat dot com, 2025/01/22
- [Bug ld/32580] [2.44 regression] Non-bash shell breaks many default linker scripts, sam at gentoo dot org, 2025/01/22
- [Bug ld/32580] [2.44 regression] Non-bash shell breaks many default linker scripts, sam at gentoo dot org, 2025/01/22
- [Bug ld/32580] [2.44 regression] Non-bash shell breaks many default linker scripts, sam at gentoo dot org, 2025/01/22
- [Bug ld/32580] [2.44 regression] Non-bash shell breaks many default linker scripts, cvs-commit at gcc dot gnu.org, 2025/01/22
- [Bug ld/32580] [2.44 regression] Non-bash shell breaks many default linker scripts, cvs-commit at gcc dot gnu.org, 2025/01/22
- [Bug ld/32580] [2.44 regression] Non-bash shell breaks many default linker scripts, amodra at gmail dot com, 2025/01/22
- [Bug ld/32580] [2.44 regression] Non-bash shell breaks many default linker scripts, address@hidden, 2025/01/23