Summary: | sys-libs/libxcrypt: checking whether we are cross compiling... configure: error: in `/var/tmp/portage/sys-libs/libxcrypt-4.4.25/work/libxcrypt-4.4.25-xcrypt_compat-abi_x86_64.amd64': | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | HougeLangley <hougelangley1987> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | andres.becerra, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
emerge -pqv build.log config.log emerge --info kernel config gzipped |
Description
HougeLangley
2021-11-05 12:14:13 UTC
Created attachment 748731 [details]
emerge --info
Created attachment 748734 [details]
emerge -pqv
Please attach the build.log (which contains additional information) and /var/tmp/portage/sys-libs/libxcrypt-4.4.25/work/libxcrypt-4.4.25-xcrypt_compat-abi_x86_64.amd64/config.log. I have the same problem that HougeLangley. How I got into it? Trying to merge firefox, that pulls sys-libs/compiler-rt-sanitizers, that pulls sys-libs/libxcrypt-4.4.27 with ABI_X86="32". It seems that the ABI_X86="32" causes the error in configure. Uploading attachments is failing for me. build.log: https://pastebin.com/5CLBND98 config.log: https://pastebin.com/JT0aef69 it seems the following piece of config.log(lines 91-104) has the cause: configure:3914: x86_64-pc-linux-gnu-gcc -m32 -V >&5 x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option '-V' x86_64-pc-linux-gnu-gcc: fatal error: no input files compilation terminated. configure:3925: $? = 1 configure:3914: x86_64-pc-linux-gnu-gcc -m32 -qversion >&5 x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'? x86_64-pc-linux-gnu-gcc: fatal error: no input files compilation terminated. configure:3925: $? = 1 configure:3914: x86_64-pc-linux-gnu-gcc -m32 -version >&5 x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option '-version' x86_64-pc-linux-gnu-gcc: fatal error: no input files compilation terminated. (In reply to Andrés Becerra Sandoval from comment #5) > Uploading attachments is failing for me. > > build.log: https://pastebin.com/5CLBND98 > config.log: https://pastebin.com/JT0aef69 Make sure your browser has permission to access them then try again. Move into homedir and chown for example. Also please include emerge --info. Created attachment 765671 [details]
build.log
Created attachment 765672 [details]
config.log
Created attachment 765673 [details]
emerge --info
(In reply to Andrés Becerra Sandoval from comment #9) > Created attachment 765672 [details] > config.log configure:4100: $? = 0 configure:4107: ./conftest /var/tmp/portage/sys-libs/libxcrypt-4.4.27/work/libxcrypt-4.4.27/configure: line 4109: ./conftest: cannot execute binary file: Exec format error configure:4111: $? = 126 Does your kernel not support 32-bit binaries or similar...? I am not sure, I've just started installing Gentoo on past friday and this is the first and only package that asks for ABI_X86="32". My profile is: [8] default/linux/amd64/17.1/desktop/plasma (stable) * And I started installing from: stage3-amd64-desktop-openrc-20220214T095322Z.tar.xz A small test to discard that my box can not compile 32 Bit programs: abecerra@EBI-ABe ~/bug $ cat conftest.c #include <stdio.h> int main(int argc, char **argv){ return 0; } abecerra@EBI-ABe ~/bug $ x86_64-pc-linux-gnu-gcc -m32 -o conftest -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c abecerra@EBI-ABe ~/bug $ file conftest conftest: ELF 32-bit LSB pie executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 3.2.0, not stripped (In reply to Andrés Becerra Sandoval from comment #12) > I am not sure, I've just started installing Gentoo on past friday and this > is the first and only package that asks for ABI_X86="32". > > > My profile is: > [8] default/linux/amd64/17.1/desktop/plasma (stable) * > > > And I started installing from: > stage3-amd64-desktop-openrc-20220214T095322Z.tar.xz Can you upload your kernel config? Created attachment 765687 [details]
kernel config gzipped
kernel config uploaded
I have not CONFIG_X86_X32 active in the kernel, I will test activating it (In reply to Andrés Becerra Sandoval from comment #16) > I have not CONFIG_X86_X32 active in the kernel, I will test activating it You *don't* need this, X32 is something weird. What you _do_ need is CONFIG_IA32_EMULATION. Tested with CONFIG_IA32_EMULATION active and it merged. Thank you Sam for all the patience! (In reply to Andrés Becerra Sandoval from comment #18) > Tested with CONFIG_IA32_EMULATION active and it merged. > > Thank you Sam for all the patience! No problem at all! Glad you're sorted! |