public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/18421] hppa/parisc  ld: read-only segment has dynamic relocations
       [not found] <bug-18421-131@http.sourceware.org/bugzilla/>
@ 2015-05-17 11:05 ` amodra at gmail dot com
  2015-05-17 11:06 ` [Bug libc/18421] " amodra at gmail dot com
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: amodra at gmail dot com @ 2015-05-17 11:05 UTC (permalink / raw)
  To: glibc-bugs

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

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |drepper.fsp at gmail dot com
          Component|ld                          |libc
            Version|2.24                        |2.21
         Resolution|INVALID                     |---
            Product|binutils                    |glibc

--- Comment #7 from Alan Modra <amodra at gmail dot com> ---
Reassigning to glibc

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


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

* [Bug libc/18421] read-only segment has dynamic relocations
       [not found] <bug-18421-131@http.sourceware.org/bugzilla/>
  2015-05-17 11:05 ` [Bug libc/18421] hppa/parisc ld: read-only segment has dynamic relocations amodra at gmail dot com
@ 2015-05-17 11:06 ` amodra at gmail dot com
  2015-05-17 20:20 ` deller at gmx dot de
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: amodra at gmail dot com @ 2015-05-17 11:06 UTC (permalink / raw)
  To: glibc-bugs

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

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEW
            Summary|hppa/parisc  ld: read-only  |read-only segment has
                   |segment has dynamic         |dynamic relocations
                   |relocations                 |

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


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

* [Bug libc/18421] read-only segment has dynamic relocations
       [not found] <bug-18421-131@http.sourceware.org/bugzilla/>
  2015-05-17 11:05 ` [Bug libc/18421] hppa/parisc ld: read-only segment has dynamic relocations amodra at gmail dot com
  2015-05-17 11:06 ` [Bug libc/18421] " amodra at gmail dot com
@ 2015-05-17 20:20 ` deller at gmx dot de
  2015-05-19 19:05 ` carlos at redhat dot com
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: deller at gmx dot de @ 2015-05-17 20:20 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #8 from Helge Deller <deller at gmx dot de> ---
(In reply to Alan Modra from comment #6)
> Created attachment 8319 [details]
> glibc fix

Thanks!
That seems to fix it.
I applied your patch, and readelf now shows:

Relocation section '.rela.text' at offset 0x7ec contains 9 entries:
 Offset     Info    Type            Sym.Value  Sym. Name + Addend
00000018  00001122 R_PARISC_DLTIND21 00000000   .Lpmain + 0
0000001c  00001126 R_PARISC_DLTIND14 00000000   .Lpmain + 0
00000024  00001222 R_PARISC_DLTIND21 0000000c   .Lp__libc_csu_init + 0
00000028  00001226 R_PARISC_DLTIND14 0000000c   .Lp__libc_csu_init + 0
00000030  00001322 R_PARISC_DLTIND21 00000008   .Lp__libc_csu_fini + 0
00000034  00001326 R_PARISC_DLTIND14 00000008   .Lp__libc_csu_fini + 0
00000044  00001422 R_PARISC_DLTIND21 00000010   .Lp__global + 0
00000048  00001426 R_PARISC_DLTIND14 00000010   .Lp__global + 0
0000004c  00001d0c R_PARISC_PCREL17F 00000000   __libc_start_main + 0

Relocation section '.rela.data.rel.ro' at offset 0x858 contains 5 entries:
 Offset     Info    Type            Sym.Value  Sym. Name + Addend
00000000  00001a41 R_PARISC_PLABEL32 00000000   main + 0
00000004  00001d41 R_PARISC_PLABEL32 00000000   __libc_start_main + 0
00000008  00001641 R_PARISC_PLABEL32 00000000   __libc_csu_fini + 0
0000000c  00001941 R_PARISC_PLABEL32 00000000   __libc_csu_init + 0
00000010  00001801 R_PARISC_DIR32    00000000   $global$ + 0

linking and running the test program works too.

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


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

* [Bug libc/18421] read-only segment has dynamic relocations
       [not found] <bug-18421-131@http.sourceware.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2015-05-17 20:20 ` deller at gmx dot de
@ 2015-05-19 19:05 ` carlos at redhat dot com
  2015-07-07 10:47 ` [Bug libc/18421] [hppa] " schwab@linux-m68k.org
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: carlos at redhat dot com @ 2015-05-19 19:05 UTC (permalink / raw)
  To: glibc-bugs

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

