public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/37923]  New: CPPFLAGS now unset for stage 1 build of libcpp files.
@ 2008-10-27  0:42 howarth at nitro dot med dot uc dot edu
  2008-10-27  0:51 ` [Bug bootstrap/37923] " howarth at nitro dot med dot uc dot edu
                   ` (35 more replies)
  0 siblings, 36 replies; 37+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2008-10-27  0:42 UTC (permalink / raw)
  To: gcc-bugs

Building gcc trunk with...

../gcc-4.4-20081026/configure --prefix=/sw --prefix=/sw/lib/gcc4.4
--mandir=/sw/share/man --infodir=/sw/share/info
--enable-languages=c,c++,fortran,objc,java --with-
arch=nocona --with-tune=generic --build=i686-apple-darwin9 --with-gmp=/sw
--with-libiconv-prefix=/sw --with-system-zlib --x-includes=/usr/X11R6/include
--x-libraries=/us
r/X11R6/lib --with-cloog=/sw --with-ppl=/sw --disable-libjava-multilib

has always worked on i686-apple-darwin9 until recently. Now the CPPFLAGS
setting of -I/sw/include is being unset at the toplevel Makefile (even though
it is set in the Makefile in the libcpp subdirectory). This causes the
bootstrap to fail as...

gcc  -I../../gcc-4.4-20081026/libcpp -I.
-I../../gcc-4.4-20081026/libcpp/../include
-I../../gcc-4.4-20081026/libcpp/include  -g -fkeep-inline-functions -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -pedantic -Wno-long-long 
-I../../gcc-4.4-20081026/libcpp -I. -I../../gcc-4.4-20081026/libcpp/../include
-I../../gcc-4.4-20081026/libcpp/include  -c -o charset.o -MT charset.o -MMD -MP
-MF .deps/charset.Tpo ../../gcc-4.4-20081026/libcpp/charset.c
In file included from ../../gcc-4.4-20081026/libcpp/charset.c:22:
../../gcc-4.4-20081026/libcpp/system.h:255:21: error: libintl.h: No such file
or directory
make[3]: *** [charset.o] Error 1
make[2]: *** [all-stage1-libcpp] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2

If one goes into /sw/src/fink.build/gcc44-4.3.999-20081026/darwin_objdir/libcpp
and executes make the compile completes as...
gcc  -I../../gcc-4.4-20081026/libcpp -I.
-I../../gcc-4.4-20081026/libcpp/../include
-I../../gcc-4.4-20081026/libcpp/include -I/sw/include -g
-fkeep-inline-functions -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute
-pedantic -Wno-long-long  -I../../gcc-4.4-20081026/libcpp -I.
-I../../gcc-4.4-20081026/libcpp/../include
-I../../gcc-4.4-20081026/libcpp/include -I/sw/include -c -o charset.o -MT
charset.o -MMD -MP -MF .deps/charset.Tpo
../../gcc-4.4-20081026/libcpp/charset.c

The missing -I/sw/include set in the line...

CPPFLAGS = -I/sw/include

...in the Makefile in
/sw/src/fink.build/gcc44-4.3.999-20081026/darwin_objdir/libcpp. However at the
toplevel, /sw/src/fink.build/gcc44-4.3.999-20081026/darwin_objdir,
has...

CPPFLAGS_FOR_BUILD = 
...
CPPFLAGS = 
...
CPPFLAGS_FOR_TARGET = 

I believe this was caused by...

-----------------------------------------------------------------------
r141292 | drow | 2008-10-22 09:30:19 -0400 (Wed, 22 Oct 2008) | 21 lines

        ./
        PR gdb/921
        PR gdb/1646
        PR gdb/2175
        PR gdb/2176

        * Makefile.def (flags_to_pass): Add CPPFLAGS_FOR_BUILD and CPPFLAGS.
        * Makefile.tpl (BUILD_EXPORTS): Set CPPFLAGS.
        (EXTRA_BUILD_FLAGS): Correct typo.  Pass CPPFLAGS.
        (HOST_EXPORTS): Pass CPPFLAGS.
        (CPPFLAGS_FOR_BUILD, CPPFLAGS, CPPFLAGS_FOR_TARGET): Define.
        (LDFLAGS_FOR_TARGET): Initialize from configure script.
        (EXTRA_TARGET_FLAGS): Set CPPFLAGS.
        * Makefile.in, configure: Regenerated.
        * configure.ac: Set CPPFLAGS_FOR_TARGET, LDFLAGS_FOR_TARGET,
        and CPPFLAGS_FOR_BUILD.

        libiberty/
        * Makefile.in (CPPFLAGS): Define.
        (FLAGS_TO_PASS, COMPILE.c): Add CPPFLAGS.

Currently I have to explicitly set CPPFLAGS to build gcc trunk which results in
many duplicate instances of -I/sw/include throughout the build.


-- 
           Summary: CPPFLAGS now unset for stage 1 build of libcpp files.
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: howarth at nitro dot med dot uc dot edu
 GCC build triplet: i686-apple-darwin9
  GCC host triplet: i686-apple-darwin9
GCC target triplet: i686-apple-darwin9


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


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

* [Bug bootstrap/37923] CPPFLAGS now unset for stage 1 build of libcpp files.
  2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
