Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912849 - =cross_llvm-aarch64-unknown-linux-gnu/glibc-2.37-r3 not merged due to file collisions
Summary: =cross_llvm-aarch64-unknown-linux-gnu/glibc-2.37-r3 not merged due to file co...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-23 05:59 UTC by tt_1
Modified: 2023-08-31 01:34 UTC (History)
2 users (show)

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


Attachments
compressed build log (cross_llvm-aarch64-unknown-linux-gnu-glibc-headers.log.xz,293.39 KB, application/x-xz)
2023-08-23 05:59 UTC, tt_1
Details
output from emerge --info (emerge-info,5.64 KB, text/plain)
2023-08-23 06:00 UTC, tt_1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tt_1 2023-08-23 05:59:53 UTC
Created attachment 868507 [details]
compressed build log

the target on rpi3 shows: 

llvm-config --host-target
aarch64-unknown-linux-gnu

so I unmasked and installed crossdev-99999999 , executed as:

crossdev -S -L aarch64-unknown-linux-gnu --ov-output /var/db/repos/local/

 * Using LLVM/Clang as cross compiler, experimental!
 * crossdev version:      bc2c2acbc92f2119db9633fd186978265eed8f03
 * Host Portage ARCH:     amd64
 * Host Portage System:   x86_64-pc-linux-gnu (i686-pc-linux-gnu x86_64-pc-linux-gnu)
 * Target Portage ARCH:   arm64
 * Target System:         aarch64-unknown-linux-gnu
 * Stage:                 4 (C/C++ compiler)
 * USE=multilib:          no
 * Target ABIs:           arm64

 * compiler-rt:           compiler-rt-[latest]
 * headers:               linux-headers-[stable]
 * libc:                  glibc-[stable]

 * CROSSDEV_OVERLAY:      /var/db/repos/local/
 * PORT_LOGDIR:           /var/log/portage
 * PORTAGE_CONFIGROOT:    /
 * Portage flags:         
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _ 
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _ 
 * Log: /var/log/portage/cross_llvm-aarch64-unknown-linux-gnu-clang-crossdev-wrappers.log
 * Emerging cross_llvm-clang-crossdev-wrappers ...                                                                                                                                [ ok ]
 * Log: /var/log/portage/cross_llvm-aarch64-unknown-linux-gnu-linux-headers-quick.log
 * Emerging cross_llvm-linux-headers-quick ...                                                                                                                                    [ ok ]
 * Log: /var/log/portage/cross_llvm-aarch64-unknown-linux-gnu-glibc-headers.log
 * Emerging cross_llvm-glibc-headers ...

 * error: glibc failed :(
 * 
 * If you file a bug, please attach the following logfiles:
 * /var/log/portage/cross_llvm-aarch64-unknown-linux-gnu-info.log
 * /var/log/portage/cross_llvm-aarch64-unknown-linux-gnu-glibc-headers.log.xz
 * /var/tmp/portage/cross_llvm-aarch64-unknown-linux-gnu/glibc*/temp/glibc-config.logs.tar.xz

full build log is attached
Comment 1 tt_1 2023-08-23 06:00:44 UTC
Created attachment 868508 [details]
output from emerge --info
Comment 2 Alfred Persson 2023-08-23 12:37:20 UTC
It is currently not possible to build glibc with LLVM, so the ebuild is not updated to check for LLVM Crossdev (cross_llvm-*). Should probably add a check to avoid this, will also go into the documentation.
Comment 3 tt_1 2023-08-23 12:41:01 UTC
which libc should be used then? musl doesn't work either. 

can you maybe give me the correct triple for aarch64? will test and report back
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-08-23 12:45:52 UTC
musl should work - please file that as a new bug.
Comment 5 Larry the Git Cow gentoo-dev 2023-08-31 01:34:45 UTC
The bug has been closed via the following commit(s):

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

commit ac3e1265008b02455c9714b356d36fbbff2c019f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-08-31 01:34:13 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-08-31 01:34:39 +0000

    sys-devel/crossdev: add 20230831
    
    Bug: https://bugs.gentoo.org/680652
    Closes: https://bugs.gentoo.org/912849
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-devel/crossdev/Manifest                 |  1 +
 sys-devel/crossdev/crossdev-20230831.ebuild | 40 +++++++++++++++++++++++++++++
 sys-devel/crossdev/crossdev-99999999.ebuild |  3 +--
 3 files changed, 42 insertions(+), 2 deletions(-)