public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/52700] New: libjava configure fails on --enable-symvers=gnu-versioned-namespace.
@ 2012-03-24 10:58 pluto at agmk dot net
  2012-03-25 10:59 ` [Bug bootstrap/52700] lib* " pluto at agmk dot net
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: pluto at agmk dot net @ 2012-03-24 10:58 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52700

             Bug #: 52700
           Summary: libjava configure fails on
                    --enable-symvers=gnu-versioned-namespace.
    Classification: Unclassified
           Product: gcc
           Version: 4.7.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: pluto@agmk.net
              Host: x86_64-gnu-linux
            Target: x86_64-gnu-linux
             Build: x86_64-gnu-linux


the 4.7.1 boostrap fails inside libjava on
--enable-symvers=gnu-versioned-namespace option.

(...)
checking whether ld supports anonymous version scripts... configure: error:
Unknown argument to enable/disable symvers
make[1]: *** [configure-target-libjava] Error 1

afaics it accepts only yes/no values:

# See if linker supports anonymous version scripts.
AC_CACHE_CHECK([whether ld supports anonymous version scripts],
  [libjava_cv_anon_version_script],
  [AC_ARG_ENABLE(symvers,
     AS_HELP_STRING([--disable-symvers],
                    [disable symbol versioning for libjava]),
       [case "$enableval" in
         yes) libjava_cv_anon_version_script=yes ;;
         no)  libjava_cv_anon_version_script=no ;;
         *)   AC_MSG_ERROR([Unknown argument to enable/disable symvers]);;
        esac],
       [libjava_cv_anon_version_script=yes]
   )


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

* [Bug bootstrap/52700] lib* configure fails on --enable-symvers=gnu-versioned-namespace.
  2012-03-24 10:58 [Bug bootstrap/52700] New: libjava configure fails on --enable-symvers=gnu-versioned-namespace pluto at agmk dot net
@ 2012-03-25 10:59 ` pluto at agmk dot net
  2012-05-12 11:30 ` pluto at agmk dot net
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pluto at agmk dot net @ 2012-03-25 10:59 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52700

Pawel Sikora <pluto at agmk dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|libjava configure fails on  |lib* configure fails on
                   |--enable-symvers=gnu-versio |--enable-symvers=gnu-versio
                   |ned-namespace.              |ned-namespace.

--- Comment #1 from Pawel Sikora <pluto at agmk dot net> 2012-03-25 10:24:18 UTC ---
the same problem exists in libssp, libgfotran and others. they silently disable
symbol versioning in case of non-{yes/no} versioning value.


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

* [Bug bootstrap/52700] lib* configure fails on --enable-symvers=gnu-versioned-namespace.
  2012-03-24 10:58 [Bug bootstrap/52700] New: libjava configure fails on --enable-symvers=gnu-versioned-namespace pluto at agmk dot net
  2012-03-25 10:59 ` [Bug bootstrap/52700] lib* " pluto at agmk dot net
@ 2012-05-12 11:30 ` pluto at agmk dot net
  2012-05-14 16:08 ` bkoz at gcc dot gnu.org
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pluto at agmk dot net @ 2012-05-12 11:30 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52700

Pawel Sikora <pluto at agmk dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bkoz at redhat dot com,
                   |                            |paolo.carlini at oracle dot
                   |                            |com

--- Comment #2 from Pawel Sikora <pluto at agmk dot net> 2012-05-12 11:15:49 UTC ---
Paolo, Benjamin, could you look at this issue?


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

* [Bug bootstrap/52700] lib* configure fails on --enable-symvers=gnu-versioned-namespace.
  2012-03-24 10:58 [Bug bootstrap/52700] New: libjava configure fails on --enable-symvers=gnu-versioned-namespace pluto at agmk dot net
  2012-03-25 10:59 ` [Bug bootstrap/52700] lib* " pluto at agmk dot net
  2012-05-12 11:30 ` pluto at agmk dot net
@ 2012-05-14 16:08 ` bkoz at gcc dot gnu.org
  2012-05-21 17:57 ` bkoz at gcc dot gnu.org
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bkoz at gcc dot gnu.org @ 2012-05-14 16:08 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52700

Benjamin Kosnik <bkoz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2012-05-14
                 CC|                            |bkoz at gcc dot gnu.org
     Ever Confirmed|0                           |1

--- Comment #3 from Benjamin Kosnik <bkoz at gcc dot gnu.org> 2012-05-14 15:59:56 UTC ---

I'll look at this. 

libgomp got patched for this here:

2011-01-20  Benjamin Kosnik  <bkoz@redhat.com>

    PR libstdc++/36104
    * acinclude.m4 (LIBGOMP_ENABLE_SYMVERS): Accept gnu variants.