Carlos O'Donell <carlos at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |2.22

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


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

* [Bug libc/18421] [hppa] read-only segment has dynamic relocations
       [not found] <bug-18421-131@http.sourceware.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2015-05-19 19:05 ` carlos at redhat dot com
@ 2015-07-07 10:47 ` schwab@linux-m68k.org
  2015-07-30 14:26 ` vapier at gentoo dot org
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: schwab@linux-m68k.org @ 2015-07-07 10:47 UTC (permalink / raw)
  To: glibc-bugs

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

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|read-only segment has       |[hppa] read-only segment
                   |dynamic relocations         |has dynamic relocations

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


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

* [Bug libc/18421] [hppa] read-only segment has dynamic relocations
       [not found] <bug-18421-131@http.sourceware.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2015-07-07 10:47 ` [Bug libc/18421] [hppa] " schwab@linux-m68k.org
@ 2015-07-30 14:26 ` vapier at gentoo dot org
  2015-08-18  6:59 ` cvs-commit at gcc dot gnu.org
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: vapier at gentoo dot org @ 2015-07-30 14:26 UTC (permalink / raw)
  To: glibc-bugs

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

Mike Frysinger <vapier at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vapier at gentoo dot org
               Host|                            |hppa-linux-gnu
           See Also|                            |https://bugs.gentoo.org/sho
                   |                            |w_bug.cgi?id=505312

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


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

