public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug bootstrap/53183] New: [4.7/4.8 Regression] libgcc does not always figure out the size of double/long double @ 2012-05-02 1:58 pinskia at gcc dot gnu.org 2012-05-02 11:53 ` [Bug bootstrap/53183] " rguenth at gcc dot gnu.org ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: pinskia at gcc dot gnu.org @ 2012-05-02 1:58 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53183 Bug #: 53183 Summary: [4.7/4.8 Regression] libgcc does not always figure out the size of double/long double Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned@gcc.gnu.org ReportedBy: pinskia@gcc.gnu.org When compiling for a cross compiler to mips64-linux-gnu, we need to build a minimal compiler which does not have any libc headers including stdio.h. So when we go to link n32 (or n64) glibc, it fails saying undefined symbols for the TF functions. The reason why it fails is because libgcc's configure did not figure out the size of long double. The reason why that test fails is because there is an include for stdio.h. The default AC_CHECK_SIZEOF uses the default include requirements which include stdio.h unconditionally. Add to configure.ac and regenerate. # The libgcc should not depend on any header files AC_DEFUN([_AC_INCLUDES_DEFAULT_REQUIREMENTS], [m4_divert_text([DEFAULTS], [ac_includes_default='/* none */'])]) --- CUT --- I will submit this patch after I finish testing it but I wanted to file this as a bug so it does not get lost. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/53183] [4.7/4.8 Regression] libgcc does not always figure out the size of double/long double 2012-05-02 1:58 [Bug bootstrap/53183] New: [4.7/4.8 Regression] libgcc does not always figure out the size of double/long double pinskia at gcc dot gnu.org @ 2012-05-02 11:53 ` rguenth at gcc dot gnu.org 2012-05-20 20:11 ` pinskia at gcc dot gnu.org ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu.org @ 2012-05-02 11:53 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53183 Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.7.1 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/53183] [4.7/4.8 Regression] libgcc does not always figure out the size of double/long double 2012-05-02 1:58 [Bug bootstrap/53183] New: [4.7/4.8 Regression] libgcc does not always figure out the size of double/long double pinskia at gcc dot gnu.org 2012-05-02 11:53 ` [Bug bootstrap/53183] " rguenth at gcc dot gnu.org @ 2012-05-20 20:11 ` pinskia at gcc dot gnu.org 2012-05-21 20:55 ` pinskia at gcc dot gnu.org ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu.org @ 2012-05-20 20:11 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53183 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2012-05-20 AssignedTo|unassigned at gcc dot |pinskia at gcc dot gnu.org |gnu.org | Ever Confirmed|0 |1 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-05-20 19:43:22 UTC --- Mine. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/53183] [4.7/4.8 Regression] libgcc does not always figure out the size of double/long double 2012-05-02 1:58 [Bug bootstrap/53183] New: [4.7/4.8 Regression] libgcc does not always figure out the size of double/long double pinskia at gcc dot gnu.org 2012-05-02 11:53 ` [Bug bootstrap/53183] " rguenth at gcc dot gnu.org 2012-05-20 20:11 ` pinskia at gcc dot gnu.org @ 2012-05-21 20:55 ` pinskia at gcc dot gnu.org 2012-05-21 21:00 ` pinskia at gcc dot gnu.org 2012-05-22 5:13 ` pinskia at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu.org @ 2012-05-21 20:55 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53183 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-05-21 18:56:53 UTC --- Author: pinskia Date: Mon May 21 18:56:35 2012 New Revision: 187732 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187732 Log: 2012-05-21 Andrew Pinski <apinski@cavium.com> PR bootstrap/53183 * configure.ac: Define the default includes to being none. * configure: Regenerate. Modified: trunk/libgcc/ChangeLog trunk/libgcc/configure trunk/libgcc/configure.ac ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/53183] [4.7/4.8 Regression] libgcc does not always figure out the size of double/long double 2012-05-02 1:58 [Bug bootstrap/53183] New: [4.7/4.8 Regression] libgcc does not always figure out the size of double/long double pinskia at gcc dot gnu.org ` (2 preceding siblings ...) 2012-05-21 20:55 ` pinskia at gcc dot gnu.org @ 2012-05-21 21:00 ` pinskia at gcc dot gnu.org 2012-05-22 5:13 ` pinskia at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu.org @ 2012-05-21 21:00 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53183 --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-05-21 19:02:28 UTC --- Author: pinskia Date: Mon May 21 19:02:11 2012 New Revision: 187733 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187733 Log: 2012-05-21 Andrew Pinski <apinski@cavium.com> PR bootstrap/53183 * configure.ac: Define the default includes to being none. * configure: Regenerate. Modified: branches/gcc-4_7-branch/libgcc/ (props changed) branches/gcc-4_7-branch/libgcc/ChangeLog branches/gcc-4_7-branch/libgcc/configure branches/gcc-4_7-branch/libgcc/configure.ac Propchange: branches/gcc-4_7-branch/libgcc/ ('svn:mergeinfo' added) ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/53183] [4.7/4.8 Regression] libgcc does not always figure out the size of double/long double 2012-05-02 1:58 [Bug bootstrap/53183] New: [4.7/4.8 Regression] libgcc does not always figure out the size of double/long double pinskia at gcc dot gnu.org ` (3 preceding siblings ...) 2012-05-21 21:00 ` pinskia at gcc dot gnu.org @ 2012-05-22 5:13 ` pinskia at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu.org @ 2012-05-22 5:13 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53183 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-05-22 05:12:11 UTC --- Fixed. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-05-22 5:12 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2012-05-02 1:58 [Bug bootstrap/53183] New: [4.7/4.8 Regression] libgcc does not always figure out the size of double/long double pinskia at gcc dot gnu.org 2012-05-02 11:53 ` [Bug bootstrap/53183] " rguenth at gcc dot gnu.org 2012-05-20 20:11 ` pinskia at gcc dot gnu.org 2012-05-21 20:55 ` pinskia at gcc dot gnu.org 2012-05-21 21:00 ` pinskia at gcc dot gnu.org 2012-05-22 5:13 ` 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).