public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/55304] New: libsanitizer can't be used with GCC autoconf
@ 2012-11-13  0:35 hjl.tools at gmail dot com
  2012-11-13  7:12 ` [Bug other/55304] " hjl.tools at gmail dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2012-11-13  0:35 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 55304
           Summary: libsanitizer can't be used with GCC autoconf
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hjl.tools@gmail.com


GCC only requires autoconf 2.64 while configure.ac has

AC_PREREQ([2.68])


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

* [Bug other/55304] libsanitizer can't be used with GCC autoconf
  2012-11-13  0:35 [Bug other/55304] New: libsanitizer can't be used with GCC autoconf hjl.tools at gmail dot com
@ 2012-11-13  7:12 ` hjl.tools at gmail dot com
  2012-11-13  7:15 ` pinskia at gcc dot gnu.org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2012-11-13  7:12 UTC (permalink / raw)
  To: gcc-bugs


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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2012-11-13 07:12:06 UTC ---
libsanitizer doesn't use GCC autoconf.


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

* [Bug other/55304] libsanitizer can't be used with GCC autoconf
  2012-11-13  0:35 [Bug other/55304] New: libsanitizer can't be used with GCC autoconf hjl.tools at gmail dot com
  2012-11-13  7:12 ` [Bug other/55304] " hjl.tools at gmail dot com
@ 2012-11-13  7:15 ` pinskia at gcc dot gnu.org
  2012-11-13 11:27 ` hjl.tools at gmail dot com
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-11-13  7:15 UTC (permalink / raw)
  To: gcc-bugs


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|WONTFIX                     |

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-11-13 07:15:16 UTC ---
Actually I think it should be the same version.  This is just like libffi.


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

* [Bug other/55304] libsanitizer can't be used with GCC autoconf
  2012-11-13  0:35 [Bug other/55304] New: libsanitizer can't be used with GCC autoconf hjl.tools at gmail dot com
  2012-11-13  7:12 ` [Bug other/55304] " hjl.tools at gmail dot com
  2012-11-13  7:15 ` pinskia at gcc dot gnu.org
@ 2012-11-13 11:27 ` hjl.tools at gmail dot com
  2012-11-13 16:54 ` hjl.tools at gmail dot com
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2012-11-13 11:27 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2012-11-13 11:27:39 UTC ---
One problem is AM_PROG_LIBTOOL, which is the part of libtool.
GCC autoconf doesn't use libtool since we have in-tree
libtool.  To use GCC autoconf, we need also use the rest of
libtool support in GCC source tree. That means it will make
libsanitizer depends on GCC source tree.


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

* [Bug other/55304] libsanitizer can't be used with GCC autoconf
  2012-11-13  0:35 [Bug other/55304] New: libsanitizer can't be used with GCC autoconf hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2012-11-13 11:27 ` hjl.tools at gmail dot com
@ 2012-11-13 16:54 ` hjl.tools at gmail dot com
  2012-11-14  0:02 ` hjl at gcc dot gnu.org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2012-11-13 16:54 UTC (permalink / raw)
  To: gcc-bugs


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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                URL|                            |http://gcc.gnu.org/ml/gcc-p
                   |                            |atches/2012-11/msg01003.htm
                   |                            |l
   Last reconfirmed|                            |2012-11-13
   Target Milestone|---                         |4.8.0
     Ever Confirmed|0                           |1

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> 2012-11-13 16:54:21 UTC ---
This patch

http://gcc.gnu.org/ml/gcc-patches/2012-11/msg01003.html

fixes it.


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

* [Bug other/55304] libsanitizer can't be used with GCC autoconf
  2012-11-13  0:35 [Bug other/55304] New: libsanitizer can't be used with GCC autoconf hjl.tools at gmail dot com
                   ` (3 preceding siblings ...)
  2012-11-13 16:54 ` hjl.tools at gmail dot com
@ 2012-11-14  0:02 ` hjl at gcc dot gnu.org
  2012-11-14  0:03 ` hjl.tools at gmail dot com
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: hjl at gcc dot gnu.org @ 2012-11-14  0:02 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #5 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2012-11-14 00:02:16 UTC ---
Author: hjl
Date: Wed Nov 14 00:02:12 2012
New Revision: 193491

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193491
Log:
Update configure.ac for GCC tree and remove unused files

    PR other/55304
    * acinclude.m4: New file.
    * Makefile.am (ACLOCAL_AMFLAGS): New.
    * configure.ac (AC_PREREQ): Set to 2.64.
    (AC_CONFIG_AUX_DIR): Set to "..".
    * Makefile.in: Regenerated.
    * aclocal.m4: Likewise.
    * configure: Likewise.
    * asan/Makefile.in: Likewise.
    * interception/Makefile.in: Likewise.
    * sanitizer_common/Makefile.in: Likewise.

    * config.guess: Removed.
    * config.sub: Likewise.
    * depcomp: Likewise.
    * install-sh: Likewise.
    * ltmain.sh: Likewise.
    * missing: Likewise.

Added:
    trunk/libsanitizer/acinclude.m4
Removed:
    trunk/libsanitizer/config.guess
    trunk/libsanitizer/config.sub
    trunk/libsanitizer/depcomp
    trunk/libsanitizer/install-sh
    trunk/libsanitizer/ltmain.sh
    trunk/libsanitizer/missing
Modified:
    trunk/libsanitizer/ChangeLog.asan
    trunk/libsanitizer/Makefile.am
    trunk/libsanitizer/Makefile.in
    trunk/libsanitizer/aclocal.m4
    trunk/libsanitizer/asan/Makefile.in
    trunk/libsanitizer/configure
    trunk/libsanitizer/configure.ac
    trunk/libsanitizer/interception/Makefile.in
    trunk/libsanitizer/sanitizer_common/Makefile.in


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

