| Summary: | dev-util/rr-5.0.0 is broken on no-multilib profile | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Alexander Sergeyev <sergeev917> |
| Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | jaak, lu_zero, mudler, quentin |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
build.log
patch to conditionally disable x32 rr-5.2.0-no-multilib-ebuild.patch emerge --info |
||
Created attachment 502922 [details, diff]
patch to conditionally disable x32
A simple patch which adds a use flag which proxies disable32bit cmake option.
Created attachment 575326 [details, diff]
rr-5.2.0-no-multilib-ebuild.patch
Still affected by this bug as of rr-5.2.0. :-(
Here is another patch, for rr-5.2.0.ebuild, that uses the multilib-build eclass instead of adding a new USE flag.
Pretty please fix this?
Can you attach `emerge --info` output for completeness? Created attachment 575550 [details]
emerge --info
Thank you! Reproduced locally as well: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/libgcc.a when searching for -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/libgcc_s.so.1 when searching for libgcc_s.so.1 /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find libgcc_s.so.1 /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/libgcc.a when searching for -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgcc collect2: ошибка: выполнение ld завершилось с кодом возврата 1 CMake Error at CMakeLists.txt:97 (message): Your toolchain doesn't support 32-bit cross-compilation. Install the required packages or pass -Ddisable32bit=ON to cmake. Looking at the details. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=711700db3988f31876e62f67fe2a5d6db0614d7c commit 711700db3988f31876e62f67fe2a5d6db0614d7c Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2019-05-09 22:25:54 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2019-05-09 22:26:17 +0000 dev-util/rr: ass IUSE=multilib, bug #636786 rr has a support to replay both 32-bit and 64-bit binaries on amd64. For that it probes toolchain with -m32 support. On non-multilib profiles -m32 does not work as we don't have 32-bit glibc anf libgcc. Guard the autodetection behing USE=multilib. Reported-by: Alexander Sergeyev Reported-by: Quentin Minster Closes: https://bugs.gentoo.org/636786 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> dev-util/rr/rr-5.2.0-r1.ebuild | 60 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) |
Created attachment 502920 [details] build.log Profile: default/linux/amd64/13.0/no-multilib The build fails with: CMake Error at CMakeLists.txt:94 (message): Your toolchain doesn't support 32-bit cross-compilation. Install the required packages or pass -Ddisable32bit=ON to cmake. The full build log is attached.