@ 2008-10-27  0:51 ` howarth at nitro dot med dot uc dot edu
  2008-10-27  0:52 ` howarth at nitro dot med dot uc dot edu
                   ` (34 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2008-10-27  0:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from howarth at nitro dot med dot uc dot edu  2008-10-27 00:49 -------
Created an attachment (id=16554)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16554&action=view)
Toplevel Makefile from 20081016 build on i686-apple-darwin9


-- 


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


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

* [Bug bootstrap/37923] CPPFLAGS now unset for stage 1 build of libcpp files.
  2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
  2008-10-27  0:51 ` [Bug bootstrap/37923] " howarth at nitro dot med dot uc dot edu
@ 2008-10-27  0:52 ` howarth at nitro dot med dot uc dot edu
  2008-10-27  0:53 ` howarth at nitro dot med dot uc dot edu
                   ` (33 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2008-10-27  0:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from howarth at nitro dot med dot uc dot edu  2008-10-27 00:50 -------
Created an attachment (id=16555)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16555&action=view)
libcpp level Makefile from 20081016 build on i686-apple-darwin9


-- 


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


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

* [Bug bootstrap/37923] CPPFLAGS now unset for stage 1 build of libcpp files.
  2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
  2008-10-27  0:51 ` [Bug bootstrap/37923] " howarth at nitro dot med dot uc dot edu
  2008-10-27  0:52 ` howarth at nitro dot med dot uc dot edu
@ 2008-10-27  0:53 ` howarth at nitro dot med dot uc dot edu
  2008-10-27  0:54 ` howarth at nitro dot med dot uc dot edu
                   ` (32 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2008-10-27  0:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from howarth at nitro dot med dot uc dot edu  2008-10-27 00:51 -------
Created an attachment (id=16556)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16556&action=view)
Toplevel Makefile from 20081026 build on i686-apple-darwin9


-- 


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


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

* [Bug bootstrap/37923] CPPFLAGS now unset for stage 1 build of libcpp files.
  2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
                   ` (2 preceding siblings ...)
  2008-10-27  0:53 ` howarth at nitro dot med dot uc dot edu
@ 2008-10-27  0:54 ` howarth at nitro dot med dot uc dot edu
  2008-10-27  0:57 ` howarth at nitro dot med dot uc dot edu
                   ` (31 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2008-10-27  0:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from howarth at nitro dot med dot uc dot edu  2008-10-27 00:52 -------
Created an attachment (id=16557)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16557&action=view)
libcpp level Makefile from 20081026 build on i686-apple-darwin9


-- 


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


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

* [Bug bootstrap/37923] CPPFLAGS now unset for stage 1 build of libcpp files.
  2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
                   ` (3 preceding siblings ...)
  2008-10-27  0:54 ` howarth at nitro dot med dot uc dot edu
@ 2008-10-27  0:57 ` howarth at nitro dot med dot uc dot edu
  2008-10-27  0:58 ` howarth at nitro dot med dot uc dot edu
                   ` (30 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2008-10-27  0:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from howarth at nitro dot med dot uc dot edu  2008-10-27 00:56 -------
Created an attachment (id=16558)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16558&action=view)
toplevel config.log from 20081016


-- 


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


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

* [Bug bootstrap/37923] CPPFLAGS now unset for stage 1 build of libcpp files.
  2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
                   ` (4 preceding siblings ...)
  2008-10-27  0:57 ` howarth at nitro dot med dot uc dot edu
@ 2008-10-27  0:58 ` howarth at nitro dot med dot uc dot edu
  2008-10-27  0:59 ` howarth at nitro dot med dot uc dot edu
                   ` (29 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2008-10-27  0:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from howarth at nitro dot med dot uc dot edu  2008-10-27 00:56 -------
Created an attachment (id=16559)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16559&action=view)
libcpplevel config.log from 20081016


-- 


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


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

* [Bug bootstrap/37923] CPPFLAGS now unset for stage 1 build of libcpp files.
  2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
                   ` (5 preceding siblings ...)
  2008-10-27  0:58 ` howarth at nitro dot med dot uc dot edu
@ 2008-10-27  0:59 ` howarth at nitro dot med dot uc dot edu
  2008-10-27  0:59 ` howarth at nitro dot med dot uc dot edu
                   ` (28 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2008-10-27  0:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from howarth at nitro dot med dot uc dot edu  2008-10-27 00:58 -------
Created an attachment (id=16561)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16561&action=view)
libcpplevel config.log from 20081026


-- 


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


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

* [Bug bootstrap/37923] CPPFLAGS now unset for stage 1 build of libcpp files.
  2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
                   ` (6 preceding siblings ...)
  2008-10-27  0:59 ` howarth at nitro dot med dot uc dot edu
