public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/26473] New: cross-building installs ssp headers to $(includedir)
@ 2006-02-26 12:55 ralf dot corsepius at rtems dot org
2006-02-26 14:48 ` [Bug other/26473] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
` (10 more replies)
0 siblings, 11 replies; 12+ messages in thread
From: ralf dot corsepius at rtems dot org @ 2006-02-26 12:55 UTC (permalink / raw)
To: gcc-bugs
Cross building gcc-4.1.0rc2 installs
$prefix/include/ssp/unistd.h
$prefix/include/ssp/string.h
$prefix/include/ssp/ssp.h
$prefix/include/ssp/stdio.h
i.e. they are being installed into the build-host's include directory.
This hardly can be correct.
--
Summary: cross-building installs ssp headers to $(includedir)
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ralf dot corsepius at rtems dot org
GCC target triplet: != host
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26473
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug other/26473] [4.1/4.2 Regression] cross-building installs ssp headers to $(includedir)
2006-02-26 12:55 [Bug other/26473] New: cross-building installs ssp headers to $(includedir) ralf dot corsepius at rtems dot org
@ 2006-02-26 14:48 ` pinskia at gcc dot gnu dot org
2006-02-26 15:01 ` pinskia at gcc dot gnu dot org
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-26 14:48 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |346
nThis| |
Summary|cross-building installs ssp |[4.1/4.2 Regression] cross-
|headers to $(includedir) |building installs ssp
| |headers to $(includedir)
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26473
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug other/26473] [4.1/4.2 Regression] cross-building installs ssp headers to $(includedir)
2006-02-26 12:55 [Bug other/26473] New: cross-building installs ssp headers to $(includedir) ralf dot corsepius at rtems dot org
2006-02-26 14:48 ` [Bug other/26473] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
@ 2006-02-26 15:01 ` pinskia at gcc dot gnu dot org
2006-02-27 14:12 ` ralf dot corsepius at rtems dot org
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-26 15:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-02-26 14:48 -------
Confirmed, this is just like PR 25938 for libgomp.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
GCC target triplet|!= host |
Last reconfirmed|0000-00-00 00:00:00 |2006-02-26 14:48:34
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26473
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug other/26473] [4.1/4.2 Regression] cross-building installs ssp headers to $(includedir)
2006-02-26 12:55 [Bug other/26473] New: cross-building installs ssp headers to $(includedir) ralf dot corsepius at rtems dot org
2006-02-26 14:48 ` [Bug other/26473] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
2006-02-26 15:01 ` pinskia at gcc dot gnu dot org
@ 2006-02-27 14:12 ` ralf dot corsepius at rtems dot org
2006-02-27 14:14 ` ralf dot corsepius at rtems dot org
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: ralf dot corsepius at rtems dot org @ 2006-02-27 14:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from ralf dot corsepius at rtems dot org 2006-02-27 14:11 -------
IMO, the cause is clear: The toplevel configure script is broken.
Rationale:
1. libssp/* applies a standard automake-based configuration. i.e. includedir is
supposed to be pointing to the final $includedir, i.e. libssp/configure.ac
expects
--includedir=${exec_prefix}/${target_alias}/include for cross compilation
The toplevel configure script however (bogusly) passes
--includedir=$(includedir) [here /usr/local/include] in TARGET_CONFIGARGS,
which causes libssp/configure to receive a bogus includedir.
(Check for includedir in $target_alias/libssp/{config.status|Makefile} of a
configured build tree)
=> Adding --includedir=${exec_prefix}/${target_alias}/include to
TARGET_CONFIGARGS would be a work-around.
But then, ... the next bug hits:
2. The toplevel configure script exports includedir=$(includedir).
This bogusly overrides includedir again.
To overcome both issues, I am proposing the patch in the attachment.
ATM, this patch is tested with --languages=c --target=sparc-rtems4.7, only, but
I'd expect this patch also to resolve the mudflap rsp. gomp headers issues.
--
ralf dot corsepius at rtems dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |joel at oarcorp dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26473
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug other/26473] [4.1/4.2 Regression] cross-building installs ssp headers to $(includedir)
2006-02-26 12:55 [Bug other/26473] New: cross-building installs ssp headers to $(includedir) ralf dot corsepius at rtems dot org
` (2 preceding siblings ...)
2006-02-27 14:12 ` ralf dot corsepius at rtems dot org
@ 2006-02-27 14:14 ` ralf dot corsepius at rtems dot org
2006-02-27 17:48 ` ralf dot corsepius at rtems dot org
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: ralf dot corsepius at rtems dot org @ 2006-02-27 14:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from ralf dot corsepius at rtems dot org 2006-02-27 14:12 -------
Created an attachment (id=10920)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10920&action=view)
Before mentioned patch
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26473
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug other/26473] [4.1/4.2 Regression] cross-building installs ssp headers to $(includedir)
2006-02-26 12:55 [Bug other/26473] New: cross-building installs ssp headers to $(includedir) ralf dot corsepius at rtems dot org
` (3 preceding siblings ...)
2006-02-27 14:14 ` ralf dot corsepius at rtems dot org
@ 2006-02-27 17:48 ` ralf dot corsepius at rtems dot org
2006-02-27 18:11 ` ralf dot corsepius at rtems dot org
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: ralf dot corsepius at rtems dot org @ 2006-02-27 17:48 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from ralf dot corsepius at rtems dot org 2006-02-27 17:44 -------
(From update of attachment 10920)
Though I still think GCC's toplevel configure to be bugged and this to be
fixing some of then, this patch doesn't solve the problems of this PR.
withdrawn
--
ralf dot corsepius at rtems dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #10920|0 |1
is obsolete| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26473
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug other/26473] [4.1/4.2 Regression] cross-building installs ssp headers to $(includedir)
2006-02-26 12:55 [Bug other/26473] New: cross-building installs ssp headers to $(includedir) ralf dot corsepius at rtems dot org
` (4 preceding siblings ...)
2006-02-27 17:48 ` ralf dot corsepius at rtems dot org
@ 2006-02-27 18:11 ` ralf dot corsepius at rtems dot org
2006-02-27 22:36 ` mmitchel at gcc dot gnu dot org
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: ralf dot corsepius at rtems dot org @ 2006-02-27 18:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from ralf dot corsepius at rtems dot org 2006-02-27 17:48 -------
Created an attachment (id=10922)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10922&action=view)
Move ssp headers into $(toolexeclibdir)/include
This patch moves libssp's headers to $(toolexeclibdir)/include
(..../$version/include), similar to all other GCC internal headers.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26473
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug other/26473] [4.1/4.2 Regression] cross-building installs ssp headers to $(includedir)
2006-02-26 12:55 [Bug other/26473] New: cross-building installs ssp headers to $(includedir) ralf dot corsepius at rtems dot org
` (5 preceding siblings ...)
2006-02-27 18:11 ` ralf dot corsepius at rtems dot org
@ 2006-02-27 22:36 ` mmitchel at gcc dot gnu dot org
2006-02-28 0:41 ` mmitchel at gcc dot gnu dot org
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-02-27 22:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from mmitchel at gcc dot gnu dot org 2006-02-27 22:29 -------
Created an attachment (id=10927)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10927&action=view)
Proposed patch
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #10922|0 |1
is obsolete| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26473
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug other/26473] [4.1/4.2 Regression] cross-building installs ssp headers to $(includedir)
2006-02-26 12:55 [Bug other/26473] New: cross-building installs ssp headers to $(includedir) ralf dot corsepius at rtems dot org
` (6 preceding siblings ...)
2006-02-27 22:36 ` mmitchel at gcc dot gnu dot org
@ 2006-02-28 0:41 ` mmitchel at gcc dot gnu dot org
2006-02-28 0:45 ` mmitchel at gcc dot gnu dot org
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-02-28 0:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from mmitchel at gcc dot gnu dot org 2006-02-28 00:29 -------
Subject: Bug 26473
Author: mmitchel
Date: Tue Feb 28 00:29:00 2006
New Revision: 111500
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111500
Log:
PR 26473
* configure.ac (ACX_NONCANONICAL_TARGET): Use it.
* Makefile.am (target_noncanonical): Define.
(libsubincludedir): New variable.
(nobase_libsubinclude_HEADERS): Likewise.
(nobase_include_HEADERS): Remove.
* configure: Regenerated.
* Makefile.in: Likewise.
* aclocal.m4: Regenerated.
Modified:
branches/gcc-4_1-branch/libssp/ChangeLog
branches/gcc-4_1-branch/libssp/Makefile.am
branches/gcc-4_1-branch/libssp/Makefile.in
branches/gcc-4_1-branch/libssp/aclocal.m4
branches/gcc-4_1-branch/libssp/configure
branches/gcc-4_1-branch/libssp/configure.ac
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26473
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug other/26473] [4.1/4.2 Regression] cross-building installs ssp headers to $(includedir)
2006-02-26 12:55 [Bug other/26473] New: cross-building installs ssp headers to $(includedir) ralf dot corsepius at rtems dot org
` (7 preceding siblings ...)
2006-02-28 0:41 ` mmitchel at gcc dot gnu dot org
@ 2006-02-28 0:45 ` mmitchel at gcc dot gnu dot org
2006-02-28 1:18 ` mmitchel at gcc dot gnu dot org
2006-06-21 16:36 ` fche at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-02-28 0:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from mmitchel at gcc dot gnu dot org 2006-02-28 00:41 -------
Subject: Bug 26473
Author: mmitchel
Date: Tue Feb 28 00:41:19 2006
New Revision: 111501
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111501
Log:
PR 26473
* configure.ac (ACX_NONCANONICAL_TARGET): Use it.
* Makefile.am (target_noncanonical): Define.
(libsubincludedir): New variable.
(nobase_libsubinclude_HEADERS): Likewise.
(nobase_include_HEADERS): Remove.
* configure: Regenerated.
* Makefile.in: Likewise.
* aclocal.m4: Regenerated.
Modified:
trunk/libssp/ChangeLog
trunk/libssp/Makefile.am
trunk/libssp/Makefile.in
trunk/libssp/aclocal.m4
trunk/libssp/configure
trunk/libssp/configure.ac
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26473
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug other/26473] [4.1/4.2 Regression] cross-building installs ssp headers to $(includedir)
2006-02-26 12:55 [Bug other/26473] New: cross-building installs ssp headers to $(includedir) ralf dot corsepius at rtems dot org
` (8 preceding siblings ...)
2006-02-28 0:45 ` mmitchel at gcc dot gnu dot org
@ 2006-02-28 1:18 ` mmitchel at gcc dot gnu dot org
2006-06-21 16:36 ` fche at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-02-28 1:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from mmitchel at gcc dot gnu dot org 2006-02-28 01:10 -------
Fixed in 4.1.0.
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26473
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug other/26473] [4.1/4.2 Regression] cross-building installs ssp headers to $(includedir)
2006-02-26 12:55 [Bug other/26473] New: cross-building installs ssp headers to $(includedir) ralf dot corsepius at rtems dot org
` (9 preceding siblings ...)
2006-02-28 1:18 ` mmitchel at gcc dot gnu dot org
@ 2006-06-21 16:36 ` fche at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: fche at gcc dot gnu dot org @ 2006-06-21 16:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from fche at gcc dot gnu dot org 2006-06-21 16:35 -------
Subject: Bug 26473
Author: fche
Date: Wed Jun 21 16:35:27 2006
New Revision: 114855
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114855
Log:
2006-06-21 Frank Ch. Eigler <fche@redhat.com>
PR 21274
mf-runtime.h installation based on ssp patch for PR 26473 from
Mark Mitchell <mark@codesourcery.com>.
* configure.ac (ACX_NONCANONICAL_TARGET): Use it.
* Makefile.am (target_noncanonical): Define.
(libsubincludedir): New variable.
(nobase_libsubinclude_HEADERS): Add mf-runtime.h.
(include_HEADERS): Remove.
* configure, aclocal.m4, config.h.in: Regenerated.
* Makefile.in, testsuite/Makefile.in: Likewise.
* mf-runtime.h: Add #ifndef protection for conflicting _REENTRANT
and _THREAD_SAFE redefinition values.
Modified:
trunk/libmudflap/ChangeLog
trunk/libmudflap/Makefile.am
trunk/libmudflap/Makefile.in
trunk/libmudflap/aclocal.m4
trunk/libmudflap/config.h.in
trunk/libmudflap/configure
trunk/libmudflap/configure.ac
trunk/libmudflap/mf-runtime.h
trunk/libmudflap/testsuite/Makefile.in
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26473
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2006-06-21 16:36 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-26 12:55 [Bug other/26473] New: cross-building installs ssp headers to $(includedir) ralf dot corsepius at rtems dot org
2006-02-26 14:48 ` [Bug other/26473] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
2006-02-26 15:01 ` pinskia at gcc dot gnu dot org
2006-02-27 14:12 ` ralf dot corsepius at rtems dot org
2006-02-27 14:14 ` ralf dot corsepius at rtems dot org
2006-02-27 17:48 ` ralf dot corsepius at rtems dot org
2006-02-27 18:11 ` ralf dot corsepius at rtems dot org
2006-02-27 22:36 ` mmitchel at gcc dot gnu dot org
2006-02-28 0:41 ` mmitchel at gcc dot gnu dot org
2006-02-28 0:45 ` mmitchel at gcc dot gnu dot org
2006-02-28 1:18 ` mmitchel at gcc dot gnu dot org
2006-06-21 16:36 ` fche at gcc dot gnu 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).