Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 913217 - dev-perl/Net-SSLeay-1.920.0-r1 fails to cross-build for sparc64-gentoo-linux-gnu
Summary: dev-perl/Net-SSLeay-1.920.0-r1 fails to cross-build for sparc64-gentoo-linux-gnu
Status: RESOLVED DUPLICATE of bug 903769
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-29 13:16 UTC by 2857
Modified: 2023-08-29 16:38 UTC (History)
1 user (show)

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


Attachments
emerge --info (host) (emerge--info.host,5.50 KB, text/plain)
2023-08-29 13:26 UTC, 2857
Details
emerge --info (crossdev) (emerge--info.cross,5.23 KB, text/plain)
2023-08-29 13:26 UTC, 2857
Details
emerge --info (chroot) (emerge--info.chroot,5.09 KB, text/plain)
2023-08-29 13:27 UTC, 2857
Details
build.log (cross) (build.log.cross,5.42 KB, text/plain)
2023-08-29 13:27 UTC, 2857
Details
build.log (chroot) (build.log.chroot,29.20 KB, text/plain)
2023-08-29 13:27 UTC, 2857
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 2857 2023-08-29 13:16:01 UTC
dev-perl/Net-SSLeay-1.920.0-r1 fails to cross build for sparc64 due to completely braindead build system. This has been addressed in buildroot [0][1], 
but the issue seems to be deeper.

Wiki and common sense both agree that package which fails to crosscompile should be possible to build in qemu chroot, so I did that. However, this compilation is also not possible due to ICE in GGC.


[0] http://lists.busybox.net/pipermail/buildroot/2014-July/404224.html
[1] https://github.com/buildroot/buildroot/blob/master/package/perl-net-ssleay/0001-fix-build-system.patch

Reproducible: Always

Steps to Reproduce:
1. crossdev -S -t sparc64-gentoo-linux-gnu
2. sparc64-gentoo-linux-gnu-emerge -1av dev-perl/Net-SSLeay
3. chroot into /usr/sparc64-gentoo-linux-gnu, adjust /etc/portage/make.conf to adjust $ROOT generated by crossdev and comment CBUILD. for this step CFLAGS and USE were also adjusted to remove -flto and lto, respectively.
Actual Results:  
package fails to build with crossdev due to build system errors, fails to build with ICE in qemu
Comment 1 2857 2023-08-29 13:26:31 UTC
Created attachment 868993 [details]
emerge --info (host)
Comment 2 2857 2023-08-29 13:26:48 UTC
Created attachment 868994 [details]
emerge --info (crossdev)
Comment 3 2857 2023-08-29 13:27:05 UTC
Created attachment 868995 [details]
emerge --info (chroot)
Comment 4 2857 2023-08-29 13:27:21 UTC
Created attachment 868996 [details]
build.log (cross)
Comment 5 2857 2023-08-29 13:27:37 UTC
Created attachment 868997 [details]
build.log (chroot)
Comment 6 James Le Cuirot gentoo-dev 2023-08-29 16:38:34 UTC

*** This bug has been marked as a duplicate of bug 903769 ***