Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829679 - dev-libs/xalan-c-1.11.0_pre1153059 fails to link with LLD because of /usr/lib in the link command line
Summary: dev-libs/xalan-c-1.11.0_pre1153059 fails to link with LLD because of /usr/lib...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: LD-is-lld, systemwide-lld
  Show dependency tree
 
Reported: 2021-12-19 22:17 UTC by Agostino Sarubbo
Modified: 2022-11-24 08:26 UTC (History)
0 users

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


Attachments
build.log (build.log,55.22 KB, text/plain)
2021-12-19 22:17 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 2021-12-19 22:17:20 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/xalan-c-1.11.0_pre1153059 fails to link with LLD because of /usr/lib in the link command line.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses clang as a compiler and lld as a linker
This PR gives an idea about a fix: https://github.com/PhotoFlare/photoflare/pull/248/files.
Comment 1 Agostino Sarubbo gentoo-dev 2021-12-19 22:17:22 UTC
Created attachment 759843 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-12-19 22:17:24 UTC
Error(s) that match a know pattern:

ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../lib64/crt1.o is incompatible with elf32-i386
Comment 3 Larry the Git Cow gentoo-dev 2022-11-24 07:48:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=945b8139c893494e5ae445cc201e0118abe631b9

commit 945b8139c893494e5ae445cc201e0118abe631b9
Author:     Viorel Munteanu <ceamac@gentoo.org>
AuthorDate: 2022-11-20 16:16:25 +0000
Commit:     Viorel Munteanu <ceamac@gentoo.org>
CommitDate: 2022-11-24 07:46:24 +0000

    dev-libs/xalan-c: add 1.12
    
    Closes: https://bugs.gentoo.org/734190
    Closes: https://bugs.gentoo.org/829679
    Closes: https://bugs.gentoo.org/867649
    Closes: https://bugs.gentoo.org/831315
    Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>

 dev-libs/xalan-c/Manifest            |  2 ++
 dev-libs/xalan-c/metadata.xml        |  8 ++++-
 dev-libs/xalan-c/xalan-c-1.12.ebuild | 59 ++++++++++++++++++++++++++++++++++++
 dev-libs/xalan-c/xalan-c-9999.ebuild | 59 ++++++++++++++++++++++++++++++++++++
 4 files changed, 127 insertions(+), 1 deletion(-)