Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 889202 - dev-libs/libtomcrypt: cross-compiling fails with wrong linker command
Summary: dev-libs/libtomcrypt: cross-compiling fails with wrong linker command
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-31 16:57 UTC by tgyt
Modified: 2024-04-11 01:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
aarch64-unknown-linux-gnu-emerge --info (aarch.txt,6.12 KB, text/plain)
2022-12-31 16:57 UTC, tgyt
Details
aarch64-unknown-linux-gnu-emerge --info (aarch.txt,6.56 KB, text/plain)
2022-12-31 17:01 UTC, tgyt
Details
armv7a-unknown-linux-gnueabihf-emerge --info (armv7.txt,6.12 KB, text/plain)
2022-12-31 17:02 UTC, tgyt
Details
aarch64 build.log (aarch-build.log,763.13 KB, text/plain)
2022-12-31 17:05 UTC, tgyt
Details
armv7 build.log (armv7-build.log,968.38 KB, text/plain)
2022-12-31 17:05 UTC, tgyt
Details
Patch for libtomcrypt ebuild (libtomcrypt-1.18.2-r4.ebuild.patch,1.15 KB, patch)
2023-02-02 21:57 UTC, tgyt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tgyt 2022-12-31 16:57:24 UTC
Created attachment 846216 [details]
aarch64-unknown-linux-gnu-emerge --info

CBUILD="x86_64-pc-linux-gnu"

CHOST="aarch64-unknown-linux-gnu"
CHOST="armv7a-unknown-linux-gnueabihf"

For some reason after linking by targetcc hostcc is called.
Comment 1 tgyt 2022-12-31 16:59:43 UTC
Oops, I named armv7 emerge info as aarch's
Comment 2 tgyt 2022-12-31 17:01:41 UTC
Created attachment 846218 [details]
aarch64-unknown-linux-gnu-emerge --info
Comment 3 tgyt 2022-12-31 17:02:09 UTC
Created attachment 846220 [details]
armv7a-unknown-linux-gnueabihf-emerge --info
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-31 17:05:00 UTC
Please include the full build.log too.
Comment 5 tgyt 2022-12-31 17:05:00 UTC
Created attachment 846222 [details]
aarch64 build.log
Comment 6 tgyt 2022-12-31 17:05:39 UTC
Created attachment 846224 [details]
armv7 build.log
Comment 7 tgyt 2023-01-13 18:17:02 UTC
Upd: hostcc is called at shared library linking instead of targetcc
Comment 8 tgyt 2023-02-02 21:57:25 UTC
Created attachment 849734 [details, diff]
Patch for libtomcrypt ebuild

Same as #376643