From: Maxime Devos <maximedevos@telenet.be>
To: 48913@debbugs.gnu.org
Subject: bug#48913: i686-linux-gnu cross-compiler cannot find libgcc_s [core-updates]
Date: Tue, 08 Jun 2021 16:23:22 +0200 [thread overview]
Message-ID: <3eab25f1bb94305603a494a240c30e00b228576a.camel@telenet.be> (raw)
In-Reply-To: <87233e500b6fbde614181369dfdb4535b3471c4d.camel@telenet.be>
[-- Attachment #1: Type: text/plain, Size: 1295 bytes --]
Some digging.
Currently, there exists a gcc-7-cross-toolexeclibdir.patch.
It is applied to gcc 6 and gcc 7 but not gcc 8.
Looking at 'cross-gcc' in 'gnu/packages/cross-base.scm',
we have
(patches
(append
(origin-patches (package-source xgcc))
(append (cond
((version>=? (package-version xgcc) "8.0")
(search-patches "gcc-8-cross-environment-variables.patch"))
((version>=? (package-version xgcc) "6.0")
(search-patches "gcc-7-cross-toolexeclibdir.patch"
"gcc-6-cross-environment-variables.patch"))
(else
(search-patches "gcc-cross-environment-variables.patch")))
(cross-gcc-patches xgcc target))))
The patches for gcc-8+ were introduced in 83b0a7f41bccb7b46f1d443e80a22c61a3ff92bc.
Seems like we forgot to include gcc-7-cross-toolexeclibdir.patch!
I tried to add this patch, but the patch doesn't apply to the gcc 8 code,
so I guess I'll have to port it to gcc 8.
So I cloned the git repository of GCC, and it appears toolexeclibdir is currently
in GCC 8! But perhaps a mistake has been made somewhere ... to be investigated.
(Now looking at libgcc/configure.ac)
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
next prev parent reply other threads:[~2021-06-08 14:24 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-08 8:41 bug#48913: i686-linux-gnu cross-compiler cannot find libgcc_s [core-updates] Maxime Devos
2021-06-08 14:23 ` Maxime Devos [this message]
2021-06-08 15:25 ` Maxime Devos
2021-06-18 9:33 ` Ludovic Courtès
2021-06-19 7:37 ` Maxime Devos
2021-06-19 10:05 ` bug#49113: aarch64-linux-gnu cross-compiler fails to build [core-updates] Maxime Devos
2021-06-20 12:17 ` Maxime Devos
2021-07-03 16:12 ` Ludovic Courtès
2021-07-04 20:33 ` Ludovic Courtès
2021-06-19 11:05 ` bug#48913: i686-linux-gnu cross-compiler cannot find libgcc_s [core-updates] Maxime Devos
2021-06-19 11:59 ` Maxime Devos
2021-06-18 9:32 ` Ludovic Courtès
2021-07-03 13:40 ` Maxime Devos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3eab25f1bb94305603a494a240c30e00b228576a.camel@telenet.be \
--to=maximedevos@telenet.be \
--cc=48913@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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).