pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: pkgsrc
On 10/05/20 10:47 pm, Rhialto wrote:
>>> gcc 7 had the same problem. Earlier versions has patches to fix this,
>>> but these were not present in gcc 7. It sounds like they are missing in
>>> version 8 too.
>>>
>>> The relevant patches are
>>>
>>> patch-gcc_config.host
>>> patch-gcc_config_host-netbsd.c
>>> patch-gcc_config_x-netbsd
>>>
>>> and indeed the first two are missing in lang/gcc8/patches. Simply adding
>>> them and rebuilding should fix the issue (unless the patches need some
>>> kind of update).
>>
>> I'm test-building now. It will be a while, but if it looks successful,
>> shall I commit? I hope to include the distinfo file this time :)
>
> It seems to work. This is my test case (essentially the same as I used
> for gcc7). Run one or more times with "sh cc.cc".
Good. I haven't had a chance to test it yet.
In the interim I've just worked around it in boost-libs with this patch
diff -u -r1.81 Makefile
--- Makefile 6 May 2020 13:33:53 -0000 1.81
+++ Makefile 7 May 2020 21:46:44 -0000
@@ -18,7 +18,7 @@
((${MACHINE_ARCH} == "i386") || \
(!empty(MACHINE_ARCH:Mearm*) && !empty(PKGSRC_COMPILER:Mgcc)))) || \
(!empty(MACHINE_PLATFORM:MNetBSD-8.*-x86_64) && \
- !empty(CC_VERSION:Mgcc-7.*))
+ (!empty(CC_VERSION:Mgcc-7.*) || !empty(CC_VERSION:Mgcc-8.*)))
BJAM_ARGS+= pch=off
.endif
cheers
mark
Home |
Main Index |
Thread Index |
Old Index