Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Issues with native build of -10 on VAX



I haven't been able to do a native build in over 10 years...

  Johnny

On 2023-11-06 14:58, Hans Rosenfeld wrote:
Hi,

has anyone already succeeded in doing a native build of -10 on the VAX?

I'm stuck at the tools build, with gcc failing in a way that I don't
really understand:

/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/sancov.c: In instantiation of 'const pass_data {anonymous}::pass_sancov<false>::data':
/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/sancov.c:307:55:   required from '{anonymous}::pass_sancov<O0>::pass_sancov(gcc::context*) [with bool O0 = false]'
/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/sancov.c:345:38:   required from here
/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/sancov.c:328:17: error: 'constinit' variable '{anonymous}::pass_sancov<false>::data' does not have a constant initializer
   328 | const pass_data pass_sancov<O0>::data = {
       |                 ^~~~~~~~~~~~~~~
/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/sancov.c: In instantiation of 'const pass_data {anonymous}::pass_sancov<true>::data':
/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/sancov.c:307:55:   required from '{anonymous}::pass_sancov<O0>::pass_sancov(gcc::context*) [with bool O0 = true]'
/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/sancov.c:351:37:   required from here
/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/sancov.c:328:17: error: 'constinit' variable '{anonymous}::pass_sancov<true>::data' does not have a constant initializer

The code in question looks sane, and so does the preprocessor
output. The same code built correctly when cross-built on amd64 (on
illumos, though).

I assume this has once worked on -current? Perhaps there something got
inadvertently broken in the pullups to -10?


Thanks,
Hans



--
Johnny Billquist                  || "I'm on a bus
                                  ||  on a psychedelic trip
email: bqt%softjar.se@localhost             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol


Home | Main Index | Thread Index | Old Index