public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/49247] New: libiberty configure assumes newlib does not supply psignal
@ 2011-05-31 19:42 janis at gcc dot gnu.org
  2011-06-22 20:19 ` [Bug bootstrap/49247] " hp at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: janis at gcc dot gnu.org @ 2011-05-31 19:42 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: libiberty configure assumes newlib does not supply
                    psignal
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: janis@gcc.gnu.org


A build of GCC mainline for arm-none-eabi using mainline newlib fails
with:

/scratch/janisjo/arm-eabi-fsf/src/gcc-mainline/libiberty/strsignal.c:554:1:
error: conflicting types for 'psignal'
/scratch/janisjo/arm-eabi-fsf/install/arm-none-eabi/include/signal.h:27:6:
note: previous declaration of 'psignal' was here

where the installed version comes from newlib.  The libiberty version has
an argument with "char *" and the newlib version uses "const char *" for
that argument.

The newlib version of psignal was added on 2011-05-04.

The libiberty version of psignal is not compiled if HAVE_PSIGNAL is
defined, but when building against newlib it is never defined.

libiberty/configure.ac says:

  # If we are being configured for newlib, we know which functions
  # newlib provide and which ones we will be expected to provide.

and

    # Of the functions in $checkfuncs, newlib only has strerror.

This is no longer true, as the latest newlib now has psignal as well.
It could also be the case that later versions of newlib will have other
funtions in $checkfuncs.


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

* [Bug bootstrap/49247] libiberty configure assumes newlib does not supply psignal
  2011-05-31 19:42 [Bug bootstrap/49247] New: libiberty configure assumes newlib does not supply psignal janis at gcc dot gnu.org
@ 2011-06-22 20:19 ` hp at gcc dot gnu.org
  2011-06-22 21:33 ` hp at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: hp at gcc dot gnu.org @ 2011-06-22 20:19 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Hans-Peter Nilsson <hp at gcc dot gnu.org> 2011-06-22 20:17:58 UTC ---
Author: hp
Date: Wed Jun 22 20:17:47 2011
New Revision: 175307

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175307
Log:
    PR regression/47836
    PR bootstrap/23656
    PR other/47733
    PR bootstrap/49247
    * configure.ac (target_libraries): Remove target-libiberty.
    Remove case-statement setting skipdirs=target-libiberty for
    multiple targets.  Remove checking target_configdirs and
    removing target-libiberty but keeping target-libgcc if
    otherwise empty.
    * Makefile.def (target_modules): Don't add libiberty.
    (dependencies): Remove all traces of target-libiberty.
    * configure, Makefile.in: Regenerate.
(fixing PR annotations in the ChangeLog entry)

Modified:
    trunk/ChangeLog


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

* [Bug bootstrap/49247] libiberty configure assumes newlib does not supply psignal
  2011-05-31 19:42 [Bug bootstrap/49247] New: libiberty configure assumes newlib does not supply psignal janis at gcc dot gnu.org
  2011-06-22 20:19 ` [Bug bootstrap/49247] " hp at gcc dot gnu.org
@ 2011-06-22 21:33 ` hp at gcc dot gnu.org
  2011-06-27 20:56 ` hp at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: hp at gcc dot gnu.org @ 2011-06-22 21:33 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Hans-Peter Nilsson <hp at gcc dot gnu.org> 2011-06-22 21:30:25 UTC ---
Author: hp
Date: Wed Jun 22 21:30:19 2011
New Revision: 175316

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175316
Log:
    PR regression/47836
    PR bootstrap/23656
    PR other/47733
    PR bootstrap/49247
    PR c/48825
    * configure.ac (target_libraries): Remove target-libiberty.
    Remove case-statement setting skipdirs=target-libiberty for
    multiple targets.  Remove checking target_configdirs and
    removing target-libiberty but keeping target-libgcc if
    otherwise empty.
    * Makefile.def (target_modules): Don't add libiberty.
    (dependencies): Remove all traces of target-libiberty.
    * configure, Makefile.in: Regenerate.
(add missing PR annotation in the ChangeLog entry)

Modified:
    trunk/ChangeLog


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

