public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/18870] New: sem_open.c fails to compile with missing symbol FUTEX_SHARED
@ 2015-08-26  0:32 bneumeier at gmail dot com
  2015-08-26  9:40 ` [Bug build/18870] " joseph at codesourcery dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: bneumeier at gmail dot com @ 2015-08-26  0:32 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 18870
           Summary: sem_open.c fails to compile with missing symbol
                    FUTEX_SHARED
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: bneumeier at gmail dot com
                CC: carlos at redhat dot com
  Target Milestone: ---

Created attachment 8551
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8551&action=edit
Add missing include directive.

In 2.22 and master, when doing a x86_64-pc-linux-gnu to sparc-pc-linux-gnu
cross-toolchain build, sem_open.c fails to compile because it can't find
FUTEX_SHARED. It looks to me like an include directive got missed.

The attached fixes it for me on 2.22.

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


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

* [Bug build/18870] sem_open.c fails to compile with missing symbol FUTEX_SHARED
  2015-08-26  0:32 [Bug build/18870] New: sem_open.c fails to compile with missing symbol FUTEX_SHARED bneumeier at gmail dot com
@ 2015-08-26  9:40 ` joseph at codesourcery dot com
  2015-08-30 16:08 ` bneumeier at gmail dot com
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: joseph at codesourcery dot com @ 2015-08-26  9:40 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
This was already approved in 
<https://sourceware.org/ml/libc-alpha/2015-08/msg00256.html>.  If you 
don't have write access, reply to David Miller's message to ask him to 
commit it (to master and 2.22 branch) and to include [BZ #18870] in the 
ChangeLog entry, and 18870 in the list of fixed bugs in NEWS, when doing 
so.

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


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

* [Bug build/18870] sem_open.c fails to compile with missing symbol FUTEX_SHARED
  2015-08-26  0:32 [Bug build/18870] New: sem_open.c fails to compile with missing symbol FUTEX_SHARED bneumeier at gmail dot com
  2015-08-26  9:40 ` [Bug build/18870] " joseph at codesourcery dot com
@ 2015-08-30 16:08 ` bneumeier at gmail dot com
  2015-08-31 22:28 ` cvs-commit at gcc dot gnu.org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bneumeier at gmail dot com @ 2015-08-30 16:08 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #2 from Brett Neumeier <bneumeier at gmail dot com> ---
Thanks for the guidance, Joseph!

I only belatedly read through the contribution checklist wiki page and created
this bugzilla ticket because it said I ought to. (And the wiki page doesn't
talk about what to do once a patch is reviewed and accepted, so your
instructions here are especially valuable in that regard.)

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


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

* [Bug build/18870] sem_open.c fails to compile with missing symbol FUTEX_SHARED
  2015-08-26  0:32 [Bug build/18870] New: sem_open.c fails to compile with missing symbol FUTEX_SHARED bneumeier at gmail dot com
  2015-08-26  9:40 ` [Bug build/18870] " joseph at codesourcery dot com
  2015-08-30 16:08 ` bneumeier at gmail dot com
