Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 729600 - app-text/xmlstarlet fails to compile with profile 17.1
Summary: app-text/xmlstarlet fails to compile with profile 17.1
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sebastian Pipping
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: LD-is-lld
  Show dependency tree
 
Reported: 2020-06-25 11:48 UTC by Agostino Sarubbo
Modified: 2020-08-03 11:35 UTC (History)
0 users

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


Attachments
build.log (build.log,23.02 KB, text/plain)
2020-06-25 11:48 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-06-25 11:48:46 UTC
@@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

NOTE:
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.
Comment 1 Agostino Sarubbo gentoo-dev 2020-06-25 11:48:51 UTC
Created attachment 646306 [details]
build.log

build log and emerge --info
Comment 2 Sebastian Pipping gentoo-dev 2020-06-27 16:54:13 UTC
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?
Comment 3 Agostino Sarubbo gentoo-dev 2020-08-03 09:09:26 UTC
this is because of -L/usr/lib in the link command line
Comment 4 Sebastian Pipping gentoo-dev 2020-08-03 11:35:59 UTC
(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.