@ 2008-10-27  0:59 ` howarth at nitro dot med dot uc dot edu
  2008-10-27  1:03 ` howarth at nitro dot med dot uc dot edu
                   ` (27 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2008-10-27  0:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from howarth at nitro dot med dot uc dot edu  2008-10-27 00:57 -------
Created an attachment (id=16560)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16560&action=view)
toplevel config.log from 20081026


-- 


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


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

* [Bug bootstrap/37923] CPPFLAGS now unset for stage 1 build of libcpp files.
  2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
                   ` (7 preceding siblings ...)
  2008-10-27  0:59 ` howarth at nitro dot med dot uc dot edu
@ 2008-10-27  1:03 ` howarth at nitro dot med dot uc dot edu
  2008-10-27  1:59 ` [Bug bootstrap/37923] [4.4 Regression] " pinskia at gcc dot gnu dot org
                   ` (26 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2008-10-27  1:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from howarth at nitro dot med dot uc dot edu  2008-10-27 01:02 -------
Created an attachment (id=16562)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16562&action=view)
toplevel config.log from 20081026


-- 

howarth at nitro dot med dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #16560|0                           |1
        is obsolete|                            |


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


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

* [Bug bootstrap/37923] [4.4 Regression] CPPFLAGS now unset for stage 1 build of libcpp files.
  2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
                   ` (8 preceding siblings ...)
  2008-10-27  1:03 ` howarth at nitro dot med dot uc dot edu