http://gcc.gnu.org/ml/gcc-patches/2011-01/msg01401.html


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

* [Bug bootstrap/52700] lib* configure fails on --enable-symvers=gnu-versioned-namespace.
  2012-03-24 10:58 [Bug bootstrap/52700] New: libjava configure fails on --enable-symvers=gnu-versioned-namespace pluto at agmk dot net
                   ` (2 preceding siblings ...)
  2012-05-14 16:08 ` bkoz at gcc dot gnu.org
@ 2012-05-21 17:57 ` bkoz at gcc dot gnu.org
  2012-05-21 18:20 ` bkoz at gcc dot gnu.org
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bkoz at gcc dot gnu.org @ 2012-05-21 17:57 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52700

--- Comment #4 from Benjamin Kosnik <bkoz at gcc dot gnu.org> 2012-05-21 17:34:39 UTC ---
Author: bkoz
Date: Mon May 21 17:34:25 2012
New Revision: 187728

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187728
Log:
2012-05-21  Benjamin Kosnik  <bkoz@redhat.com>

        PR libstdc++/52700
        * configure.ac: Allow gnu, gnu-versioned-namespace for
        --enable-symvers arguments.
        * configure: Regenerate.

Modified:
    trunk/libjava/ChangeLog
    trunk/libjava/configure
    trunk/libjava/configure.ac


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

* [Bug bootstrap/52700] lib* configure fails on --enable-symvers=gnu-versioned-namespace.
  2012-03-24 10:58 [Bug bootstrap/52700] New: libjava configure fails on --enable-symvers=gnu-versioned-namespace pluto at agmk dot net
                   ` (3 preceding siblings ...)
  2012-05-21 17:57 ` bkoz at gcc dot gnu.org
@ 2012-05-21 18:20 ` bkoz at gcc dot gnu.org
  2012-05-21 18:46 ` bkoz at gcc dot gnu.org
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bkoz at gcc dot gnu.org @ 2012-05-21 18:20 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52700

--- Comment #5 from Benjamin Kosnik <bkoz at gcc dot gnu.org> 2012-05-21 18:14:07 UTC ---
Author: bkoz
Date: Mon May 21 18:14:01 2012
New Revision: 187730

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187730
Log:
2012-05-21  Benjamin Kosnik  <bkoz@redhat.com>

    PR libstdc++/52700
    * configure.ac: Allow gnu, gnu-versioned-namespace for
    --enable-symvers arguments.
    * configure: Regenerate.


Modified:
    branches/gcc-4_7-branch/libjava/ChangeLog
    branches/gcc-4_7-branch/libjava/configure
    branches/gcc-4_7-branch/libjava/configure.ac
    branches/gcc-4_7-branch/libjava/gcj/Makefile.in
    branches/gcc-4_7-branch/libjava/include/Makefile.in
    branches/gcc-4_7-branch/libjava/testsuite/Makefile.in


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

* [Bug bootstrap/52700] lib* configure fails on --enable-symvers=gnu-versioned-namespace.
  2012-03-24 10:58 [Bug bootstrap/52700] New: libjava configure fails on --enable-symvers=gnu-versioned-namespace pluto at agmk dot net
                   ` (4 preceding siblings ...)
  2012-05-21 18:20 ` bkoz at gcc dot gnu.org
@ 2012-05-21 18:46 ` bkoz at gcc dot gnu.org
  2012-05-21 21:02 ` pluto at agmk dot net
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bkoz at gcc dot gnu.org @ 2012-05-21 18:46 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52700

Benjamin Kosnik <bkoz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.7.1

--- Comment #6 from Benjamin Kosnik <bkoz at gcc dot gnu.org> 2012-05-21 18:24:37 UTC ---
Fixed on trunk and branch


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

* [Bug bootstrap/52700] lib* configure fails on --enable-symvers=gnu-versioned-namespace.
  2012-03-24 10:58 [Bug bootstrap/52700] New: libjava configure fails on --enable-symvers=gnu-versioned-namespace pluto at agmk dot net
                   ` (5 preceding siblings ...)
  2012-05-21 18:46 ` bkoz at gcc dot gnu.org
@ 2012-05-21 21:02 ` pluto at agmk dot net
  2012-05-23  3:28 ` bkoz at gcc dot gnu.org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pluto at agmk dot net @ 2012-05-21 21:02 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52700

