bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/29592] [2.39 Regression][bisected] Exec stack warning causes go


From: nickc at redhat dot com
Subject: [Bug ld/29592] [2.39 Regression][bisected] Exec stack warning causes go programs with cgo to fail to link on mips
Date: Mon, 26 Sep 2022 15:33:05 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=29592

--- Comment #7 from Nick Clifton <nickc at redhat dot com> ---
(In reply to matoro from comment #6)
Hi Matoro,


> Then I compared the scripts with the linker invocations that I got out of
> pgrep and saw that they were different.  The linker is getting invoked
> differently depending on whether the execstack warning is enabled or not.

OK - so does that mean that the bug is inside whatever is constructing the
linker
command line ?

You said that Gentoo is adding --enable-warn-execstack. How does it do this ? 
Could whatever method it is using also be the source of the mis-constructed
linker command line ?


> With --enable-warn-execstack:

I might be missing something here, but I do not actually see
--enable-warn-execstack on the command line that you listed.

> -melf64btsmip -pie -o go-sqlite3.test -s

It looks to me like the -pie option is also added here...

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]