Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 May 2017 14:15:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        vbox@FreeBSD.org
Subject:   [Bug 219035] devel/kBuild failed to build
Message-ID:  <bug-219035-26505-bWuv3i6AeH@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-219035-26505@https.bugs.freebsd.org/bugzilla/>
References:  <bug-219035-26505@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219035

vvd@unislabs.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vvd@unislabs.com

--- Comment #4 from vvd@unislabs.com ---
It was discussed a month ago in #bsdports@EFNet IRC.

I had the same with=20
# grep =3DRELRO /var/db/ports/devel_binutils/options
OPTIONS_FILE_SET+=3DRELRO

After I changed it to OPTIONS_FILE_UNSET+=3DRELRO and recompile devel/binut=
ils -
devel/kBuild builded without errors.

A bit more info:
#include <ctype.h>
int main ()
{
   islower('a');
   return 0;
}

$ gcc -o test test.c
$ ./test
Segmentation fault

Quote from irc log:
<jilles> VVD, there is a commit to libexec/rtld-elf from early this year wi=
th
message "For the main binary, postpone enforcing relro read-only protection
until copy relocations are done."
<jilles> svn r311984 in head and MFCed to stable/11 and stable/10
<VVD> jilles, do I need recompile binutils with OPTIONS_FILE_UNSET+=3DRELRO=
 ?
<jilles> VVD, that's a possible workaround
<VVD> will try
<VVD> jilles, yes, it fixed: binutils with OPTIONS_FILE_UNSET+=3DRELRO

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219035-26505-bWuv3i6AeH>