[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/24567] Assertion failure in ldlang.c:6868 when compiling with -f
From: |
ohngeonocaewoungooth at xff dot cz |
Subject: |
[Bug ld/24567] Assertion failure in ldlang.c:6868 when compiling with -flto |
Date: |
Thu, 16 May 2019 16:43:45 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=24567
--- Comment #2 from Ondrej <ohngeonocaewoungooth at xff dot cz> ---
It has something to do with -Wl,-start-group. After removing this option from
the gcc command line, the link succeeds. Adding -Wl,-end-group at the end
doesn't help. Adding -Wl,-end-group just after -lssl and before -lcrypto helps.
Re-ordering input objects so that only -lcrypto is outside of the group, makes
the links also succeed. So it's some interaction of -start-group/-end-group and
libcrypto.a on aarch64.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/24567] New: Assertion failure in ldlang.c:6868 when compiling with -flto, ohngeonocaewoungooth at xff dot cz, 2019/05/16
- [Bug ld/24567] Assertion failure in ldlang.c:6868 when compiling with -flto, ohngeonocaewoungooth at xff dot cz, 2019/05/16
- [Bug ld/24567] Assertion failure in ldlang.c:6868 when compiling with -flto,
ohngeonocaewoungooth at xff dot cz <=
- [Bug ld/24567] Assertion failure in ldlang.c:6868 when compiling with -flto, amodra at gmail dot com, 2019/05/16
- [Bug ld/24567] Assertion failure in ldlang.c:6868 when compiling with -flto, amodra at gmail dot com, 2019/05/17
- [Bug ld/24567] Assertion failure in ldlang.c:6868 when compiling with -flto, cvs-commit at gcc dot gnu.org, 2019/05/17
- [Bug ld/24567] Assertion failure in ldlang.c:6868 when compiling with -flto, amodra at gmail dot com, 2019/05/17
- [Bug ld/24567] Assertion failure in ldlang.c:6868 when compiling with -flto, ohngeonocaewoungooth at xff dot cz, 2019/05/17
- [Bug ld/24567] Assertion failure in ldlang.c:6868 when compiling with -flto, cvs-commit at gcc dot gnu.org, 2019/05/17
- [Bug ld/24567] Assertion failure in ldlang.c:6868 when compiling with -flto, ohngeonocaewoungooth at xff dot cz, 2019/05/17
- [Bug ld/24567] Assertion failure in ldlang.c:6868 when compiling with -flto, cvs-commit at gcc dot gnu.org, 2019/05/17