--- Comment #7 from Pawel Sikora <pluto at agmk dot net> 2012-05-21 19:13:34 UTC ---
(In reply to comment #6)
> Fixed on trunk and branch

what about other target libs? (gfortran,quadmath,ssp)


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

* [Bug bootstrap/52700] lib* configure fails on --enable-symvers=gnu-versioned-namespace.
  2012-03-24 10:58 [Bug bootstrap/52700] New: libjava configure fails on --enable-symvers=gnu-versioned-namespace pluto at agmk dot net
                   ` (6 preceding siblings ...)
  2012-05-21 21:02 ` pluto at agmk dot net
@ 2012-05-23  3:28 ` bkoz at gcc dot gnu.org
  2012-05-23  8:46 ` pluto at agmk dot net
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bkoz at gcc dot gnu.org @ 2012-05-23  3:28 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52700

--- Comment #8 from Benjamin Kosnik <bkoz at gcc dot gnu.org> 2012-05-23 01:31:29 UTC ---

I tried it with --enable-languages=all

?


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

* [Bug bootstrap/52700] lib* configure fails on --enable-symvers=gnu-versioned-namespace.
  2012-03-24 10:58 [Bug bootstrap/52700] New: libjava configure fails on --enable-symvers=gnu-versioned-namespace pluto at agmk dot net
                   ` (7 preceding siblings ...)
  2012-05-23  3:28 ` bkoz at gcc dot gnu.org
@ 2012-05-23  8:46 ` pluto at agmk dot net
  2012-05-29 20:56 ` bkoz at gcc dot gnu.org
  2012-05-31 22:05 ` bkoz at gcc dot gnu.org
  10 siblings, 0 replies; 12+ messages in thread
From: pluto at agmk dot net @ 2012-05-23  8:46 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52700

--- Comment #9 from Pawel Sikora <pluto at agmk dot net> 2012-05-23 08:41:17 UTC ---
(In reply to comment #8)
> I tried it with --enable-languages=all
> 
> ?

libssp and others *silently* disable gnu versioning when you pass
--enable-symvers=gnu-versioned-namespace. they only accepts yes/no value for
this option.


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

* [Bug bootstrap/52700] lib* configure fails on --enable-symvers=gnu-versioned-namespace.
  2012-03-24 10:58 [Bug bootstrap/52700] New: libjava configure fails on --enable-symvers=gnu-versioned-namespace pluto at agmk dot net
                   ` (8 preceding siblings ...)
  2012-05-23  8:46 ` pluto at agmk dot net
@ 2012-05-29 20:56 ` bkoz at gcc dot gnu.org
  2012-05-31 22:05 ` bkoz at gcc dot gnu.org
  10 siblings, 0 replies; 12+ messages in thread
From: bkoz at gcc dot gnu.org @ 2012-05-29 20:56 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52700

Benjamin Kosnik <bkoz at gcc dot gnu.org> changed:

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

--- Comment #10 from Benjamin Kosnik <bkoz at gcc dot gnu.org> 2012-05-29 20:36:19 UTC ---

Ugh, you are right. Sorry. It looks like

libgfortran/libssp/libquadmath

need a simple fix. Working on it...


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

* [Bug bootstrap/52700] lib* configure fails on --enable-symvers=gnu-versioned-namespace.
  2012-03-24 10:58 [Bug bootstrap/52700] New: libjava configure fails on --enable-symvers=gnu-versioned-namespace pluto at agmk dot net
                   ` (9 preceding siblings ...)
  2012-05-29 20:56 ` bkoz at gcc dot gnu.org
@ 2012-05-31 22:05 ` bkoz at gcc dot gnu.org
  10 siblings, 0 replies; 12+ messages in thread
From: bkoz at gcc dot gnu.org @ 2012-05-31 22:05 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52700

Benjamin Kosnik <bkoz at gcc dot gnu.org> changed:

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

--- Comment #11 from Benjamin Kosnik <bkoz at gcc dot gnu.org> 2012-05-31 21:55:29 UTC ---

OK, saying fixed again on trunk and branch. Let me know if it's not right.


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

end of thread, other threads:[~2012-05-31 21:55 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-24 10:58 [Bug bootstrap/52700] New: libjava configure fails on --enable-symvers=gnu-versioned-namespace pluto at agmk dot net
2012-03-25 10:59 ` [Bug bootstrap/52700] lib* " pluto at agmk dot net
2012-05-12 11:30 ` pluto at agmk dot net
2012-05-14 16:08 ` bkoz at gcc dot gnu.org
2012-05-21 17:57 ` bkoz at gcc dot gnu.org
2012-05-21 18:20 ` bkoz at gcc dot gnu.org
2012-05-21 18:46 ` bkoz at gcc dot gnu.org
2012-05-21 21:02 ` pluto at agmk dot net
2012-05-23  3:28 ` bkoz at gcc dot gnu.org
2012-05-23  8:46 ` pluto at agmk dot net
2012-05-29 20:56 ` bkoz at gcc dot gnu.org
2012-05-31 22:05 ` bkoz 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).