NetBSD Problem Report #54816

From htodd@mara.i8u.org  Wed Jan  1 02:03:39 2020
Return-Path: <htodd@mara.i8u.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id AC9177A149
	for <gnats-bugs@gnats.NetBSD.org>; Wed,  1 Jan 2020 02:03:39 +0000 (UTC)
Message-Id: <20200101020336.DD7F1279DDB@mara.i8u.org>
Date: Tue, 31 Dec 2019 18:03:36 -0800 (PST)
From: htodd@twofifty.com
Reply-To: htodd@twofifty.com
To: gnats-bugs@NetBSD.org
Subject: i386-current doesn't cross-build on amd64 with USE_XZ_SETS=yes
X-Send-Pr-Version: 3.95

>Number:         54816
>Category:       port-i386
>Synopsis:       i386-current doesn't cross-build on amd64 with USE_XZ_SETS=yes
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 01 02:05:00 +0000 2020
>Originator:     Hisashi Todd Fujinaka
>Release:        NetBSD 9.99.30
>Organization:
None
>Environment:


System: NetBSD mara.i8u.org 9.99.30 NetBSD 9.99.30 (MARA) #3589: Wed Dec 25 08:18:39 PST 2019 htodd@mara.i8u.org:/var/shm/obj/amd64/sys/arch/amd64/compile/MARA amd64
Architecture: x86_64
Machine: amd64
>Description:
Building with:
/usr/src/build.sh -O /var/shm/obj/i386 -T /var/shm/obj/tools.i386 -U -u -m i386 -j$JOBS tools release iso-image && \

Yields:
#      link  ramdisk-cgdroot/ramdiskbin
/var/shm/obj/tools.i386/bin/i486--netbsdelf-gcc   --sysroot=/var/shm/obj/i386/destdir.i386 -Wl,-Map,ramdiskbin.map,--cref  -Wl,--warn-shared-textrel -Wl,-z,relro   -static  -o ramdiskbin  ramdiskbin.o  -Wl,-rpath-link,/var/shm/obj/i386/destdir.i386/lib  -L=/lib chio.cro dd.cro df.cro ed.cro mt.cro rcmd.cro sync.cro lfs_cleanerd.cro dkctl.cro fdisk.cro mbrlabel.cro mount_ext2fs.cro mount_lfs.cro mount_ntfs.cro newfs_lfs.cro raidctl.cro restore.cro scsictl.cro shutdown.cro slattach.cro sysctl.cro less.cro tip.cro installboot.cro wiconfig.cro cat.cro chmod.cro cp.cro ln.cro ls.cro mkdir.cro mv.cro pax.cro pwd.cro rm.cro sh.cro stty.cro chown.cro disklabel.cro dmesg.cro fsck.cro fsck_ffs.cro gpt.cro ifconfig.cro init.cro mknod.cro mount.cro mount_cd9660.cro mount_ffs.cro mount_msdos.cro mount_nfs.cro mount_tmpfs.cro newfs.cro newfs_ext2fs.cro ping.cro reboot.cro route.cro swapctl.cro umount.cro ftp.cro gzip.cro sed.cro chroot.cro cgdconfig.cro wsconsctl.cro ping6.cro  libhack.o -ledit -l
 util -lcurses -lterminfo -lrmt -lcrypt -ll -lm -lz -lprop -lcrypto
