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:38:02 +0800
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

Thanks
-- 
The Worst Jury
	A murder trial at Manitoba in February 1978 was well advanced, when
one juror revealed that he was completely deaf and did not have the
remotest clue what was happening.
	The judge, Mr. Justice Solomon, asked him if he had heard any
evidence at all and, when there was no reply, dismissed him.
	The excitement which this caused was only equalled when a second
juror revealed that he spoke not a word of English.  A fluent French
speaker, he exhibited great surprised when told, after two days, that he
was hearing a murder trial.
	The trial was abandoned when a third juror said that he suffered
from both conditions, being simultaneously unversed in the English language
and nearly as deaf as the first juror.
	The judge ordered a retrial.
		-- Stephen Pile, "The Book of Heroic Failures"

Received on Mon Oct 30 2017 - 06:38:26 UTC

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