* [Bug libc/18421] [hppa] read-only segment has dynamic relocations
       [not found] <bug-18421-131@http.sourceware.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2015-07-30 14:26 ` vapier at gentoo dot org
@ 2015-08-18  6:59 ` cvs-commit at gcc dot gnu.org
  2015-08-18  7:00 ` vapier at gentoo dot org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-08-18  6:59 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #9 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  cf4253777412e9c8d5bfbc1c8b975f472e1e7d43 (commit)
       via  352d0eafb669a688003471783ca43cf5a3e94cd2 (commit)
       via  55b14dda4375b7b8f80f09a791bdf3cf7e0f3e08 (commit)
       via  605021b6b9906b9b3f8c5c883ccb090bb1d140ad (commit)
       via  4454e161cb3ba9236259b377eb5b59f171a5432d (commit)
       via  44e01f06a019e131c8e6f3984a37bdc6a7811479 (commit)
       via  d5a77fcafdcd3494663387e7100e2fb2d180af5b (commit)
       via  c5bf7f84bf041e9c7c690d09baad4daf3e992805 (commit)
       via  8584204806ffea6f33bc6e42a1f07d6bc5a35105 (commit)
       via  43329fe1396080faf025118b31053fd19e029c12 (commit)
      from  3fb4cfaf1f1e8d58312720c70d224e2050d469fc (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=cf4253777412e9c8d5bfbc1c8b975f472e1e7d43

commit cf4253777412e9c8d5bfbc1c8b975f472e1e7d43
Author: Alan Modra <amodra@gmail.com>
Date:   Fri Aug 14 22:15:49 2015 -0400

    hppa: start.S: rework references to fix PIE TEXTRELs [BZ #18421]

    The startup code was not using PIC friendly references leading to TEXTRELs
    in every PIE ELF.

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=352d0eafb669a688003471783ca43cf5a3e94cd2

commit 352d0eafb669a688003471783ca43cf5a3e94cd2
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Fri Aug 14 22:14:28 2015 -0400

    hppa: timerfd.h: move to common sys/timerfd.h

    Use the common sys/timerfd.h to avoid duplication and move the
    arch-specific settings into bits/timerfd.h.

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=55b14dda4375b7b8f80f09a791bdf3cf7e0f3e08

commit 55b14dda4375b7b8f80f09a791bdf3cf7e0f3e08
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Fri Aug 14 22:14:16 2015 -0400

    hppa: signalfd.h: move to common sys/signalfd.h

    Use the common sys/signalfd.h to avoid duplication and move the
    arch-specific settings into bits/signalfd.h.

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=605021b6b9906b9b3f8c5c883ccb090bb1d140ad

commit 605021b6b9906b9b3f8c5c883ccb090bb1d140ad
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Fri Aug 14 22:14:00 2015 -0400

    hppa: inotify.h: move to common sys/inotify.h

    Use the common sys/inotify.h to avoid duplication and move the
    arch-specific settings into bits/inotify.h.

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=4454e161cb3ba9236259b377eb5b59f171a5432d

commit 4454e161cb3ba9236259b377eb5b59f171a5432d
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Fri Aug 14 22:13:37 2015 -0400

    hppa: eventfd.h: move to common sys/eventfd.h

    Use the common sys/eventfd.h to avoid duplication and move the
    arch-specific settings into bits/eventfd.h.

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=44e01f06a019e131c8e6f3984a37bdc6a7811479

commit 44e01f06a019e131c8e6f3984a37bdc6a7811479
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Fri Aug 14 22:12:54 2015 -0400

    hppa: epoll.h: move to common sys/epoll.h

    Use the common sys/epoll.h to avoid duplication and move the arch-specific
    settings into bits/epoll.h.

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d5a77fcafdcd3494663387e7100e2fb2d180af5b

commit d5a77fcafdcd3494663387e7100e2fb2d180af5b
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Fri Aug 14 22:11:50 2015 -0400

    hppa: sigaction.h: update define export based on __USE_XOPEN2K8

    This brings hppa in line with other ports by exporting a few more defines
    based on the __USE_XOPEN2K8 define and not just __USE_MISC.

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c5bf7f84bf041e9c7c690d09baad4daf3e992805

commit c5bf7f84bf041e9c7c690d09baad4daf3e992805
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Fri Aug 14 22:11:03 2015 -0400

    hppa: shm.h: add SHM_EXEC

    This brings hppa in line with all the other arches.

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8584204806ffea6f33bc6e42a1f07d6bc5a35105

commit 8584204806ffea6f33bc6e42a1f07d6bc5a35105
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Fri Aug 14 22:09:30 2015 -0400

    hppa: drop __ASSUME_LWS_CAS define

    We require recent enough kernels for this now, and we've been hardcoding
    it to 1, so drop it entirely now.

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=43329fe1396080faf025118b31053fd19e029c12

commit 43329fe1396080faf025118b31053fd19e029c12
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Fri Aug 14 22:07:40 2015 -0400

    hppa: assume TLS everywhere

    This brings hppa inline with all the other arches and main code where we
    require TLS support everywhere.  That means dropping the defines USE_TLS
    and USE___THREAD, and dropping the binutils check (since we already have
    a version requirement that is new enough).

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                      |   57 ++++++++++
 sysdeps/hppa/configure                         |   57 ----------
 sysdeps/hppa/configure.ac                      |   45 --------
 sysdeps/hppa/dl-machine.h                      |    4 +-
 sysdeps/hppa/libc-tls.c                        |    4 -
 sysdeps/hppa/nptl/tls.h                        |    3 -
 sysdeps/hppa/start.S                           |   16 +++-
 sysdeps/unix/sysv/linux/hppa/bits/atomic.h     |   10 +--
 sysdeps/unix/sysv/linux/hppa/bits/epoll.h      |   27 +++++
 sysdeps/unix/sysv/linux/hppa/bits/eventfd.h    |   31 +++++
 sysdeps/unix/sysv/linux/hppa/bits/inotify.h    |   29 +++++
 sysdeps/unix/sysv/linux/hppa/bits/shm.h        |    1 +
 sysdeps/unix/sysv/linux/hppa/bits/sigaction.h  |    2 +
 sysdeps/unix/sysv/linux/hppa/bits/signalfd.h   |   29 +++++
 sysdeps/unix/sysv/linux/hppa/bits/timerfd.h    |   29 +++++
 sysdeps/unix/sysv/linux/hppa/kernel-features.h |    3 -
 sysdeps/unix/sysv/linux/hppa/sys/epoll.h       |  143 ------------------------
 sysdeps/unix/sysv/linux/hppa/sys/eventfd.h     |   53 ---------
 sysdeps/unix/sysv/linux/hppa/sys/inotify.h     |  106 ------------------
 sysdeps/unix/sysv/linux/hppa/sys/signalfd.h    |   65 -----------
 sysdeps/unix/sysv/linux/hppa/sys/timerfd.h     |   59 ----------
 21 files changed, 223 insertions(+), 550 deletions(-)
 create mode 100644 sysdeps/unix/sysv/linux/hppa/bits/epoll.h
 create mode 100644 sysdeps/unix/sysv/linux/hppa/bits/eventfd.h
 create mode 100644 sysdeps/unix/sysv/linux/hppa/bits/inotify.h
 create mode 100644 sysdeps/unix/sysv/linux/hppa/bits/signalfd.h
 create mode 100644 sysdeps/unix/sysv/linux/hppa/bits/timerfd.h
 delete mode 100644 sysdeps/unix/sysv/linux/hppa/sys/epoll.h
 delete mode 100644 sysdeps/unix/sysv/linux/hppa/sys/eventfd.h
 delete mode 100644 sysdeps/unix/sysv/linux/hppa/sys/inotify.h
 delete mode 100644 sysdeps/unix/sysv/linux/hppa/sys/signalfd.h
 delete mode 100644 sysdeps/unix/sysv/linux/hppa/sys/timerfd.h

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


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

* [Bug libc/18421] [hppa] read-only segment has dynamic relocations
       [not found] <bug-18421-131@http.sourceware.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2015-08-18  6:59 ` cvs-commit at gcc dot gnu.org