* [Bug other/55304] libsanitizer can't be used with GCC autoconf
  2012-11-13  0:35 [Bug other/55304] New: libsanitizer can't be used with GCC autoconf hjl.tools at gmail dot com
                   ` (4 preceding siblings ...)
  2012-11-14  0:02 ` hjl at gcc dot gnu.org
@ 2012-11-14  0:03 ` hjl.tools at gmail dot com
  2012-11-15 14:09 ` izamyatin at gmail dot com
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2012-11-14  0:03 UTC (permalink / raw)
  To: gcc-bugs


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

H.J. Lu <hjl.tools at gmail dot com> changed:

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

--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> 2012-11-14 00:02:55 UTC ---
Fixed.


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

* [Bug other/55304] libsanitizer can't be used with GCC autoconf
  2012-11-13  0:35 [Bug other/55304] New: libsanitizer can't be used with GCC autoconf hjl.tools at gmail dot com
                   ` (5 preceding siblings ...)
  2012-11-14  0:03 ` hjl.tools at gmail dot com
@ 2012-11-15 14:09 ` izamyatin at gmail dot com
  2012-11-15 14:12 ` hjl.tools at gmail dot com
  2012-11-15 14:26 ` izamyatin at gmail dot com
  8 siblings, 0 replies; 10+ messages in thread
From: izamyatin at gmail dot com @ 2012-11-15 14:09 UTC (permalink / raw)
  To: gcc-bugs


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

Igor Zamyatin <izamyatin at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |izamyatin at gmail dot com

--- Comment #7 from Igor Zamyatin <izamyatin at gmail dot com> 2012-11-15 14:09:09 UTC ---
That's strange but on x86 I see 

CDPATH="${ZSH_VERSION+.}:" && cd ../../../libsanitizer && /bin/sh
/export/users/izamyati/tmp_gcc/missing --run aclocal-1.11 -I .. -I ../config
configure.ac:5: error: Please use exactly Autoconf 2.64 instead of 2.68.
../config/override.m4:12: _GCC_AUTOCONF_VERSION_CHECK is expanded from...
configure.ac:5: the top level
autom4te: m4 failed with exit status: 1
aclocal-1.11: autom4te failed with exit status: 1
make[2]: *** [../../../libsanitizer/aclocal.m4] Error 1

during build for following configuration

../configure --disable-bootstrap --enable-clocale=gnu --with-system-zlib
--enable-shared --with-demangler-in-ld --with-fpmath=sse
--enable-languages=c,c++,fortran 

My head is at r193515.

Did I miss anything?


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

* [Bug other/55304] libsanitizer can't be used with GCC autoconf
  2012-11-13  0:35 [Bug other/55304] New: libsanitizer can't be used with GCC autoconf hjl.tools at gmail dot com
                   ` (6 preceding siblings ...)
  2012-11-15 14:09 ` izamyatin at gmail dot com
@ 2012-11-15 14:12 ` hjl.tools at gmail dot com
  2012-11-15 14:26 ` izamyatin at gmail dot com
  8 siblings, 0 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2012-11-15 14:12 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> 2012-11-15 14:11:54 UTC ---
(In reply to comment #7)
> That's strange but on x86 I see 
> 
> CDPATH="${ZSH_VERSION+.}:" && cd ../../../libsanitizer && /bin/sh
> /export/users/izamyati/tmp_gcc/missing --run aclocal-1.11 -I .. -I ../config
> configure.ac:5: error: Please use exactly Autoconf 2.64 instead of 2.68.
> ../config/override.m4:12: _GCC_AUTOCONF_VERSION_CHECK is expanded from...
> configure.ac:5: the top level
> autom4te: m4 failed with exit status: 1
> aclocal-1.11: autom4te failed with exit status: 1
> make[2]: *** [../../../libsanitizer/aclocal.m4] Error 1
> 
> during build for following configuration
> 
> ../configure --disable-bootstrap --enable-clocale=gnu --with-system-zlib
> --enable-shared --with-demangler-in-ld --with-fpmath=sse
> --enable-languages=c,c++,fortran 
> 
> My head is at r193515.
> 
> Did I miss anything?

You must run

# ./contrib/gcc_update --touch


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

* [Bug other/55304] libsanitizer can't be used with GCC autoconf
  2012-11-13  0:35 [Bug other/55304] New: libsanitizer can't be used with GCC autoconf hjl.tools at gmail dot com
                   ` (7 preceding siblings ...)
  2012-11-15 14:12 ` hjl.tools at gmail dot com
@ 2012-11-15 14:26 ` izamyatin at gmail dot com
  8 siblings, 0 replies; 10+ messages in thread
From: izamyatin at gmail dot com @ 2012-11-15 14:26 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #9 from Igor Zamyatin <izamyatin at gmail dot com> 2012-11-15 14:25:42 UTC ---
Thanks, this helped


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

end of thread, other threads:[~2012-11-15 14:26 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-13  0:35 [Bug other/55304] New: libsanitizer can't be used with GCC autoconf hjl.tools at gmail dot com
2012-11-13  7:12 ` [Bug other/55304] " hjl.tools at gmail dot com
2012-11-13  7:15 ` pinskia at gcc dot gnu.org
2012-11-13 11:27 ` hjl.tools at gmail dot com
2012-11-13 16:54 ` hjl.tools at gmail dot com
2012-11-14  0:02 ` hjl at gcc dot gnu.org
2012-11-14  0:03 ` hjl.tools at gmail dot com
2012-11-15 14:09 ` izamyatin at gmail dot com
2012-11-15 14:12 ` hjl.tools at gmail dot com
2012-11-15 14:26 ` izamyatin at gmail dot com

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).