/var/shm/obj/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: gzip.cro: in function `unxz':
gzip.c:(.text+0x6d6): undefined reference to `lzma_stream_decoder'
/var/shm/obj/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: gzip.c:(.text+0x704): undefined reference to `lzma_code'
/var/shm/obj/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: gzip.c:(.text+0x7a1): undefined reference to `lzma_code'
/var/shm/obj/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: gzip.c:(.text+0x88e): undefined reference to `lzma_end'
/var/shm/obj/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: gzip.cro: in function `_crunched_gzip_stub':
(.text.startup+0x5b9): undefined reference to `lzma_stream_footer_decode'
/var/shm/obj/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: (.text.startup+0x614): undefined reference to `lzma_index_decoder'
/var/shm/obj/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: (.text.startup+0x691): undefined reference to `lzma_code'
/var/shm/obj/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: (.text.startup+0x6da): undefined reference to `lzma_index_total_size'
/var/shm/obj/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: (.text.startup+0x722): undefined reference to `lzma_stream_header_decode'
/var/shm/obj/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: (.text.startup+0x739): undefined reference to `lzma_stream_flags_compare'
/var/shm/obj/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: (.text.startup+0x74f): undefined reference to `lzma_index_stream_flags'
/var/shm/obj/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: (.text.startup+0x770): undefined reference to `lzma_index_stream_padding'
/var/shm/obj/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: (.text.startup+0x7d8): undefined reference to `lzma_index_cat'
/var/shm/obj/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: (.text.startup+0x7ed): undefined reference to `lzma_end'
/var/shm/obj/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: (.text.startup+0x7f8): undefined reference to `lzma_index_uncompressed_size'
/var/shm/obj/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: (.text.startup+0x80e): undefined reference to `lzma_index_end'
/var/shm/obj/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: (.text.startup+0x81f): undefined reference to `lzma_end'
/var/shm/obj/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: (.text.startup+0x82c): undefined reference to `lzma_index_end'
/var/shm/obj/tools.i386/lib/gcc/i486--netbsdelf/8.3.0/../../../../i486--netbsdelf/bin/ld: (.text.startup+0x839): undefined reference to `lzma_index_end'
collect2: error: ld returned 1 exit status
*** [ramdiskbin] Error code 1
nbmake[7]: stopped in /var/shm/obj/i386/distrib/i386/ramdisks/ramdisk-cgdroot
1 error
nbmake[7]: stopped in /var/shm/obj/i386/distrib/i386/ramdisks/ramdisk-cgdroot
*** [ramdiskbin.strip] Error code 2
nbmake[6]: stopped in /var/shm/obj/i386/distrib/i386/ramdisks/ramdisk-cgdroot
1 error
nbmake[6]: stopped in /var/shm/obj/i386/distrib/i386/ramdisks/ramdisk-cgdroot
*** [ramdiskbin] Error code 2
nbmake[5]: stopped in /usr/src/distrib/i386/ramdisks/ramdisk-cgdroot
1 error
nbmake[5]: stopped in /usr/src/distrib/i386/ramdisks/ramdisk-cgdroot
*** [all-ramdisk-cgdroot] Error code 2
nbmake[4]: stopped in /usr/src/distrib/i386/ramdisks
--- all-ramdisk-big ---
--- sysinst_make ---
A failure has been detected in another branch of the parallel make
nbmake[7]: stopped in /var/shm/obj/i386/distrib/i386/ramdisks/ramdisk-big/sysinst
*** [sysinst_make] Error code 2
nbmake[6]: stopped in /var/shm/obj/i386/distrib/i386/ramdisks/ramdisk-big
1 error
nbmake[6]: stopped in /var/shm/obj/i386/distrib/i386/ramdisks/ramdisk-big
*** [ramdiskbin] Error code 2
nbmake[5]: stopped in /usr/src/distrib/i386/ramdisks/ramdisk-big
1 error
nbmake[5]: stopped in /usr/src/distrib/i386/ramdisks/ramdisk-big
*** [all-ramdisk-big] Error code 2
nbmake[4]: stopped in /usr/src/distrib/i386/ramdisks
2 errors
nbmake[4]: stopped in /usr/src/distrib/i386/ramdisks
*** [all-ramdisks] Error code 2
nbmake[3]: stopped in /usr/src/distrib/i386
1 error
nbmake[3]: stopped in /usr/src/distrib/i386
*** [all-i386] Error code 2
nbmake[2]: stopped in /usr/src/distrib
1 error
nbmake[2]: stopped in /usr/src/distrib
*** [snap_post] Error code 2
nbmake[1]: stopped in /usr/src/etc
1 error
nbmake[1]: stopped in /usr/src/etc
*** [release] Error code 2

nbmake: stopped in /usr/src
1 error

nbmake: stopped in /usr/src

ERROR: Failed to make release

>How-To-Repeat:
see above	
>Fix:
Yes please.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.45 2018/12/21 14:23:33 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.