Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] cifs-utils: unconditionally disable PIE
Date: Mon, 28 May 2018 16:29:51 +0200	[thread overview]
Message-ID: <87efhvx38g.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20180507202034.28715-1-thomas.petazzoni@bootlin.com> (Thomas Petazzoni's message of "Mon, 7 May 2018 22:20:34 +0200")

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@bootlin.com> writes:

 > PIE support in Buildroot should be enabled via the global option
 > BR2_RELRO_FULL option, and not done on a per-package basis, therefore
 > PIE should unconditionally be disabled in the cifs-utils package.

 > This has the added side-effect that it works around a binutils bug on
 > SPARC causing the linker to segfault when PIE is enabled:

 > sparc-linux-gcc -Wall -Wextra -D_FORTIFY_SOURCE=2 -fpie -pie -Wl,-z,relro,-z,now -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os    -o mount.cifs mount.cifs.o mtab.o resolve_host.o util.o  -lcap-ng
 > collect2: fatal error: ld terminated with signal 6 [Aborted], core dumped

 > This issue will reappear when we start testing BR2_RELRO_FULL in the
 > autobuilders, but in the mean time it avoids the problem.

 > Fixes:

 >   http://autobuild.buildroot.net/results/a5342890f39bdccae1324e7d3dbe0eab1aad28e5/

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>

Committed to 2018.02.x, thanks.

-- 
Bye, Peter Korsgaard

      parent reply	other threads:[~2018-05-28 14:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-07 20:20 [Buildroot] [PATCH] cifs-utils: unconditionally disable PIE Thomas Petazzoni
2018-05-13 20:28 ` Thomas Petazzoni
2018-05-28 14:29 ` Peter Korsgaard [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87efhvx38g.fsf@dell.be.48ers.dk \
    --to=peter@korsgaard.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox