Re: Host CPUTYPE?=bdver2 unable to build release target for CPUTYPE?=slm

From: Alastair Hogge <agh_at_fastmail.fm>
Date: Mon, 30 Oct 2017 15:43:32 +0800
On Mon, 30 Oct 2017-10-30 15:38:02 Alastair Hogge wrote:
> On Fri, 27 Oct 2017-10-27 12:59:30 Alastair Hogge wrote:
> > Hi,
> > 
> > I am attempting to build a release ${SRC}/release/release.sh -c
> 
> > ${custom_release.conf}, however, the build fails with:
> Updated log from a host r325110:
> 
> [...]
> --- installconfig_subdir_usr.bin/vtfontcvt ---
> [29/2032]
> ===> usr.bin/vtfontcvt (installconfig)
> --- installconfig_subdir_usr.bin/usbhidaction ---
> ===> usr.bin/usbhidaction (installconfig)
> --- installconfig_subdir_usr.bin/usbhidctl ---
> ===> usr.bin/usbhidctl (installconfig)
> --- installconfig_subdir_usr.bin/last ---
> ===> usr.bin/last (installconfig)
> --- installconfig_subdir_usr.bin/users ---
> ===> usr.bin/users (installconfig)
> --- installconfig_subdir_usr.bin/who ---
> ===> usr.bin/who (installconfig)
> --- installconfig_subdir_usr.bin/vi ---
> --- installconfig_subdir_usr.bin/vi/catalog ---
> ===> usr.bin/vi/catalog (installconfig)
> ELF ldconfig path: /lib /usr/lib /usr/lib/compat
> 32-bit compatibility ldconfig path:
> make: "/usr/src/Makefile" line 335: warning: "LC_ALL=C date" exited on a
> signal --- buildworld ---
> make[1]: "/usr/src/Makefile.inc1" line 162: SYSTEM_COMPILER: Determined that
> CC=cc matches the source tree.  Not bootstrapping a cross-compiler.
> make[2]: "/usr/src/release/Makefile.ec2" line 9: warning: "date +-%Y-%m-%d"
> exited on a signal
> make[2]: "/usr/src/release/Makefile.azure" line 20: warning: "date
> +-%Y-%m-%d" exited on a signal
> make[2]: "/usr/src/release/Makefile.gce" line 22: warning: "date +-%Y-%m-%d"
> exited on a signal
> make[2]: "/usr/src/release/Makefile.vagrant" line 32: warning: "date
> +-%Y%m%d" exited on a signal
> make[2]: "/usr/src/release/Makefile.vagrant" line 35: warning: "date
> +%Y.%m.%d" exited on a signal
> make[2]: "/usr/src/release/Makefile.ec2" line 9: warning: "date +-%Y-%m-%d"
> exited on a signal
> make[2]: "/usr/src/release/Makefile.azure" line 20: warning: "date
> +-%Y-%m-%d" exited on a signal
> make[2]: "/usr/src/release/Makefile.gce" line 22: warning: "date +-%Y-%m-%d"
> exited on a signal
> make[2]: "/usr/src/release/Makefile.vagrant" line 32: warning: "date
> +-%Y%m%d" exited on a signal
> make[2]: "/usr/src/release/Makefile.vagrant" line 35: warning: "date
> +%Y.%m.%d" exited on a signal
> --- buildworld_prologue ---
> --------------------------------------------------------------
> 
> >>> World build started on
> 
> --------------------------------------------------------------
> --- _worldtmp ---
> 
> --------------------------------------------------------------
> 
> >>> Rebuilding the temporary build tree
> 
> --------------------------------------------------------------
> rm -rf /usr/obj/usr/src/tmp
> mkdir -p /usr/obj/usr/src/tmp/lib
> mkdir -p /usr/obj/usr/src/tmp/lib/casper
> mkdir -p /usr/obj/usr/src/tmp/usr
> mkdir -p /usr/obj/usr/src/tmp/legacy/bin
> mkdir -p /usr/obj/usr/src/tmp/legacy/usr
> mtree -deU -f /usr/src/etc/mtree/BSD.usr.dist  -p
> /usr/obj/usr/src/tmp/legacy/usr >/dev/null
> Illegal instruction (core dumped)
> *** [_worldtmp] Error code 132
> 
> make[1]: stopped in /usr/src
> 1 error
> 
> make[1]: stopped in /usr/src
> *** [buildworld] Error code 2
> 
> make: stopped in /usr/src
> 1 error
> 
> make: stopped in /usr/src
> 
> # cd /scratch/fafnir/usr/obj/usr/src/tmp/legacy/
> # gdb
> GNU gdb (GDB) 7.12.1 [GDB v7.12.1 for FreeBSD]
> Copyright (C) 2017 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html> This is free software: you are free to
> change and redistribute it. There is NO WARRANTY, to the extent permitted
> by law.  Type "show copying" and "show warranty" for details.
> This GDB was configured as "x86_64-portbld-freebsd12.0".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
> Find the GDB manual and other documentation resources online at:
> <http://www.gnu.org/software/gdb/documentation/>.
> For help, type "help".
> Type "apropos word" to search for commands related to "word".
> (gdb) core mtree.core
> [New LWP 101468]
> warning: Unexpected size of section `.reg-xstate/101468' in core file.
> Core was generated by `mtree -deU -f /usr/src/etc/mtree/BSD.usr.dist -p
> /usr/obj/usr/src/tmp/legacy/usr'.
> Program terminated with signal SIGILL, Illegal instruction.
> warning: Unexpected size of section `.reg-xstate/101468' in core file.
> #0  0x0000000800d8e6de in ?? ()
> (gdb) bt
> #0  0x0000000800d8e6de in ?? ()
> #1  0x00007fffffffdf50 in ?? ()
> #2  0x0000000800d9009d in ?? ()
> #3  0x00007fffffffe1e0 in ?? ()
> #4  0x0000000100c69028 in ?? ()
> #5  0x0000000000000001 in ?? ()
> #6  0x0000000800667014 in ?? ()
> #7  0x0000000000000400 in ?? ()
> #8  0x00000008006a1000 in ?? ()
> #9  0x00000000e57f4b95 in ?? ()
> #10 0x00007fffffffe1ec in ?? ()
> #11 0xffffffff0068d000 in ?? ()
> #12 0x0000000801021fb0 in ?? ()
> #13 0x00007fffffffdee0 in ?? ()
> #14 0x0000000800db56ae in ?? ()
> #15 0x00007fffffffdee0 in ?? ()
> #16 0x0000000801022160 in ?? ()
> #17 0x000000080065ffc7 in ?? ()
> #18 0x0000000000000034 in ?? ()
> #19 0x00007fffffffdef0 in ?? ()
> #20 0x0000000000000005 in ?? ()
> #21 0x0000000800de15c2 in ?? ()
> #22 0x0000000800de159e in ?? ()
> #23 0x00007fffffffdf50 in ?? ()
> #24 0x0000000800da7a58 in ?? ()
> #25 0x0000000100000042 in ?? ()
> #26 0x00007fffffffe088 in ?? ()
> #27 0x0000000800696078 in ?? ()
> #28 0x0000000000000018 in ?? ()
> #29 0x00007fffffffdf50 in ?? ()
> #30 0x000000080065c078 in ?? ()
> #31 0x228f7f06e57f4b95 in ?? ()
> #32 0x0000000800d8fcc0 in ?? ()
> #33 0x000000080068c280 in ?? ()
> #34 0x0000000000000000 in ?? ()
> 
> $ cat /usr/local/etc/fafnir-make.conf

ALWAYS_CHECK_MAKE=      YES                                                                                                                                                                                                           
CPUTYPE?=               slm
DEBUG_FLAGS=            -g
DEFAULT_VERSIONS=       bdb=5 linux=c7_64 ssl=openssl
KERNCONF=               FAFNIR
MALLOC_PRODUCTION=
MODULES_OVERRIDE=       vmm
WITH_PKG=               devel
WITH_SSP_PORTS=

# cd /scratch/fafnir/usr/src
# gdb              
GNU gdb (GDB) 7.12.1 [GDB v7.12.1 for FreeBSD]           
Copyright (C) 2017 Free Software Foundation, Inc.        
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>                                      
This is free software: you are free to change and redistribute it.                                                 
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"                                         
and "show warranty" for details.                         
This GDB was configured as "x86_64-portbld-freebsd12.0". 
Type "show configuration" for configuration details.     
For bug reporting instructions, please see:              
<http://www.gnu.org/software/gdb/bugs/>.                 
Find the GDB manual and other documentation resources online at:                                                   
<http://www.gnu.org/software/gdb/documentation/>.        
For help, type "help".                                   
Type "apropos word" to search for commands related to "word".                                                      
(gdb) core date.core                                     
[New LWP 100185]                                         
warning: Unexpected size of section `.reg-xstate/100185' in core file.                                             
Core was generated by `date'.                            
Program terminated with signal SIGILL, Illegal instruction.                                                        
warning: Unexpected size of section `.reg-xstate/100185' in core file.                                             
#0  0x000000080097860e in ?? ()                          
(gdb) bt                                                 
#0  0x000000080097860e in ?? ()                          
#1  0x0000000000000000 in ?? ()                          
(gdb) quit

# cd /scratch/fafnir/usr/src/release
# gdb                                                                                                                                                                                   
GNU gdb (GDB) 7.12.1 [GDB v7.12.1 for FreeBSD]                                                                                                                                                                                        
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-portbld-freebsd12.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(gdb) core date.core                                                                                                                                                                                                                  
[New LWP 100193]                                                                                                                                                                                                                      
warning: Unexpected size of section `.reg-xstate/100193' in core file.                                                                                                                                                                
Core was generated by `date +%Y.%m.%d'.                                                                                                                                                                                               
Program terminated with signal SIGILL, Illegal instruction.                                                                                                                                                                           
warning: Unexpected size of section `.reg-xstate/100193' in core file.
#0  0x000000080097860e in ?? ()                                                                                                                                                                                                       
(gdb) bt                                                                                                                                                                                                                              
#0  0x000000080097860e in ?? ()                                                                                                                                                                                                       
#1  0x0000000000000000 in ?? ()
(gdb) quit

Received on Mon Oct 30 2017 - 06:43:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:13 UTC