pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: gcc10 with Ada support added to wip
Am Sun, 07 Nov 2021 00:06:50 +0100 (CET)
schrieb "Havard Eidnes" <he%NetBSD.org@localhost>:
> >> I look fordward to your gcc10-aux report. I keep testing gcc10-aux
> >> in -current and I have very good news and also discovered an
> >> issue.
> >
> > On NetBSD/amd64 9.99.88, I'm getting a build success, ... nearly:
> > => Checking for RELRO in gcc10-aux-10.3.0nb1
> > ERROR:
> > gcc10-aux/lib/gcc/x86_64--netbsd/10.3.0/adalib/libgnarl-10.so:
> > missing RELRO ERROR:
> > gcc10-aux/lib/gcc/x86_64--netbsd/10.3.0/adalib/libgnat-10.so:
> > missing RELRO *** Error code 1
>
> Installs with
>
> diff --git a/gcc10-aux/Makefile b/gcc10-aux/Makefile
> index 88cc2dc1ea..4b122d83d1 100644
> --- a/gcc10-aux/Makefile
> +++ b/gcc10-aux/Makefile
> @@ -24,6 +24,8 @@ EXTRACT_ONLY= ${DEFAULT_DISTFILES}
> # Relocations result in a linker error on AArch64, but not x86.
> MKPIE_SUPPORTED= no
>
> +RELRO_SUPPORTED= no
> +
> NOT_FOR_PLATFORM= Interix-*-*
>
> USE_TOOLS+= gmake makeinfo sed:run tar:build
>
> Regards,
>
> - Håvard
Thank you for your report.
What pkgsrc are you using? (current, release (which one)).
And If you update the system to 9.99.92, does it still fail?
From what I have read, RELRO is relatively new (initial support dates a
few years ago), but it seems that it has already cause a few issues
here and there already [1]. I would suspect that it has been fixed in
newer versions of pkgsrc (current) and NetBSD.
Do you have any modified option in your mk.conf [2]?
References:
[1] http://mail-index.netbsd.org/pkgsrc-users/2021/10/01/msg034511.html
[2] https://www.netbsd.org/docs/pkgsrc/hardening.html
Regards,
Fer
Home |
Main Index |
Thread Index |
Old Index