@ 2008-10-27  1:59 ` pinskia at gcc dot gnu dot org
  2008-10-27  2:47 ` drow at gcc dot gnu dot org
                   ` (25 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-10-27  1:59 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |build
            Summary|CPPFLAGS now unset for stage|[4.4 Regression] CPPFLAGS
                   |1 build of libcpp files.    |now unset for stage 1 build
                   |                            |of libcpp files.
   Target Milestone|---                         |4.4.0


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


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

* [Bug bootstrap/37923] [4.4 Regression] CPPFLAGS now unset for stage 1 build of libcpp files.
  2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
                   ` (9 preceding siblings ...)
  2008-10-27  1:59 ` [Bug bootstrap/37923] [4.4 Regression] " pinskia at gcc dot gnu dot org
@ 2008-10-27  2:47 ` drow at gcc dot gnu dot org
  2008-10-27  3:38 ` howarth at nitro dot med dot uc dot edu
                   ` (24 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: drow at gcc dot gnu dot org @ 2008-10-27  2:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from drow at gcc dot gnu dot org  2008-10-27 02:45 -------
Do you have:

2008-10-24  Daniel Jacobowitz  <dan@codesourcery.com>

        * Makefile.tpl (HOST_EXPORTS): Correct CPPFLAGS typo.
        * Makefile.in: Regenerated.

What was previously setting CPPFLAGS?  I don't see anything in your command
line that would.


-- 


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


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

* [Bug bootstrap/37923] [4.4 Regression] CPPFLAGS now unset for stage 1 build of libcpp files.
  2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
                   ` (10 preceding siblings ...)
  2008-10-27  2:47 ` drow at gcc dot gnu dot org
@ 2008-10-27  3:38 ` howarth at nitro dot med dot uc dot edu
  2008-10-27  3:47 ` howarth at nitro dot med dot uc dot edu
                   ` (23 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2008-10-27  3:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from howarth at nitro dot med dot uc dot edu  2008-10-27 03:37 -------
I have...

2008-10-24  Daniel Jacobowitz  <dan@codesourcery.com>

        * Makefile.tpl (HOST_EXPORTS): Correct CPPFLAGS typo.
        * Makefile.in: Regenerated.

already. I think the issue is that while both libcpp/configure of 20081016 and
20081026 are
properly setting CPPFLAGS in the libcpp/Makefile, after your changes setting of
CPPFLAGS now
also occurs in the toplevel Makefile and that is being used instead of the
setting of CPPFLAGS in 
libcpp/Makefile. Notice even though the build fails in current gcc trunk, if I
go into the libcpp
and execute make the problem doesn't occur because CPPFLAGS is defined properly
in that 
Makefile and the toplevel Makefile doesn't get a chance to override it.


-- 


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


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

* [Bug bootstrap/37923] [4.4 Regression] CPPFLAGS now unset for stage 1 build of libcpp files.
  2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
                   ` (11 preceding siblings ...)
  2008-10-27  3:38 ` howarth at nitro dot med dot uc dot edu
@ 2008-10-27  3:47 ` howarth at nitro dot med dot uc dot edu
  2008-10-27 13:36 ` howarth at nitro dot med dot uc dot edu
                   ` (22 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2008-10-27  3:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from howarth at nitro dot med dot uc dot edu  2008-10-27 03:45 -------
I notice that both config.log from the libcpp subdirectory before and after
your change have...

ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=

which is followed by the occurance of...

CPPFLAGS='-I/sw/include'

but I don't see those ac_cv_env_CPPFLAGS related entries in
the config.log from the top level.


-- 


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


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

* [Bug bootstrap/37923] [4.4 Regression] CPPFLAGS now unset for stage 1 build of libcpp files.
  2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
                   ` (13 preceding siblings ...)
  2008-10-27 13:36 ` howarth at nitro dot med dot uc dot edu
@ 2008-10-27 13:36 ` howarth at nitro dot med dot uc dot edu
  2008-10-27 13:41 ` howarth at nitro dot med dot uc dot edu
                   ` (20 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2008-10-27 13:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from howarth at nitro dot med dot uc dot edu  2008-10-27 13:35 -------
Created an attachment (id=16567)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16567&action=view)
diff between libcpp Makefiles before and after drow's changes


-- 


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


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

* [Bug bootstrap/37923] [4.4 Regression] CPPFLAGS now unset for stage 1 build of libcpp files.
  2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
                   ` (12 preceding siblings ...)
  2008-10-27  3:47 ` howarth at nitro dot med dot uc dot edu
@ 2008-10-27 13:36 ` howarth at nitro dot med dot uc dot edu
  2008-10-27 13:36 ` howarth at nitro dot med dot uc dot edu
                   ` (21 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2008-10-27 13:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from howarth at nitro dot med dot uc dot edu  2008-10-27 13:34 -------
Created an attachment (id=16566)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16566&action=view)
diff between toplevel Makefiles before and after drow's changes


-- 


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


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

* [Bug bootstrap/37923] [4.4 Regression] CPPFLAGS now unset for stage 1 build of libcpp files.
  2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
                   ` (14 preceding siblings ...)
  2008-10-27 13:36 ` howarth at nitro dot med dot uc dot edu
@ 2008-10-27 13:41 ` howarth at nitro dot med dot uc dot edu
  2008-10-27 13:45 ` howarth at nitro dot med dot uc dot edu
                   ` (19 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2008-10-27 13:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from howarth at nitro dot med dot uc dot edu  2008-10-27 13:39 -------
Looking at diffs (attached) between the Makefiles in the toplevel and libcpp
subdirectory before and after drow's changes, I don't see any significant
differences in the libcpp level Makefile. However I suspect the problem with
the CPPFLAGS becoming unset after drow's patch is due to the instance of...

@@ -343,6 +347,7 @@
 GNATMAKE = no

 CFLAGS = -g -O2
+CPPFLAGS =
 LDFLAGS =
 LIBCFLAGS = $(CFLAGS)
 CXXFLAGS = -g -O2

which comes after...

@@ -147,9 +148,10 @@
        WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;

 # These variables must be set on the make command line for directories
-# built for the build system to override those in BASE_FLAGS_TO_PASSS.
+# built for the build system to override those in BASE_FLAGS_TO_PASS.
 EXTRA_BUILD_FLAGS = \
        CFLAGS="$(CFLAGS_FOR_BUILD)" \
+       CPPFLAGS="$(CPPFLAGS_FOR_BUILD)" \
        LDFLAGS="$(LDFLAGS_FOR_BUILD)"

 # This is the list of directories to built for the host system.
@@ -169,6 +171,7 @@
        ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
        CFLAGS="$(CFLAGS)"; export CFLAGS; \
        CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
+       CPPFLAGS="$(CPPFLAGS)"; export CPPFLAGS; \
        CXX="$(CXX)"; export CXX; \
        CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
        AR="$(AR)"; export AR; \

Wouldn't setting CPPFLAGS= to a null string effectively undo the previous
exports of CPPFLAGS?


-- 


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


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

* [Bug bootstrap/37923] [4.4 Regression] CPPFLAGS now unset for stage 1 build of libcpp files.
  2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
                   ` (15 preceding siblings ...)
  2008-10-27 13:41 ` howarth at nitro dot med dot uc dot edu
@ 2008-10-27 13:45 ` howarth at nitro dot med dot uc dot edu
  2008-10-27 13:56 ` drow at gcc dot gnu dot org
                   ` (18 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2008-10-27 13:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #16 from howarth at nitro dot med dot uc dot edu  2008-10-27 13:44 -------
I must admit I am still baffled at why the current gcc trunk code doesn't honor
the setting of CPPFLAGS=-I/sw/include in the libcpp level Makefile. Is that
Makefile not really used in the stage 1 bootstrap of libcpp? If so, it seems
strange to have a configure in libcpp if the generated Makefile is just going
to be ignored.


-- 


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


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

* [Bug bootstrap/37923] [4.4 Regression] CPPFLAGS now unset for stage 1 build of libcpp files.
  2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
                   ` (16 preceding siblings ...)
  2008-10-27 13:45 ` howarth at nitro dot med dot uc dot edu
@ 2008-10-27 13:56 ` drow at gcc dot gnu dot org
  2008-10-27 14:04 ` howarth at nitro dot med dot uc dot edu
                   ` (17 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: drow at gcc dot gnu dot org @ 2008-10-27 13:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #17 from drow at gcc dot gnu dot org  2008-10-27 13:55 -------
Subject: Re:  [4.4 Regression] CPPFLAGS now unset for
        stage 1 build of libcpp files.

On Mon, Oct 27, 2008 at 03:37:27AM -0000, howarth at nitro dot med dot uc dot
edu wrote:
> already. I think the issue is that while both libcpp/configure of 20081016 and
> 20081026 are
> properly setting CPPFLAGS in the libcpp/Makefile

No they're not.  Again, what is setting CPPFLAGS in libcpp?  The
project is supposed to build correctly with user specified CPPFLAGS,
just like CFLAGS.

A number of macros in config/ set CPPFLAGS=.  My guess is that the
path you want is coming from one of those, and they should be setting
some other variable.  E.g.

dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and
dnl augments the CPPFLAGS variable.


-- 


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


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

* [Bug bootstrap/37923] [4.4 Regression] CPPFLAGS now unset for stage 1 build of libcpp files.
  2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
                   ` (17 preceding siblings ...)
  2008-10-27 13:56 ` drow at gcc dot gnu dot org
@ 2008-10-27 14:04 ` howarth at nitro dot med dot uc dot edu
  2008-10-27 14:14 ` drow at gcc dot gnu dot org
                   ` (16 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2008-10-27 14:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #18 from howarth at nitro dot med dot uc dot edu  2008-10-27 14:03 -------
Do you want to see a different config.log? Should I try to run configure at the
top level in a more verbose mode? I'm not sure how to discover where CPPFLAGS
is being set for the config.log and Makefile in the libcpp subdirectory.


-- 


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


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

* [Bug bootstrap/37923] [4.4 Regression] CPPFLAGS now unset for stage 1 build of libcpp files.
  2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
                   ` (18 preceding siblings ...)
  2008-10-27 14:04 ` howarth at nitro dot med dot uc dot edu
@ 2008-10-27 14:14 ` drow at gcc dot gnu dot org
  2008-10-27 14:50 ` bonzini at gnu dot org
                   ` (15 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: drow at gcc dot gnu dot org @ 2008-10-27 14:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #19 from drow at gcc dot gnu dot org  2008-10-27 14:13 -------
It won't be logged.

Paolo, any comment on the CPPFLAGS problem from comment 17?  I want the top
level CPPFLAGS passed down, because that's how users can add additional -I
arguments.  But it seems typical to do CPPFLAGS = foo @CPPFLAGS@ in
subdirectories, or put foo in @CPPFLAGS@ in the subdirectory configure script,
which loses foo now.


-- 

drow at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bonzini at gnu dot org


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


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

* [Bug bootstrap/37923] [4.4 Regression] CPPFLAGS now unset for stage 1 build of libcpp files.
  2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
                   ` (19 preceding siblings ...)
  2008-10-27 14:14 ` drow at gcc dot gnu dot org
@ 2008-10-27 14:50 ` bonzini at gnu dot org
  2008-10-27 15:05 ` howarth at nitro dot med dot uc dot edu
                   ` (14 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: bonzini at gnu dot org @ 2008-10-27 14:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #20 from bonzini at gnu dot org  2008-10-27 14:49 -------
I checked config and I see:

- acinclude.m4 CYG_AC_PATH_SIM sets CPPFLAGS, not a problem in this case
- tcl.m4 is not a problem like acinclude.m4 is not

- gettext.m4 saves CPPFLAGS and restores it
- iconv.m4 does the same

- lib-link.m4 likes to modify CPPFLAGS (see AC_LIB_APPENDTOVAR) but only in
AC_LIB_LINKFLAGS which is not used by the previous two files
- lib-prefix.m4 is similarly not a problem

The libcppmakefile.diff  attachment does not show a change in CPPFLAGS indeed,
but it shows that the first file is stage>1, and the second file is stage1. 
Was this meant?  Use "make stage1-start" on both trees" before diffing.

Anyway, the desired -I/sw/include flag should be in the two lines of
libcpp/Makefile corresponding to

INCINTL = @INCINTL@
INCLUDES = -I$(srcdir) -I. -I$(srcdir)/../include @INCINTL@ \
        -I$(srcdir)/include

rather than in CPPFLAGS, and it should be picked up from $(INCLUDES) *twice*,
via

ALL_CFLAGS = $(CFLAGS) $(WARN_CFLAGS) $(INCLUDES) $(CPPFLAGS)
COMPILE.base = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(ALL_CFLAGS) -c

I think the bug should be fixed by

Index: intl/configure.ac
===================================================================
--- intl/configure.ac   (revision 141134)
+++ intl/configure.ac   (working copy)
@@ -37,7 +37,6 @@ AC_SUBST(LIBINTL_DEP)
 AC_SUBST(INCINTL)

 LIBINTL_DEP=
-INCINTL=
 case $USE_INCLUDED_LIBINTL in
   yes)
     LIBINTL=`echo $LIBINTL | sed 's,${top_builddir},&/..,' `

since the invocation of AM_GNU_GETTEXT earlier in intl/configure.ac should have
set INCINTL to the correct value for --without-included-gettext.  If this is
confirmed, the bug has been present since the introduction of the current
scheme for gettext configury.

r69071 | zack | 2003-07-08 07:55:11 +0200 (Tue, 08 Jul 2003) | 53 lines

Jack, can you check the above small patch?


-- 


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


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

* [Bug bootstrap/37923] [4.4 Regression] CPPFLAGS now unset for stage 1 build of libcpp files.
  2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
                   ` (20 preceding siblings ...)
  2008-10-27 14:50 ` bonzini at gnu dot org
@ 2008-10-27 15:05 ` howarth at nitro dot med dot uc dot edu
  2008-10-27 23:33 ` howarth at nitro dot med dot uc dot edu
                   ` (13 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2008-10-27 15:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #21 from howarth at nitro dot med dot uc dot edu  2008-10-27 15:04 -------
Sorry about the Makefile diffs. The 20081016 build tree had completely
bootstrapped whereas the 20081026 build tree had hung on a missing libintl.h
header in the stage 1 build of libcpp. I'll try the small patch tonight. I
would note that the build failures (without explicitly setting CPPFLAGS) likely
started with drow's patch so I guess the bug was latent and he exposed it.


-- 


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


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

* [Bug bootstrap/37923] [4.4 Regression] CPPFLAGS now unset for stage 1 build of libcpp files.
  2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
                   ` (21 preceding siblings ...)
  2008-10-27 15:05 ` howarth at nitro dot med dot uc dot edu
@ 2008-10-27 23:33 ` howarth at nitro dot med dot uc dot edu
  2008-10-27 23:54 ` howarth at nitro dot med dot uc dot edu
                   ` (12 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2008-10-27 23:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #22 from howarth at nitro dot med dot uc dot edu  2008-10-27 23:32 -------
The small patch in comment 20 doesn't help. The build still fails at the same
place. I also noticed that with or without the patch I have...

CPPFLAGS = -I/sw/include

set in the intl/Makefile. Also, I don't even see INCINTL set in either 
intl/Makefile or toplevel Makefile. It is set to...

 INCINTL =

in libcpp/Makefile.


-- 


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


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

* [Bug bootstrap/37923] [4.4 Regression] CPPFLAGS now unset for stage 1 build of libcpp files.
  2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
                   ` (22 preceding siblings ...)
  2008-10-27 23:33 ` howarth at nitro dot med dot uc dot edu
@ 2008-10-27 23:54 ` howarth at nitro dot med dot uc dot edu
  2008-10-28 16:23 ` howarth at nitro dot med dot uc dot edu
                   ` (11 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2008-10-27 23:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #23 from howarth at nitro dot med dot uc dot edu  2008-10-27 23:53 -------
Just to be clear, I did do...

cd intl
autoconf  -I . -I .. -I ../config

after applying the patch.


-- 


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


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

* [Bug bootstrap/37923] [4.4 Regression] CPPFLAGS now unset for stage 1 build of libcpp files.
  2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
                   ` (23 preceding siblings ...)
  2008-10-27 23:54 ` howarth at nitro dot med dot uc dot edu
@ 2008-10-28 16:23 ` howarth at nitro dot med dot uc dot edu
  2008-10-28 16:30 ` bonzini at gnu dot org
                   ` (10 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2008-10-28 16:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #24 from howarth at nitro dot med dot uc dot edu  2008-10-28 16:21 -------
I still don't understand how the stage1 build of libcpp manages to ignore the
CFLAGS setting in the libccp level Makefile. This would suggest that the stage
1
build of libcpp is entirely handled by the toplevel Makefile and the Makefile
in libcpp is ignored, no? I only see three instance of CPPFLAGS in the libcpp
level Makefile...

CPPFLAGS = -I/sw/include
...
ALL_CFLAGS = $(CFLAGS) $(WARN_CFLAGS) $(INCLUDES) $(CPPFLAGS)
...
COMPILE.base = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(ALL_CFLAGS) -c

I don't see how, even if CPPFLAGS is unset at the toplevel, that the setting of
CPPFLAGS is ignored if the libcpp level Makefile is actually being used in the
stage 1 build of libcpp.


-- 


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


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

* [Bug bootstrap/37923] [4.4 Regression] CPPFLAGS now unset for stage 1 build of libcpp files.
  2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
                   ` (24 preceding siblings ...)
  2008-10-28 16:23 ` howarth at nitro dot med dot uc dot edu
@ 2008-10-28 16:30 ` bonzini at gnu dot org
  2008-10-28 16:36 ` howarth at nitro dot med dot uc dot edu
                   ` (9 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: bonzini at gnu dot org @ 2008-10-28 16:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #25 from bonzini at gnu dot org  2008-10-28 16:28 -------
Subject: Re:  [4.4 Regression] CPPFLAGS now unset for
 stage 1 build of libcpp files.

You do know that A=B in the command line overrides A=C in the makefile
right? :-)

Does the patch work?


-- 


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


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

* [Bug bootstrap/37923] [4.4 Regression] CPPFLAGS now unset for stage 1 build of libcpp files.
  2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
                   ` (25 preceding siblings ...)
  2008-10-28 16:30 ` bonzini at gnu dot org
@ 2008-10-28 16:36 ` howarth at nitro dot med dot uc dot edu
  2008-10-28 16:40 ` bonzini at gnu dot org
                   ` (8 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2008-10-28 16:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #26 from howarth at nitro dot med dot uc dot edu  2008-10-28 16:34 -------
No, I said earlier that the proposed patch doesn't work. Note that INCINTL
doesn't even appear in either the toplevel Makefile or the Makefile in intl
with your patch. It does appear in the libcpp Makefile but is set to nothing.


-- 


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


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

* [Bug bootstrap/37923] [4.4 Regression] CPPFLAGS now unset for stage 1 build of libcpp files.
  2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
                   ` (26 preceding siblings ...)
  2008-10-28 16:36 ` howarth at nitro dot med dot uc dot edu
@ 2008-10-28 16:40 ` bonzini at gnu dot org
  2008-10-28 16:56 ` howarth at nitro dot med dot uc dot edu
                   ` (7 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: bonzini at gnu dot org @ 2008-10-28 16:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #27 from bonzini at gnu dot org  2008-10-28 16:39 -------
Ah, I missed that.  But yes, only libcpp/Makefile is supposed to have INCINTL.


-- 


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


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

* [Bug bootstrap/37923] [4.4 Regression] CPPFLAGS now unset for stage 1 build of libcpp files.
  2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
                   ` (27 preceding siblings ...)
  2008-10-28 16:40 ` bonzini at gnu dot org
@ 2008-10-28 16:56 ` howarth at nitro dot med dot uc dot edu
  2008-10-28 23:38 ` howarth at nitro dot med dot uc dot edu
                   ` (6 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2008-10-28 16:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #28 from howarth at nitro dot med dot uc dot edu  2008-10-28 16:55 -------
Doh, it may be an issue with the fink packaging system. They have a command...

NoSetCPPFLAGS: True

which I assumed was unsetting CPPFLAGS within fink but it very well may
be just setting CPPFLAGS to a null string. I'll remove that and substitute
the use of "unsetenv CPPFLAGS" instead. I update the bug report later this
evening with the results.


-- 


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


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

* [Bug bootstrap/37923] [4.4 Regression] CPPFLAGS now unset for stage 1 build of libcpp files.
  2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
                   ` (28 preceding siblings ...)
  2008-10-28 16:56 ` howarth at nitro dot med dot uc dot edu
@ 2008-10-28 23:38 ` howarth at nitro dot med dot uc dot edu
  2008-10-30 21:06 ` rguenth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2008-10-28 23:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #29 from howarth at nitro dot med dot uc dot edu  2008-10-28 23:37 -------
I have verified that the fink build system wasn't in fact setting CPPFLAGS to
null
or anything else. So this problem is real when CPPFLAGS doesn't exist,


-- 


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


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

* [Bug bootstrap/37923] [4.4 Regression] CPPFLAGS now unset for stage 1 build of libcpp files.
  2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
                   ` (29 preceding siblings ...)
  2008-10-28 23:38 ` howarth at nitro dot med dot uc dot edu
@ 2008-10-30 21:06 ` rguenth at gcc dot gnu dot org
  2008-10-30 22:20 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-10-30 21:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #30 from rguenth at gcc dot gnu dot org  2008-10-30 21:04 -------
i686-apple-darwin is still a primary target, so P1.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


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


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

* [Bug bootstrap/37923] [4.4 Regression] CPPFLAGS now unset for stage 1 build of libcpp files.
  2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
                   ` (30 preceding siblings ...)
  2008-10-30 21:06 ` rguenth at gcc dot gnu dot org
@ 2008-10-30 22:20 ` pinskia at gcc dot gnu dot org
  2008-10-30 22:50 ` howarth at nitro dot med dot uc dot edu
                   ` (3 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-10-30 22:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #31 from pinskia at gcc dot gnu dot org  2008-10-30 22:18 -------
This really happens on all targets.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  GCC build triplet|i686-apple-darwin9          |*-*-*
   GCC host triplet|i686-apple-darwin9          |*-*-*
 GCC target triplet|i686-apple-darwin9          |*-*-*


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


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

* [Bug bootstrap/37923] [4.4 Regression] CPPFLAGS now unset for stage 1 build of libcpp files.
  2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
                   ` (31 preceding siblings ...)
  2008-10-30 22:20 ` pinskia at gcc dot gnu dot org
@ 2008-10-30 22:50 ` howarth at nitro dot med dot uc dot edu
  2008-10-31  6:54 ` bonzini at gnu dot org
                   ` (2 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2008-10-30 22:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #32 from howarth at nitro dot med dot uc dot edu  2008-10-30 22:47 -------
Since the problem is that libintl.h can't be found, shouldn't we have a
toplevel check for libintl and a configure option to set the directory with
--with-libintl=%p or such? The INCL_LIBINTL set in the
toplevel could then be passed down to the libcpp subdirectory.


-- 


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


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

* [Bug bootstrap/37923] [4.4 Regression] CPPFLAGS now unset for stage 1 build of libcpp files.
  2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
                   ` (32 preceding siblings ...)
  2008-10-30 22:50 ` howarth at nitro dot med dot uc dot edu
@ 2008-10-31  6:54 ` bonzini at gnu dot org
  2008-11-14 14:54 ` drow at gcc dot gnu dot org
  2008-11-14 15:39 ` drow at gcc dot gnu dot org
  35 siblings, 0 replies; 37+ messages in thread
From: bonzini at gnu dot org @ 2008-10-31  6:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #33 from bonzini at gnu dot org  2008-10-31 06:52 -------
> Since the problem is that libintl.h can't be found

No, the problem is that INCINTL is not set correctly.


-- 


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


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

* [Bug bootstrap/37923] [4.4 Regression] CPPFLAGS now unset for stage 1 build of libcpp files.
  2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
                   ` (33 preceding siblings ...)
  2008-10-31  6:54 ` bonzini at gnu dot org
@ 2008-11-14 14:54 ` drow at gcc dot gnu dot org
  2008-11-14 15:39 ` drow at gcc dot gnu dot org
  35 siblings, 0 replies; 37+ messages in thread
From: drow at gcc dot gnu dot org @ 2008-11-14 14:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #34 from drow at gcc dot gnu dot org  2008-11-14 14:53 -------
Subject: Bug 37923

Author: drow
Date: Fri Nov 14 14:51:38 2008
New Revision: 141859

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141859
Log:
        PR bootstrap/38014
        PR bootstrap/37923

        Revert:

        2008-10-24  Daniel Jacobowitz  <dan@codesourcery.com>

        * Makefile.tpl (HOST_EXPORTS): Correct CPPFLAGS typo.
        * Makefile.in: Regenerated.

        2008-10-22  Daniel Jacobowitz  <dan@codesourcery.com>

        * Makefile.def (flags_to_pass): Add CPPFLAGS_FOR_BUILD and CPPFLAGS.
        * Makefile.tpl (BUILD_EXPORTS): Set CPPFLAGS.
        (EXTRA_BUILD_FLAGS): Correct typo.  Pass CPPFLAGS.
        (HOST_EXPORTS): Pass CPPFLAGS.
        (CPPFLAGS_FOR_BUILD, CPPFLAGS, CPPFLAGS_FOR_TARGET): Define.
        (LDFLAGS_FOR_TARGET): Initialize from configure script.
        (EXTRA_TARGET_FLAGS): Set CPPFLAGS.
        * Makefile.in, configure: Regenerated.
        * configure.ac: Set CPPFLAGS_FOR_TARGET, LDFLAGS_FOR_TARGET,
        and CPPFLAGS_FOR_BUILD.

Modified:
    trunk/ChangeLog
    trunk/Makefile.def
    trunk/Makefile.in
    trunk/Makefile.tpl
    trunk/configure
    trunk/configure.ac


-- 


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


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

* [Bug bootstrap/37923] [4.4 Regression] CPPFLAGS now unset for stage 1 build of libcpp files.
  2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
                   ` (34 preceding siblings ...)
  2008-11-14 14:54 ` drow at gcc dot gnu dot org
@ 2008-11-14 15:39 ` drow at gcc dot gnu dot org
  35 siblings, 0 replies; 37+ messages in thread
From: drow at gcc dot gnu dot org @ 2008-11-14 15:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #35 from drow at gcc dot gnu dot org  2008-11-14 15:38 -------
Patches reverted.  This is really a bug in gmp/mpfr/intl, but no point
triggering it.


-- 

drow at gcc dot gnu dot org changed:

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


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


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

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

Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-27  0:42 [Bug bootstrap/37923] New: CPPFLAGS now unset for stage 1 build of libcpp files howarth at nitro dot med dot uc dot edu
2008-10-27  0:51 ` [Bug bootstrap/37923] " howarth at nitro dot med dot uc dot edu
2008-10-27  0:52 ` howarth at nitro dot med dot uc dot edu
2008-10-27  0:53 ` howarth at nitro dot med dot uc dot edu
2008-10-27  0:54 ` howarth at nitro dot med dot uc dot edu
2008-10-27  0:57 ` howarth at nitro dot med dot uc dot edu
2008-10-27  0:58 ` howarth at nitro dot med dot uc dot edu
2008-10-27  0:59 ` howarth at nitro dot med dot uc dot edu
2008-10-27  0:59 ` howarth at nitro dot med dot uc dot edu
2008-10-27  1:03 ` howarth at nitro dot med dot uc dot edu
2008-10-27  1:59 ` [Bug bootstrap/37923] [4.4 Regression] " pinskia at gcc dot gnu dot org
2008-10-27  2:47 ` drow at gcc dot gnu dot org
2008-10-27  3:38 ` howarth at nitro dot med dot uc dot edu
2008-10-27  3:47 ` howarth at nitro dot med dot uc dot edu
2008-10-27 13:36 ` howarth at nitro dot med dot uc dot edu
2008-10-27 13:36 ` howarth at nitro dot med dot uc dot edu
2008-10-27 13:41 ` howarth at nitro dot med dot uc dot edu
2008-10-27 13:45 ` howarth at nitro dot med dot uc dot edu
2008-10-27 13:56 ` drow at gcc dot gnu dot org
2008-10-27 14:04 ` howarth at nitro dot med dot uc dot edu
2008-10-27 14:14 ` drow at gcc dot gnu dot org
2008-10-27 14:50 ` bonzini at gnu dot org
2008-10-27 15:05 ` howarth at nitro dot med dot uc dot edu
2008-10-27 23:33 ` howarth at nitro dot med dot uc dot edu
2008-10-27 23:54 ` howarth at nitro dot med dot uc dot edu
2008-10-28 16:23 ` howarth at nitro dot med dot uc dot edu
2008-10-28 16:30 ` bonzini at gnu dot org
2008-10-28 16:36 ` howarth at nitro dot med dot uc dot edu
2008-10-28 16:40 ` bonzini at gnu dot org
2008-10-28 16:56 ` howarth at nitro dot med dot uc dot edu
2008-10-28 23:38 ` howarth at nitro dot med dot uc dot edu
2008-10-30 21:06 ` rguenth at gcc dot gnu dot org
2008-10-30 22:20 ` pinskia at gcc dot gnu dot org
2008-10-30 22:50 ` howarth at nitro dot med dot uc dot edu
2008-10-31  6:54 ` bonzini at gnu dot org
2008-11-14 14:54 ` drow at gcc dot gnu dot org
2008-11-14 15:39 ` drow 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).