Port-vax archive

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

Issues with native build of -10 on VAX



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


-- 
%SYSTEM-F-ANARCHISM, The operating system has been overthrown


Home | Main Index | Thread Index | Old Index