@@This is an auto-filed bug@@
Feel free to change the summary at your convenience.
Issue: app-text/xmlstarlet fails to compile.
Discovered on: amd64
This machine uses a clang/LLVM toolchain.
If you think that this issue is strictly related to clang/LLVM please mention it in the summary and block bug 408963. If you need further logs, feel free to ask.
Created attachment 646306 [details]
build log and emerge --info
I tried to reproduce the issue but it alls works for me. I did:
# CC=x86_64-pc-linux-gnu-clang-10 CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" \
LDFLAGS="-Wl,-O1 -Wl,--as-needed -fuse-ld=lld -Wl,--defsym=__gentoo_check_ldflags__=0" \
ebuild xmlstarlet-1.6.1.ebuild manifest clean install
Error "is incompatible with elf_x86_64" does not look like xmlstarlet's fault to me. What do you think?
this is because of -L/usr/lib in the link command line
(In reply to Agostino Sarubbo from comment #3)
> this is because of -L/usr/lib in the link command line
So it's due to profile 17.1 (rather than 17.0) if I am not mistaken.