@ 2015-08-18  7:00 ` vapier at gentoo dot org
  2015-08-18 12:58 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: vapier at gentoo dot org @ 2015-08-18  7:00 UTC (permalink / raw)
  To: glibc-bugs

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

Mike Frysinger <vapier at gentoo dot org> changed:

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

--- Comment #10 from Mike Frysinger <vapier at gentoo dot org> ---
fixed with the latest commit

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


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

* [Bug libc/18421] [hppa] read-only segment has dynamic relocations
       [not found] <bug-18421-131@http.sourceware.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2015-08-18  7:00 ` vapier at gentoo dot org
@ 2015-08-18 12:58 ` cvs-commit at gcc dot gnu.org
  2015-10-29 16:34 ` jsm28 at gcc dot gnu.org
  2023-10-29 12:03 ` sam at gentoo dot org
  10 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-08-18 12:58 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #11 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, gentoo/2.22 has been updated
       via  9ab172e7f88096d12a8a089ff2ef857d9a6cab38 (commit)
      from  969fb008f467a27b7cf6cc3cb08f80a3072daf77 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9ab172e7f88096d12a8a089ff2ef857d9a6cab38

commit 9ab172e7f88096d12a8a089ff2ef857d9a6cab38
Author: Alan Modra <amodra@gmail.com>
Date:   Fri Aug 14 22:15:49 2015 -0400

    hppa: start.S: rework references to fix PIE TEXTRELs [BZ #18421]

    The startup code was not using PIC friendly references leading to TEXTRELs
    in every PIE ELF.

-----------------------------------------------------------------------

Summary of changes:
 sysdeps/hppa/start.S |   16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

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


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

* [Bug libc/18421] [hppa] read-only segment has dynamic relocations
       [not found] <bug-18421-131@http.sourceware.org/bugzilla/>
                   ` (8 preceding siblings ...)
  2015-08-18 12:58 ` cvs-commit at gcc dot gnu.org
@ 2015-10-29 16:34 ` jsm28 at gcc dot gnu.org
  2023-10-29 12:03 ` sam at gentoo dot org
  10 siblings, 0 replies; 11+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-10-29 16:34 UTC (permalink / raw)
  To: glibc-bugs

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|2.22                        |2.23

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


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

* [Bug libc/18421] [hppa] read-only segment has dynamic relocations
       [not found] <bug-18421-131@http.sourceware.org/bugzilla/>
                   ` (9 preceding siblings ...)
  2015-10-29 16:34 ` jsm28 at gcc dot gnu.org
@ 2023-10-29 12:03 ` sam at gentoo dot org
  10 siblings, 0 replies; 11+ messages in thread
From: sam at gentoo dot org @ 2023-10-29 12:03 UTC (permalink / raw)
  To: glibc-bugs

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

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] 11+ messages in thread

end of thread, other threads:[~2023-10-29 12:03 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-18421-131@http.sourceware.org/bugzilla/>
2015-05-17 11:05 ` [Bug libc/18421] hppa/parisc ld: read-only segment has dynamic relocations amodra at gmail dot com
2015-05-17 11:06 ` [Bug libc/18421] " amodra at gmail dot com
2015-05-17 20:20 ` deller at gmx dot de
2015-05-19 19:05 ` carlos at redhat dot com
2015-07-07 10:47 ` [Bug libc/18421] [hppa] " schwab@linux-m68k.org
2015-07-30 14:26 ` vapier at gentoo dot org
2015-08-18  6:59 ` cvs-commit at gcc dot gnu.org
2015-08-18  7:00 ` vapier at gentoo dot org
2015-08-18 12:58 ` cvs-commit at gcc dot gnu.org
2015-10-29 16:34 ` jsm28 at gcc dot gnu.org
2023-10-29 12:03 ` sam at gentoo 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).