@ 2015-08-31 22:28 ` cvs-commit at gcc dot gnu.org
  2015-08-31 22:34 ` cvs-commit at gcc dot gnu.org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-08-31 22:28 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #3 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  3f512ca79fda7854da188df0585e71467119206e (commit)
      from  543ef578c3304661713950b37abd0c916f52ecf0 (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=3f512ca79fda7854da188df0585e71467119206e

commit 3f512ca79fda7854da188df0585e71467119206e
Author: Brett Neumeier <brett@neumeier.us>
Date:   Mon Aug 31 15:27:21 2015 -0700

    Fix non-v9 32-bit sparc build.

        [BZ #18870]
        * sysdeps/sparc/sparc32/sem_open.c: Add missing #include

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

Summary of changes:
 ChangeLog                        |    5 +++++
 NEWS                             |    2 +-
 sysdeps/sparc/sparc32/sem_open.c |    1 +
 3 files changed, 7 insertions(+), 1 deletions(-)

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


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

* [Bug build/18870] sem_open.c fails to compile with missing symbol FUTEX_SHARED
  2015-08-26  0:32 [Bug build/18870] New: sem_open.c fails to compile with missing symbol FUTEX_SHARED bneumeier at gmail dot com
                   ` (2 preceding siblings ...)
  2015-08-31 22:28 ` cvs-commit at gcc dot gnu.org
@ 2015-08-31 22:34 ` cvs-commit at gcc dot gnu.org
  2015-08-31 23:09 ` joseph at codesourcery dot com
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-08-31 22:34 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #4 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, release/2.22/master has been updated
       via  36c6e27a26b0afe0187f8790990cf880abdbf244 (commit)
      from  3007f797a1a596e954f44879a5a7267966186ba4 (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=36c6e27a26b0afe0187f8790990cf880abdbf244

commit 36c6e27a26b0afe0187f8790990cf880abdbf244
Author: Brett Neumeier <brett@neumeier.us>
Date:   Mon Aug 31 15:27:21 2015 -0700

    Fix non-v9 32-bit sparc build.

        [BZ #18870]
        * sysdeps/sparc/sparc32/sem_open.c: Add missing #include

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

Summary of changes:
 ChangeLog                        |    5 +++++
 NEWS                             |    2 +-
 sysdeps/sparc/sparc32/sem_open.c |    1 +
 3 files changed, 7 insertions(+), 1 deletions(-)

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


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

* [Bug build/18870] sem_open.c fails to compile with missing symbol FUTEX_SHARED
  2015-08-26  0:32 [Bug build/18870] New: sem_open.c fails to compile with missing symbol FUTEX_SHARED bneumeier at gmail dot com
                   ` (3 preceding siblings ...)
  2015-08-31 22:34 ` cvs-commit at gcc dot gnu.org
@ 2015-08-31 23:09 ` joseph at codesourcery dot com
  2015-09-01 23:17 ` bneumeier at gmail dot com
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: joseph at codesourcery dot com @ 2015-08-31 23:09 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #5 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
If those commits fix the bug, please close it as fixed.

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


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

* [Bug build/18870] sem_open.c fails to compile with missing symbol FUTEX_SHARED
  2015-08-26  0:32 [Bug build/18870] New: sem_open.c fails to compile with missing symbol FUTEX_SHARED bneumeier at gmail dot com
                   ` (4 preceding siblings ...)
  2015-08-31 23:09 ` joseph at codesourcery dot com
@ 2015-09-01 23:17 ` bneumeier at gmail dot com
  2015-10-17  4:55 ` cvs-commit at gcc dot gnu.org
  2015-10-29 17:05 ` jsm28 at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: bneumeier at gmail dot com @ 2015-09-01 23:17 UTC (permalink / raw)
  To: glibc-bugs

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

Brett Neumeier <bneumeier at gmail dot com> changed:

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

--- Comment #6 from Brett Neumeier <bneumeier at gmail dot com> ---
Fixed. Joseph, thanks again for your help with the process!

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


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

* [Bug build/18870] sem_open.c fails to compile with missing symbol FUTEX_SHARED
  2015-08-26  0:32 [Bug build/18870] New: sem_open.c fails to compile with missing symbol FUTEX_SHARED bneumeier at gmail dot com
                   ` (5 preceding siblings ...)
  2015-09-01 23:17 ` bneumeier at gmail dot com
@ 2015-10-17  4:55 ` cvs-commit at gcc dot gnu.org
  2015-10-29 17:05 ` jsm28 at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-10-17  4:55 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #7 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  bf6a73fb389728f297d942f403bfeac150249a66 (commit)
       via  5c4ac5014823e2bc93f74d4a8ac5502f01a9753f (commit)
       via  cdb1aad567b85b880a1325eb88555b8c8da9159b (commit)
       via  6ff3aac23c2caa5c669e74da5f6c5a7264f51e39 (commit)
      from  adf228f91c11a1bcdf7563d104a2a370d054e482 (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=bf6a73fb389728f297d942f403bfeac150249a66

commit bf6a73fb389728f297d942f403bfeac150249a66
Author: Florian Weimer <fweimer@redhat.com>
Date:   Thu Oct 15 09:23:07 2015 +0200

    Always enable pointer guard [BZ #18928]

    Honoring the LD_POINTER_GUARD environment variable in AT_SECURE mode
    has security implications.  This commit enables pointer guard
    unconditionally, and the environment variable is now ignored.

            [BZ #18928]
            * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
            _dl_pointer_guard member.
            * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
            initializer.
            (security_init): Always set up pointer guard.
            (process_envvars): Do not process LD_POINTER_GUARD.

    (cherry picked from commit a014cecd82b71b70a6a843e250e06b541ad524f7)
    (cherry picked from commit dc22a1ec157d02529a0b17986679d3f1c122985e)

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

commit 5c4ac5014823e2bc93f74d4a8ac5502f01a9753f
Author: Roland McGrath <roland@hack.frob.com>
Date:   Tue Sep 15 15:27:58 2015 -0700

    Use HOST_NAME_MAX for MAXHOSTNAMELEN in <sys/param.h>.

    (cherry picked from commit 51f24be7ba5d15313ae94f8fb4500ce07cb98c84)
    (cherry picked from commit 666bb4dc55f5a93538d020024c34abad641f50ae)

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

commit cdb1aad567b85b880a1325eb88555b8c8da9159b
Author: Roland McGrath <roland@hack.frob.com>
Date:   Fri Sep 4 14:37:56 2015 -0700

    BZ#18921: Fix opendir inverted o_directory_works test.

    (cherry picked from commit bd9e69abb887d78d0d6708fc089cc9f3eabf106d)
    (cherry picked from commit 5c8c3123652045191474a4ca85fbb6e8d9e7d2bc)

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

commit 6ff3aac23c2caa5c669e74da5f6c5a7264f51e39
Author: Brett Neumeier <brett@neumeier.us>
Date:   Mon Aug 31 15:27:21 2015 -0700

    Fix non-v9 32-bit sparc build.

        [BZ #18870]
        * sysdeps/sparc/sparc32/sem_open.c: Add missing #include

    (cherry picked from commit 36c6e27a26b0afe0187f8790990cf880abdbf244)

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

Summary of changes:
 elf/rtld.c                       |   15 ++++-----------
 misc/sys/param.h                 |    3 +++
 sysdeps/generic/ldsodefs.h       |    3 ---
 sysdeps/posix/opendir.c          |    2 +-
 sysdeps/sparc/sparc32/sem_open.c |    1 +
 5 files changed, 9 insertions(+), 15 deletions(-)

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


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

* [Bug build/18870] sem_open.c fails to compile with missing symbol FUTEX_SHARED
  2015-08-26  0:32 [Bug build/18870] New: sem_open.c fails to compile with missing symbol FUTEX_SHARED bneumeier at gmail dot com
                   ` (6 preceding siblings ...)
  2015-10-17  4:55 ` cvs-commit at gcc dot gnu.org
@ 2015-10-29 17:05 ` jsm28 at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-10-29 17:05 UTC (permalink / raw)
  To: glibc-bugs

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

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

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

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


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

end of thread, other threads:[~2015-10-29 17:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-26  0:32 [Bug build/18870] New: sem_open.c fails to compile with missing symbol FUTEX_SHARED bneumeier at gmail dot com
2015-08-26  9:40 ` [Bug build/18870] " joseph at codesourcery dot com
2015-08-30 16:08 ` bneumeier at gmail dot com
2015-08-31 22:28 ` cvs-commit at gcc dot gnu.org
2015-08-31 22:34 ` cvs-commit at gcc dot gnu.org
2015-08-31 23:09 ` joseph at codesourcery dot com
2015-09-01 23:17 ` bneumeier at gmail dot com
2015-10-17  4:55 ` cvs-commit at gcc dot gnu.org
2015-10-29 17:05 ` jsm28 at gcc dot gnu.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).