* [Bug bootstrap/49247] libiberty configure assumes newlib does not supply psignal
  2011-05-31 19:42 [Bug bootstrap/49247] New: libiberty configure assumes newlib does not supply psignal janis at gcc dot gnu.org
  2011-06-22 20:19 ` [Bug bootstrap/49247] " hp at gcc dot gnu.org
  2011-06-22 21:33 ` hp at gcc dot gnu.org
@ 2011-06-27 20:56 ` hp at gcc dot gnu.org
  2011-06-27 21:05 ` hp at gcc dot gnu.org
  2011-12-15  1:45 ` pinskia at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: hp at gcc dot gnu.org @ 2011-06-27 20:56 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Hans-Peter Nilsson <hp at gcc dot gnu.org> 2011-06-27 20:55:04 UTC ---
Author: hp
Date: Mon Jun 27 20:54:59 2011
New Revision: 175560

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175560
Log:
    PR regression/47836
    PR bootstrap/23656
    PR other/47733
    PR bootstrap/49247
    PR c/48825
    * configure.ac (target_libraries): Remove target-libiberty.
    Remove all target-specific settings adding target-libiberty to
    skipdirs and noconfigdirs.  Remove checking target_configdirs
    and removing target-libiberty but keeping target-libgcc if
    otherwise empty.
    * Makefile.def (target_modules): Don't add libiberty.
    (dependencies): Remove all traces of target-libiberty.
    * configure, Makefile.in: Regenerate.

Modified:
    branches/gcc-4_6-branch/ChangeLog
    branches/gcc-4_6-branch/Makefile.def
    branches/gcc-4_6-branch/Makefile.in
    branches/gcc-4_6-branch/configure
    branches/gcc-4_6-branch/configure.ac


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

* [Bug bootstrap/49247] libiberty configure assumes newlib does not supply psignal
  2011-05-31 19:42 [Bug bootstrap/49247] New: libiberty configure assumes newlib does not supply psignal janis at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2011-06-27 20:56 ` hp at gcc dot gnu.org
@ 2011-06-27 21:05 ` hp at gcc dot gnu.org
  2011-12-15  1:45 ` pinskia at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: hp at gcc dot gnu.org @ 2011-06-27 21:05 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Hans-Peter Nilsson <hp at gcc dot gnu.org> 2011-06-27 21:03:00 UTC ---
Author: hp
Date: Mon Jun 27 21:02:53 2011
New Revision: 175564

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175564
Log:
    PR regression/47836
    PR bootstrap/23656
    PR other/47733
    PR bootstrap/49247
    PR c/48825
    * configure.ac (target_libraries): Remove target-libiberty.
    Remove all target-specific settings adding target-libiberty to
    skipdirs and noconfigdirs.  Remove checking target_configdirs
    and removing target-libiberty but keeping target-libgcc if
    otherwise empty.
    * Makefile.def (target_modules): Don't add libiberty.
    (dependencies): Remove all traces of target-libiberty.
    * configure, Makefile.in: Regenerate.

Modified:
    branches/gcc-4_5-branch/ChangeLog
    branches/gcc-4_5-branch/Makefile.def
    branches/gcc-4_5-branch/Makefile.in
    branches/gcc-4_5-branch/configure
    branches/gcc-4_5-branch/configure.ac


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

* [Bug bootstrap/49247] libiberty configure assumes newlib does not supply psignal
  2011-05-31 19:42 [Bug bootstrap/49247] New: libiberty configure assumes newlib does not supply psignal janis at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2011-06-27 21:05 ` hp at gcc dot gnu.org
@ 2011-12-15  1:45 ` pinskia at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-12-15  1:45 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-12-15 01:42:37 UTC ---
Dup of bug 47733

*** This bug has been marked as a duplicate of bug 47733 ***


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

end of thread, other threads:[~2011-12-15  1:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-31 19:42 [Bug bootstrap/49247] New: libiberty configure assumes newlib does not supply psignal janis at gcc dot gnu.org
2011-06-22 20:19 ` [Bug bootstrap/49247] " hp at gcc dot gnu.org
2011-06-22 21:33 ` hp at gcc dot gnu.org
2011-06-27 20:56 ` hp at gcc dot gnu.org
2011-06-27 21:05 ` hp at gcc dot gnu.org
2011-12-15  1:45 ` pinskia 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).