Re: HEADS UP: GCC 10 now default on several ports

Johnny Billquist <[email protected]>
Newsgroups gmane.os.netbsd.current,gmane.os.netbsd.ports.alpha,gmane.os.netbsd.ports.x86-64,gmane.os.netbsd.ports.vax,gmane.os.netbsd.ports.sparc,gmane.os.netbsd.ports.sparc64
Message-ID <[email protected]>
On 2021-04-17 10:01, John Paul Adrian Glaubitz wrote:
> On 4/17/21 6:15 AM, matthew green wrote:
>> i've switched the alpha, amd64, sparc*, riscv*, ia64, and vax ports
>> have all been switched to GCC 10.
>>
>> please send-pr or send email here about problems you encounter.
> 
> And please report compiler-specific issues such as miscompiliations to the
> GCC bug tracker such that a broader audience becomes aware of these problems.

Building from NetBSD-8 does not work. Unsure if this is a known limitation.

Basically, the problem is that HAVE_GCC is there set to 8, and in 
bsd.own.mk there is this piece:

.if ${HAVE_GCC} == 9
EXTERNAL_GCC_SUBDIR?=   gcc.old
.elif ${HAVE_GCC} == 10
EXTERNAL_GCC_SUBDIR?=   gcc
.else
EXTERNAL_GCC_SUBDIR?=   /does/not/exist
.endif

Which means EXTERNAL_GCC_SUBDIR gets set to /does/not/exist
and then build.sh borks out with non-existing directory pretty quickly 
when building the tools.

   Johnny

-- 
Johnny Billquist                  || "I'm on a bus
                                   ||  on a psychedelic trip
email: [email protected]             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.