Summary: | sys-apps/sandbox-2.6-r1: fails to compile x86 multilib: ./conftest: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Sandbox Maintainers <sandbox> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build log
config.log |
Description
Agostino Sarubbo
2015-07-14 13:12:20 UTC
Created attachment 406786 [details]
build log
Created attachment 406788 [details]
config.log
looks like your kernel is missing required functionality configure:3695: clang -m32 -o conftest -O2 -pipe -g3 -fno-stack-protector -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,-z,lazy conftest.c >&5 configure:3699: $? = 0 configure:3706: ./conftest ../sandbox-2.6//configure: line 3708: ./conftest: No such file or directory What is missing? Before add asan it build fine and the kernel was the same. (In reply to Agostino Sarubbo from comment #4) then clang multilib is probably broken/incomplete in your setup you can check this yourself with a small program: $ echo 'main(){puts("HI");}' > test.c $ clang -m32 -o test test.c $ ./test that's all the configure code is doing Clang works for me: asan ~ # echo 'main(){puts("HI");}' > test.c asan ~ # clang -m32 -o test test.c test.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(){puts("HI");} ^ test.c:1:8: warning: implicit declaration of function 'puts' is invalid in C99 [-Wimplicit-function-declaration] main(){puts("HI");} ^ 2 warnings generated. asan ~ # ./test HI asan ~ # |