Re: 9.99.99 build failure

2022-09-14 Thread RVP

On Wed, 14 Sep 2022, Chavdar Ivanov wrote:

I did, and got (third time in a row, after a clean cvs update, 'make 
cleandir', removed destdir and obj, thw followng:

...
# grep error: ../sysbuild/log/sysbuild4cron.20220914153020.log | wc -l
106
...

:1: error: invalid preprocessing directive #X 
:2: error: invalid preprocessing directive #See 
:8: error: invalid preprocessing directive #in 
collect2: fatal error: ld terminated with signal 13 [Broken pipe] 



OK, now this is a pre-processor error. Given that a) no changes have been
made to these sources (gcc, llvm, ...), b) the official builds are all OK
and c) your compiles are crashong all over the place, I suspect a local
HW issue.

Try running either memtest86 or memtest86+ for a day or so, but, note
that as the Sig11 FAQ explains, a memory test alone might not stress the
system enough to provoke whatever's (CPU/RAM overheating, usually) causing
your programs to die with a SEGV.

https://www.memtest86.com/
https://memtest.org/

-RVP


Re: 9.99.99 build failure

2022-09-14 Thread Chavdar Ivanov




On 14 September 2022 09:07:21 (+01:00), RVP wrote:

> On Wed, 14 Sep 2022, Chavdar Ivanov wrote:
>
> > 
/home/sysbuild/src/external/apache2/llvm/librt/libLLVMOrc/../../lib/../dist/llvm/lib/ExecutionEngine/Orc/LLJIT.cpp 
-o LLJIT.pico
> > 
/home/sysbuild/src/external/apache2/llvm/librt/libLLVMOrc/../../lib/../dist/llvm/lib/ExecutionEngine/Orc/LLJIT.cpp:551:3: 
internal compiler error: Segmentation fault

> > 551 | }
> > | ^
> >
>
> Might not be an actual compiler error. Try restarting the build, if it
> carries on, see the Sig11 FAQ[1].
>
I did, and got (third time in a row, after a clean cvs update, 'make 
cleandir', removed destdir and obj, thw followng:

...
# grep error: ../sysbuild/log/sysbuild4cron.20220914153020.log | wc -l
 106
...

:1: error: invalid preprocessing directive #X
   
  :2: error: invalid preprocessing directive #See   
   
 :8: error: invalid 
preprocessing directive #in 

collect2: fatal error: ld terminated with signal 13 [Broken pipe]   
   
  /home/sysbuild/amd64/tools/bin/x86_64--netbsd-ld: 
bootia32.efi.so.tmp: error: PHDR segment not covered by LOAD segment
/home/sysbuild/amd64/tools/bin/x86_64--netbsd-ld: bootx64.efi.so.tmp: 
error: PHDR segment not covered by LOAD segment
:1: error: macro names must be identifiers
   
  
:2: error: macro names must be identifiers
   
  
:3: error: macro names must be identifiers 
...

:25: error: macro names must be identifiers
/home/sysbuild/src/sys/arch/amd64/amd64/machdep.c:388:44: error: invalid 
use of undefined type 'struct bootspace'
/home/sysbuild/src/sys/arch/amd64/amd64/machdep.c:389:15: error: invalid 
use of undefined type 'struct bootspace'
/home/sysbuild/src/sys/arch/amd64/amd64/machdep.c:486:2: error: implicit 
declaration of function 'xen_set_ldt' 
[-Werror=implicit-function-declaration]
/home/sysbuild/src/sys/arch/amd64/amd64/machdep.c:542:15: error: implicit 
declaration of function 'pmap_pdirpa' 
[-Werror=implicit-function-declaration]
/home/sysbuild/src/sys/arch/amd64/amd64/machdep.c:1103:20: error: 
'PDPpaddr' undeclared (first use in this function)
/home/sysbuild/src/sys/arch/amd64/amd64/machdep.c:1122:1: error: no 
previous prototype for 'reserve_dumppages' [-Werror=missing-prototypes]
/home/sysbuild/src/sys/arch/amd64/amd64/machdep.c:1403:2: error: implicit 
declaration of function 'pmap_changeprot_local' 
[-Werror=implicit-function-declaration]
/home/sysbuild/src/sys/arch/amd64/amd64/machdep.c:1539:30: error: invalid 
application of 'sizeof' to incomplete type 'struct bootspace'
/home/sysbuild/src/sys/arch/amd64/amd64/machdep.c:1541:11: error: invalid 
use of undefined type 'struct bootspace'  

/home/sysbuild/src/sys/arch/amd64/amd64/machdep.c:2197:33: error: 
'BTSEG_RODATA' undeclared (first use in this function)
/home/sysbuild/src/sys/arch/amd64/amd64/machdep.c:2205:17: error: invalid 
use of undefined type 'struct bootspace'
/home/sysbuild/src/sys/arch/amd64/amd64/machdep.c:2206:27: error: invalid 
use of undefined type 'struct bootspace'
/home/sysbuild/src/sys/arch/amd64/amd64/machdep.c:2212:20: error: invalid 
use of undefined type 'struct bootspace'
/home/sysbuild/src/sys/arch/amd64/amd64/machdep.c:2212:45: error: invalid 
use of undefined type 'struct bootspace'


(all in machdep.c in the last section). 

I'll repeat after moving away /etc/mk.conf in case something interferes. 


> -RVP
>
> [1]: https://www.bitwizard.nl/sig11/
>


Chavdar 


--
Sent with Vivaldi Mail. Download Vivaldi for free at vivaldi.com


Re: 9.99.99 build failure

2022-09-14 Thread RVP

On Wed, 14 Sep 2022, Chavdar Ivanov wrote:

/home/sysbuild/src/external/apache2/llvm/librt/libLLVMOrc/../../lib/../dist/llvm/lib/ExecutionEngine/Orc/LLJIT.cpp 
-o LLJIT.pico
/home/sysbuild/src/external/apache2/llvm/librt/libLLVMOrc/../../lib/../dist/llvm/lib/ExecutionEngine/Orc/LLJIT.cpp:551:3: 
internal compiler error: Segmentation fault

 551 |   }
 |   ^



