public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug sim/29957] New: or1k custom linker script used in testsuite always triggers LOAD segment with RWX permissions warning
@ 2023-01-03  6:09 vapier at gentoo dot org
  2023-07-30 16:52 ` [Bug sim/29957] " sam at gentoo dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: vapier at gentoo dot org @ 2023-01-03  6:09 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 29957
           Summary: or1k custom linker script used in testsuite always
                    triggers LOAD segment with RWX permissions warning
           Product: gdb
           Version: unknown
            Status: NEW
          Severity: normal
          Priority: P2
         Component: sim
          Assignee: unassigned at sourceware dot org
          Reporter: vapier at gentoo dot org
                CC: nickc at redhat dot com, shorne at gmail dot com, vapier at gentoo dot org
  Target Milestone: ---
            Target: or1k-elf

using the or1k-elf target, sim testsuite fails now due to linker warnings ever
since this change:
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=ba951afb99912da01a6e8434126b8fac7aa75107
Author: Nick Clifton <nickc@redhat.com>
Date:   Tue May 3 11:42:24 2022 +0100
Add a linker warning when creating potentially dangerous executable segments. 
Add tests, options to disabke and configure switches to choose defaults.

to reproduce:
$ or1k-elf-cc -Isim/testsuite/or1k -Wa,-Isim/testsuite/or1k -c -o load.S.o
sim/testsuite/or1k/load.S
$ ./ld/ld-new load.S.o -T sim/testsuite/or1k/or1k-test.ld -o load.S.x
./ld/ld-new: warning: load.S.x has a LOAD segment with RWX permissions

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug sim/29957] or1k custom linker script used in testsuite always triggers LOAD segment with RWX permissions warning
  2023-01-03  6:09 [Bug sim/29957] New: or1k custom linker script used in testsuite always triggers LOAD segment with RWX permissions warning vapier at gentoo dot org
@ 2023-07-30 16:52 ` sam at gentoo dot org
  2023-08-19  7:29 ` shorne at sourceware dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: sam at gentoo dot org @ 2023-07-30 16:52 UTC (permalink / raw)
  To: gdb-prs

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

Sam James <sam at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sam at gentoo dot org

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug sim/29957] or1k custom linker script used in testsuite always triggers LOAD segment with RWX permissions warning
  2023-01-03  6:09 [Bug sim/29957] New: or1k custom linker script used in testsuite always triggers LOAD segment with RWX permissions warning vapier at gentoo dot org
  2023-07-30 16:52 ` [Bug sim/29957] " sam at gentoo dot org
@ 2023-08-19  7:29 ` shorne at sourceware dot org
  2023-08-19 10:03 ` shorne at sourceware dot org
  2023-08-24  7:20 ` shorne at sourceware dot org
  3 siblings, 0 replies; 5+ messages in thread
From: shorne at sourceware dot org @ 2023-08-19  7:29 UTC (permalink / raw)
  To: gdb-prs

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

Stafford Horne <shorne at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at sourceware dot org   |shorne at sourceware dot org
                 CC|                            |shorne at sourceware dot org

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug sim/29957] or1k custom linker script used in testsuite always triggers LOAD segment with RWX permissions warning
  2023-01-03  6:09 [Bug sim/29957] New: or1k custom linker script used in testsuite always triggers LOAD segment with RWX permissions warning vapier at gentoo dot org
  2023-07-30 16:52 ` [Bug sim/29957] " sam at gentoo dot org
  2023-08-19  7:29 ` shorne at sourceware dot org
@ 2023-08-19 10:03 ` shorne at sourceware dot org
  2023-08-24  7:20 ` shorne at sourceware dot org
  3 siblings, 0 replies; 5+ messages in thread
From: shorne at sourceware dot org @ 2023-08-19 10:03 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #1 from Stafford Horne <shorne at sourceware dot org> ---
I have posted a patch for this to the list at:
https://sourceware.org/pipermail/binutils/2023-August/129109.html

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug sim/29957] or1k custom linker script used in testsuite always triggers LOAD segment with RWX permissions warning
  2023-01-03  6:09 [Bug sim/29957] New: or1k custom linker script used in testsuite always triggers LOAD segment with RWX permissions warning vapier at gentoo dot org
                   ` (2 preceding siblings ...)
  2023-08-19 10:03 ` shorne at sourceware dot org
@ 2023-08-24  7:20 ` shorne at sourceware dot org
  3 siblings, 0 replies; 5+ messages in thread
From: shorne at sourceware dot org @ 2023-08-24  7:20 UTC (permalink / raw)
  To: gdb-prs

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

Stafford Horne <shorne at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #2 from Stafford Horne <shorne at sourceware dot org> ---
Fix ish pushed 

https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=8eb7b3a7dbc24de0c9c938f00f2387351045cbdf

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-08-24  7:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-03  6:09 [Bug sim/29957] New: or1k custom linker script used in testsuite always triggers LOAD segment with RWX permissions warning vapier at gentoo dot org
2023-07-30 16:52 ` [Bug sim/29957] " sam at gentoo dot org
2023-08-19  7:29 ` shorne at sourceware dot org
2023-08-19 10:03 ` shorne at sourceware dot org
2023-08-24  7:20 ` shorne at sourceware dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).