Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938482 - sys-devel/crossdev: amd64 glibc does not build on arm64
Summary: sys-devel/crossdev: amd64 glibc does not build on arm64
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM64 Linux
: Normal normal
Assignee: Cross compilation support
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-25 06:19 UTC by James Calligeros
Modified: 2025-01-04 03:32 UTC (History)
2 users (show)

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


Attachments
cross-x86_64-unknown-linux-gnu-glibc.log.xz (cross-x86_64-unknown-linux-gnu-glibc.log.xz,8.70 KB, application/x-xz)
2024-08-25 06:19 UTC, James Calligeros
Details
cross-x86_64-unknown-linux-gnu-info.log (cross-x86_64-unknown-linux-gnu-info.log,17.94 KB, text/x-log)
2024-08-25 06:20 UTC, James Calligeros
Details
glibc-config.logs.tar.xz (glibc-config.logs.tar.xz,11.38 KB, application/x-xz)
2024-08-25 06:20 UTC, James Calligeros
Details

Note You need to log in before you can comment on or make changes to this bug.
Description James Calligeros 2024-08-25 06:19:54 UTC
Created attachment 901185 [details]
cross-x86_64-unknown-linux-gnu-glibc.log.xz

Seems to be that it's looking for amd64-specific Linux headers in the host system /usr/include/ which do not exist for arm64.
Comment 1 James Calligeros 2024-08-25 06:20:28 UTC
Created attachment 901186 [details]
cross-x86_64-unknown-linux-gnu-info.log
Comment 2 James Calligeros 2024-08-25 06:20:45 UTC
Created attachment 901187 [details]
glibc-config.logs.tar.xz
Comment 3 Jory A. Pratt gentoo-dev 2025-01-04 03:32:25 UTC
are you able to still duplicate this issue?

--------------------------------------------------------------------------------
 * crossdev version:      @CDEVPV@
 * Host Portage ARCH:     arm64
 * Host Portage System:   aarch64-unknown-linux-gnu (aarch64-unknown-linux-gnu)
 * Target Portage ARCH:   amd64
 * Target System:         x86_64-pc-linux-gnu
 * Stage:                 4 (C/C++ compiler)
 * USE=multilib:          no
 * Target ABIs:           amd64

 * binutils:              binutils-[latest]
 * gcc:                   gcc-[latest]
 * headers:               linux-headers-[latest]
 * libc:                  glibc-[latest]

 * CROSSDEV_OVERLAY:      /var/db/repos/crossdev
 * PORT_LOGDIR:           /var/log/portage
 * PORTAGE_CONFIGROOT:    /
 * Portage flags:         
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  
 * leaving metadata/layout.conf alone in /var/db/repos/crossdev
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  
 * Log: /var/log/portage/cross-x86_64-pc-linux-gnu-binutils.log
 * Emerging cross-binutils ...                                            [ ok ]
 * Log: /var/log/portage/cross-x86_64-pc-linux-gnu-gcc-stage1.log
 * Emerging cross-gcc-stage1 ...                                          [ ok ]
 * Log: /var/log/portage/cross-x86_64-pc-linux-gnu-linux-headers.log
 * Emerging cross-linux-headers ...                                       [ ok ]
 * Log: /var/log/portage/cross-x86_64-pc-linux-gnu-glibc.log
 * Emerging cross-glibc ...                                               [ ok ]
 * Log: /var/log/portage/cross-x86_64-pc-linux-gnu-gcc-stage2.log
 * Emerging cross-gcc-stage2 ...                                          [ ok ]