Might not be an actual compiler error. Try restarting the build, if it
carries on, see the Sig11 FAQ[1].

-RVP

[1]: https://www.bitwizard.nl/sig11/


9.99.99 build failure

2022-09-14 Thread Chavdar Ivanov
Hi, 
Anybody seen this:

...
#   compile  libLLVMOrc/LLJIT.pico
/home/sysbuild/amd64/tools/bin/x86_64--netbsd-c++ -frandom-seed=f8e69fdd 
-O2 -Werror -Wno-error=init-list-lifetime -fPIE  -std=c++14 -fno-rtti 
-fno-exceptions  -fno-strict-aliasing  -ffunction-sections -fdata-sections  
--sysroot=/home/sysbuild/amd64/destdir -I. 
-I/home/sysbuild/src/external/apache2/llvm/librt/libLLVMOrc/../../lib/../dist/clang/include 
-I/home/sysbuild/src/external/apache2/llvm/librt/libLLVMOrc/../../lib/../dist/llvm/include 
-I/home/sysbuild/amd64/obj/home/sysbuild/src/external/apache2/llvm/include 
-I/home/sysbuild/src/external/apache2/llvm/librt/libLLVMOrc/../../lib/../config  
-I/home/sysbuild/src/external/apache2/llvm/librt/libLLVMOrc/../../lib/../config  
-c-fPIC   
/home/sysbuild/src/external/apache2/llvm/librt/libLLVMOrc/../../lib/../dist/llvm/lib/ExecutionEngine/Orc/LLJIT.cpp 
-o LLJIT.pico
/home/sysbuild/src/external/apache2/llvm/librt/libLLVMOrc/../../lib/../dist/llvm/lib/ExecutionEngine/Orc/LLJIT.cpp:551:3: 
internal compiler error: Segmentation fault

  551 |   }
  |   ^
Please submit a full bug report,
with preprocessed source if appropriate.
See  for instructions.
*** Failed target: LLJIT.pico
*** Failed commands:
${_MKTARGET_COMPILE}
=> @echo '#  ' "compile " libLLVMOrc/LLJIT.pico
${COMPILE.cc} ${COPTS.${.IMPSRC:T}} ${CPUFLAGS.${.IMPSRC:T}} 
${CPPFLAGS.${.IMPSRC:T}} ${CSHLIBFLAGS} ${.IMPSRC} -o ${.TARGET}
=> /home/sysbuild/amd64/tools/bin/x86_64--netbsd-c++ 
-frandom-seed=f8e69fdd -O2 -Werror -Wno-error=init-list-lifetime -fPIE  
-std=c++14 -fno-rtti -fno-exceptions  -fno-strict-aliasing  
-ffunction-sections -fdata-sections   
--sysroot=/home/sysbuild/amd64/destdir -I. 
-I/home/sysbuild/src/external/apache2/llvm/librt/libLLVMOrc/../../lib/../dist/clang/include 
-I/home/sysbuild/src/external/apache2/llvm/librt/libLLVMOrc/../../lib/../dist/llvm/include 
-I/home/sysbuild/amd64/obj/home/sysbuild/src/external/apache2/llvm/include 
-I/home/sysbuild/src/external/apache2/llvm/librt/libLLVMOrc/../../lib/../config  
-I/home/sysbuild/src/external/apache2/llvm/librt/libLLVMOrc/../../lib/../config  
-c-fPIC   
/home/sysbuild/src/external/apache2/llvm/librt/libLLVMOrc/../../lib/../dist/llvm/lib/ExecutionEngine/Orc/LLJIT.cpp 
-o LLJIT.pico${OBJCOPY} ${OBJCOPYLIBFLAGS} ${.TARGET}


*** Failed target:  dependall-../external/apache2/llvm/librt
...


--
Sent with Vivaldi Mail. Download Vivaldi for free at vivaldi.com