public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/25672] New: wrong cflags passed to ./xgcc
@ 2006-01-04 16:04 pluto at agmk dot net
2006-01-04 16:41 ` [Bug bootstrap/25672] cross build's libgcc picks up CFLAGS pinskia at gcc dot gnu dot org
` (28 more replies)
0 siblings, 29 replies; 30+ messages in thread
From: pluto at agmk dot net @ 2006-01-04 16:04 UTC (permalink / raw)
To: gcc-bugs
I'm configuring gcc with:
./configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man
--bindir=/usr/bin --libdir=/usr/lib --libexecdir=/usr/lib --disable-shared
--disable-threads --enable-languages=c,c++ --enable-c99 --enable-long-long
--disable-nls --with-gnu-as --with-gnu-ld --with-demangler-in-ld
--with-system-zlib --enable-multilib
--with-headers=/home/users/builder/rpm/BUILD/gcc-4.1-20051230/fake-root/usr/include
--without-x
--target=ppc64-pld-linux
--host=i686-pld-linux
--build=i686-pld-linux
CFLAGS=-O2 -march=i686 -mtune=pentium4 -ggdb
CXXFLAGS=-O2 -march=i686 -mtune=pentium4 -ggdb
TEXCONFIG=false
it worked fine with gcc-4.0.2.
in 4.1 ./xgcc gets wrong cflags (from host).
(...)
/home/users/builder/rpm/BUILD/gcc-4.1-20051230/obj-ppc64-pld-linux/./gcc/xgcc
-B/home/users/builder/rpm/BUILD/gcc-4.1-20051230/obj-ppc64-pld-linux/./gcc/
-B/usr/ppc64-pld-linux/bin/ -B/usr/ppc64-pld-linux/lib/
-isystem /usr/ppc64-pld-linux/include
-isystem /usr/ppc64-pld-linux/sys-include -O2 -O2 -O2 -march=i686
-mtune=pentium4 -ggdb -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-isystem ./include -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include
-I../../gcc/../libcpp/include -g0 -finhibit-size-directive
-fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss
-fno-unit-at-a-time -msdata=none \
-c ../../gcc/crtstuff.c -DCRT_BEGIN \
-o crtbegin.o
cc1: error: unrecognized command line option "-march=i686"
../../gcc/crtstuff.c:1: error: bad value (pentium4) for -mtune= switch
make[1]: *** [crtbegin.o] Error 1
make[1]: Leaving directory
`/home/users/builder/rpm/BUILD/gcc-4.1-20051230/obj-ppc64-pld-linux/gcc'
--
Summary: wrong cflags passed to ./xgcc
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pluto at agmk dot net
GCC build triplet: i686-pld-linux
GCC host triplet: i686-pld-linux
GCC target triplet: ppc64-pld-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672
^ permalink raw reply [flat|nested] 30+ messages in thread
* [Bug bootstrap/25672] cross build's libgcc picks up CFLAGS
2006-01-04 16:04 [Bug bootstrap/25672] New: wrong cflags passed to ./xgcc pluto at agmk dot net
@ 2006-01-04 16:41 ` pinskia at gcc dot gnu dot org
2006-01-05 2:45 ` pluto at agmk dot net
` (27 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-04 16:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-01-04 16:41 -------
Resummaryizing to make clearer.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|wrong cflags passed to |cross build's libgcc picks
|./xgcc |up CFLAGS
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672
^ permalink raw reply [flat|nested] 30+ messages in thread
* [Bug bootstrap/25672] cross build's libgcc picks up CFLAGS
2006-01-04 16:04 [Bug bootstrap/25672] New: wrong cflags passed to ./xgcc pluto at agmk dot net
2006-01-04 16:41 ` [Bug bootstrap/25672] cross build's libgcc picks up CFLAGS pinskia at gcc dot gnu dot org
@ 2006-01-05 2:45 ` pluto at agmk dot net
2006-01-05 2:49 ` pinskia at gcc dot gnu dot org
` (26 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: pluto at agmk dot net @ 2006-01-05 2:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pluto at agmk dot net 2006-01-05 02:45 -------
moreover the buildsystem doesn't propagate -I$target-headers-directory
specified in configure by --with-headers=$dir and build fails.
below log comes from powerpc (host, build: ppc32, target: ppc64):
(...)
GCC_FOR_TARGET='/home/users/builder/rpm/BUILD/gcc-4.1-20051230/obj-ppc64-pld-linux/./gcc/xgcc
-B/home/users/builder/rpm/BUILD/gcc-4.1-20051230/obj-ppc64-pld-linux/./gcc/
-B/usr/ppc64-pld-linux/bin/ -B/usr/ppc64-pld-linux/lib/ -isystem
/usr/ppc64-pld-linux/include -isystem /usr/ppc64-pld-linux/sys-include' \
mkinstalldirs='/bin/sh ../../gcc/../mkinstalldirs' \
/bin/sh mklibgcc > tmp-libgcc.mk
mv tmp-libgcc.mk libgcc.mk
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="USED_FOR_TARGET " \
/bin/sh ../../gcc/mkconfig.sh tconfig.h
( echo '#ifndef __powerpc64__'; \
echo '#define FLOAT'; \
cat ../../gcc/config/fp-bit.c; \
echo '#endif' ) > fp-bit32.c
( echo '#ifndef __powerpc64__'; \
cat ../../gcc/config/fp-bit.c; \
echo '#endif' ) > dp-bit32.c
/home/users/builder/rpm/BUILD/gcc-4.1-20051230/obj-ppc64-pld-linux/./gcc/xgcc
-B/home/users/builder/rpm/BUILD/gcc-4.1-20051230/obj-ppc64-pld-linux/./gcc/
-B/usr/ppc64-pld-linux/bin/ -B/usr/ppc64-pld-linux/lib/ -isystem
/usr/ppc64-pld- -fsigned-char -ggdb -DIN_GCC -DCROSS_COMPILE -DNATIVE_CROSS
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -isystem ./include -I. -I. -I../../gcc -I../../gcc/.
-I../../gcc/../include -I../../gcc/../libcpp/include -g0
-finhibit-size-directive -fno-inline-functions -fno-exceptions
-fno-zero-initialized-in-bss -fno-unit-at-a-time -msdata=none \
-c ../../gcc/crtstuff.c -DCRT_BEGIN \
-o crtbegin.o
In file included from ../../gcc/crtstuff.c:68:
../../gcc/tsystem.h:90:19: error: stdio.h: No such file or directory
../../gcc/tsystem.h:93:23: error: sys/types.h: No such file or directory
../../gcc/tsystem.h:96:19: error: errno.h: No such file or directory
../../gcc/tsystem.h:103:20: error: string.h: No such file or directory
../../gcc/tsystem.h:104:20: error: stdlib.h: No such file or directory
../../gcc/tsystem.h:105:20: error: unistd.h: No such file or directory
../../gcc/tsystem.h:111:18: error: time.h: No such file or directory
make[1]: *** [crtbegin.o] Error 1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672
^ permalink raw reply [flat|nested] 30+ messages in thread
* [Bug bootstrap/25672] cross build's libgcc picks up CFLAGS
2006-01-04 16:04 [Bug bootstrap/25672] New: wrong cflags passed to ./xgcc pluto at agmk dot net
2006-01-04 16:41 ` [Bug bootstrap/25672] cross build's libgcc picks up CFLAGS pinskia at gcc dot gnu dot org
2006-01-05 2:45 ` pluto at agmk dot net
@ 2006-01-05 2:49 ` pinskia at gcc dot gnu dot org
2006-01-05 3:01 ` pluto at agmk dot net
` (25 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-05 2:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-01-05 02:49 -------
(In reply to comment #2)
> moreover the buildsystem doesn't propagate -I$target-headers-directory
> specified in configure by --with-headers=$dir and build fails.
>
> below log comes from powerpc (host, build: ppc32, target: ppc64):
That is because people are now building normally --with-sysroot for crosses but
that is a different bug than this one.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672
^ permalink raw reply [flat|nested] 30+ messages in thread
* [Bug bootstrap/25672] cross build's libgcc picks up CFLAGS
2006-01-04 16:04 [Bug bootstrap/25672] New: wrong cflags passed to ./xgcc pluto at agmk dot net
` (2 preceding siblings ...)
2006-01-05 2:49 ` pinskia at gcc dot gnu dot org
@ 2006-01-05 3:01 ` pluto at agmk dot net
2006-01-08 18:29 ` pluto at agmk dot net
` (24 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: pluto at agmk dot net @ 2006-01-05 3:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pluto at agmk dot net 2006-01-05 03:01 -------
(In reply to comment #3)
> (In reply to comment #2)
> > moreover the buildsystem doesn't propagate -I$target-headers-directory
> > specified in configure by --with-headers=$dir and build fails.
> >
> > below log comes from powerpc (host, build: ppc32, target: ppc64):
>
> That is because people are now building normally --with-sysroot for crosses but
> that is a different bug than this one.
>
I known the 'sysroot' option but it has a side effect - a hardcoded sysroot
path in binaries. The 'headers' option hasn't similar impact. I'm building
glibc headers for target in temporary dir and can't hardcode (via sysroot
option) this dir in the final crossgcc.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672
^ permalink raw reply [flat|nested] 30+ messages in thread
* [Bug bootstrap/25672] cross build's libgcc picks up CFLAGS
2006-01-04 16:04 [Bug bootstrap/25672] New: wrong cflags passed to ./xgcc pluto at agmk dot net
` (3 preceding siblings ...)
2006-01-05 3:01 ` pluto at agmk dot net
@ 2006-01-08 18:29 ` pluto at agmk dot net
2006-03-01 17:39 ` pinskia at gcc dot gnu dot org
` (23 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: pluto at agmk dot net @ 2006-01-08 18:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pluto at agmk dot net 2006-01-08 18:29 -------
hmm, CFLAGS_FOR_TARGET picks up CFLAGS.
--- gcc-4.1-20060106/Makefile.in.orig 2005-12-15 15:02:02.000000000 +0100
+++ gcc-4.1-20060106/Makefile.in 2006-01-08 19:27:18.406458250 +0100
@@ -329,9 +329,9 @@
# CFLAGS will be just -g. We want to ensure that TARGET libraries
# (which we know are built with gcc) are built with optimizations so
# prepend -O2 when setting CFLAGS_FOR_TARGET.
-CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
+CFLAGS_FOR_TARGET = -O2 $(SYSROOT_CFLAGS_FOR_TARGET)
SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
-CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
+CXXFLAGS_FOR_TARGET = -O2 $(SYSROOT_CFLAGS_FOR_TARGET)
LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
LDFLAGS_FOR_TARGET =
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672
^ permalink raw reply [flat|nested] 30+ messages in thread
* [Bug bootstrap/25672] cross build's libgcc picks up CFLAGS
2006-01-04 16:04 [Bug bootstrap/25672] New: wrong cflags passed to ./xgcc pluto at agmk dot net
` (4 preceding siblings ...)
2006-01-08 18:29 ` pluto at agmk dot net
@ 2006-03-01 17:39 ` pinskia at gcc dot gnu dot org
2006-05-04 16:16 ` pluto at agmk dot net
` (22 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-01 17:39 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.1.0 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672
^ permalink raw reply [flat|nested] 30+ messages in thread
* [Bug bootstrap/25672] cross build's libgcc picks up CFLAGS
2006-01-04 16:04 [Bug bootstrap/25672] New: wrong cflags passed to ./xgcc pluto at agmk dot net
` (5 preceding siblings ...)
2006-03-01 17:39 ` pinskia at gcc dot gnu dot org
@ 2006-05-04 16:16 ` pluto at agmk dot net
2006-05-05 9:19 ` pinskia at gcc dot gnu dot org
` (21 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: pluto at agmk dot net @ 2006-05-04 16:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from pluto at agmk dot net 2006-05-04 16:15 -------
nobody cares about this bad flags pickup?
(In reply to comment #5)
> hmm, CFLAGS_FOR_TARGET picks up CFLAGS.
>
> --- gcc-4.1-20060106/Makefile.in.orig 2005-12-15 15:02:02.000000000 +0100
> +++ gcc-4.1-20060106/Makefile.in 2006-01-08 19:27:18.406458250 +0100
> @@ -329,9 +329,9 @@
> # CFLAGS will be just -g. We want to ensure that TARGET libraries
> # (which we know are built with gcc) are built with optimizations so
> # prepend -O2 when setting CFLAGS_FOR_TARGET.
> -CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
> +CFLAGS_FOR_TARGET = -O2 $(SYSROOT_CFLAGS_FOR_TARGET)
> SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
> -CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
> +CXXFLAGS_FOR_TARGET = -O2 $(SYSROOT_CFLAGS_FOR_TARGET)
> LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
> LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
> LDFLAGS_FOR_TARGET =
>
nobody cares?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672
^ permalink raw reply [flat|nested] 30+ messages in thread
* [Bug bootstrap/25672] cross build's libgcc picks up CFLAGS
2006-01-04 16:04 [Bug bootstrap/25672] New: wrong cflags passed to ./xgcc pluto at agmk dot net
` (6 preceding siblings ...)
2006-05-04 16:16 ` pluto at agmk dot net
@ 2006-05-05 9:19 ` pinskia at gcc dot gnu dot org
2006-05-05 11:53 ` pluto at agmk dot net
` (20 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-05 9:19 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from pinskia at gcc dot gnu dot org 2006-05-05 09:19 -------
(In reply to comment #6)
> nobody cares about this bad flags pickup?
> (In reply to comment #5)
> > hmm, CFLAGS_FOR_TARGET picks up CFLAGS.
Nobody else has ran into this and the patch was not posted to gcc-patches@.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672
^ permalink raw reply [flat|nested] 30+ messages in thread
* [Bug bootstrap/25672] cross build's libgcc picks up CFLAGS
2006-01-04 16:04 [Bug bootstrap/25672] New: wrong cflags passed to ./xgcc pluto at agmk dot net
` (7 preceding siblings ...)
2006-05-05 9:19 ` pinskia at gcc dot gnu dot org
@ 2006-05-05 11:53 ` pluto at agmk dot net
2006-06-17 19:41 ` pluto at agmk dot net
` (19 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: pluto at agmk dot net @ 2006-05-05 11:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from pluto at agmk dot net 2006-05-05 11:52 -------
patch posted:
http://gcc.gnu.org/ml/gcc-patches/2006-05/msg00204.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672
^ permalink raw reply [flat|nested] 30+ messages in thread
* [Bug bootstrap/25672] cross build's libgcc picks up CFLAGS
2006-01-04 16:04 [Bug bootstrap/25672] New: wrong cflags passed to ./xgcc pluto at agmk dot net
` (8 preceding siblings ...)
2006-05-05 11:53 ` pluto at agmk dot net
@ 2006-06-17 19:41 ` pluto at agmk dot net
2006-07-30 10:52 ` steven at gcc dot gnu dot org
` (18 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: pluto at agmk dot net @ 2006-06-17 19:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from pluto at agmk dot net 2006-06-17 19:24 -------
patch posted on gcc-patches over month ago. still no response.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672
^ permalink raw reply [flat|nested] 30+ messages in thread
* [Bug bootstrap/25672] cross build's libgcc picks up CFLAGS
2006-01-04 16:04 [Bug bootstrap/25672] New: wrong cflags passed to ./xgcc pluto at agmk dot net
` (9 preceding siblings ...)
2006-06-17 19:41 ` pluto at agmk dot net
@ 2006-07-30 10:52 ` steven at gcc dot gnu dot org
2006-07-31 18:07 ` dj at redhat dot com
` (17 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: steven at gcc dot gnu dot org @ 2006-07-30 10:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from steven at gcc dot gnu dot org 2006-07-30 10:52 -------
Please ping the patch. Add DJ Delorie to the CC: list, he is a build system
maintainer. You can find his email in MAINTAINERS.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672
^ permalink raw reply [flat|nested] 30+ messages in thread
* [Bug bootstrap/25672] cross build's libgcc picks up CFLAGS
2006-01-04 16:04 [Bug bootstrap/25672] New: wrong cflags passed to ./xgcc pluto at agmk dot net
` (10 preceding siblings ...)
2006-07-30 10:52 ` steven at gcc dot gnu dot org
@ 2006-07-31 18:07 ` dj at redhat dot com
2006-08-05 8:05 ` bonzini at gnu dot org
` (16 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: dj at redhat dot com @ 2006-07-31 18:07 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from dj at redhat dot com 2006-07-31 18:07 -------
(1) I can manage my own bugzilla account, thankyouverymuch, and (2) I'm not the
only build maintainer.
--
dj at redhat dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|dj at redhat dot com |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672
^ permalink raw reply [flat|nested] 30+ messages in thread
* [Bug bootstrap/25672] cross build's libgcc picks up CFLAGS
2006-01-04 16:04 [Bug bootstrap/25672] New: wrong cflags passed to ./xgcc pluto at agmk dot net
` (11 preceding siblings ...)
2006-07-31 18:07 ` dj at redhat dot com
@ 2006-08-05 8:05 ` bonzini at gnu dot org
2006-08-17 19:22 ` pluto at agmk dot net
` (15 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: bonzini at gnu dot org @ 2006-08-05 8:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from bonzini at gnu dot org 2006-08-05 08:05 -------
The patch is wrong, you need something like
-CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
+CFLAGS_FOR_TARGET = -O2 $(LIBCFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
and similarly for CXXFLAGS.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672
^ permalink raw reply [flat|nested] 30+ messages in thread
* [Bug bootstrap/25672] cross build's libgcc picks up CFLAGS
2006-01-04 16:04 [Bug bootstrap/25672] New: wrong cflags passed to ./xgcc pluto at agmk dot net
` (12 preceding siblings ...)
2006-08-05 8:05 ` bonzini at gnu dot org
@ 2006-08-17 19:22 ` pluto at agmk dot net
2006-08-17 19:24 ` bonzini at gnu dot org
` (14 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: pluto at agmk dot net @ 2006-08-17 19:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from pluto at agmk dot net 2006-08-17 19:22 -------
(In reply to comment #12)
> The patch is wrong, you need something like
>
> -CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
> +CFLAGS_FOR_TARGET = -O2 $(LIBCFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
>
> and similarly for CXXFLAGS.
>
this patch works for me. will anybody commit?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672
^ permalink raw reply [flat|nested] 30+ messages in thread
* [Bug bootstrap/25672] cross build's libgcc picks up CFLAGS
2006-01-04 16:04 [Bug bootstrap/25672] New: wrong cflags passed to ./xgcc pluto at agmk dot net
` (13 preceding siblings ...)
2006-08-17 19:22 ` pluto at agmk dot net
@ 2006-08-17 19:24 ` bonzini at gnu dot org
2006-08-17 23:39 ` pluto at agmk dot net
` (13 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: bonzini at gnu dot org @ 2006-08-17 19:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #14 from bonzini at gnu dot org 2006-08-17 19:24 -------
Please post to GCC Patches -- I am not a maintainer so I can't approve it
anyway. Also, you need a ChangeLog entry, and the CXXFLAGS_FOR_TARGET needs
the same treatment.
--
bonzini at gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-08-17 19:24:06
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672
^ permalink raw reply [flat|nested] 30+ messages in thread
* [Bug bootstrap/25672] cross build's libgcc picks up CFLAGS
2006-01-04 16:04 [Bug bootstrap/25672] New: wrong cflags passed to ./xgcc pluto at agmk dot net
` (14 preceding siblings ...)
2006-08-17 19:24 ` bonzini at gnu dot org
@ 2006-08-17 23:39 ` pluto at agmk dot net
2006-10-23 8:11 ` pluto at agmk dot net
` (12 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: pluto at agmk dot net @ 2006-08-17 23:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #15 from pluto at agmk dot net 2006-08-17 23:39 -------
(In reply to comment #13)
> (In reply to comment #12)
> > The patch is wrong, you need something like
> >
> > -CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
> > +CFLAGS_FOR_TARGET = -O2 $(LIBCFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
> >
> > and similarly for CXXFLAGS.
> >
>
> this patch works for me. will anybody commit?
>
argh, i've tested wrong patch.
yours version doesn't work because of LIBCFLAGS=$(CFLAGS) in Makefile.in:290.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672
^ permalink raw reply [flat|nested] 30+ messages in thread
* [Bug bootstrap/25672] cross build's libgcc picks up CFLAGS
2006-01-04 16:04 [Bug bootstrap/25672] New: wrong cflags passed to ./xgcc pluto at agmk dot net
` (15 preceding siblings ...)
2006-08-17 23:39 ` pluto at agmk dot net
@ 2006-10-23 8:11 ` pluto at agmk dot net
2007-03-19 9:10 ` [Bug bootstrap/25672] [4.1/4.2 regression] " pluto at agmk dot net
` (11 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: pluto at agmk dot net @ 2006-10-23 8:11 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 464 bytes --]
------- Comment #16 from pluto at agmk dot net 2006-10-23 08:11 -------
Subject: Re: cross build's libgcc picks up CFLAGS
lianghua xu napisaÅ(a):
> did you save this bug? I am failled in this trouble 2 weeks since I
> making the
> cross tools for arm-elf-tools under CYGWIN on XP os. any advise, thank you
> very much.
i'm using this patch:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672#c5
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672
^ permalink raw reply [flat|nested] 30+ messages in thread
* [Bug bootstrap/25672] [4.1/4.2 regression] cross build's libgcc picks up CFLAGS
2006-01-04 16:04 [Bug bootstrap/25672] New: wrong cflags passed to ./xgcc pluto at agmk dot net
` (16 preceding siblings ...)
2006-10-23 8:11 ` pluto at agmk dot net
@ 2007-03-19 9:10 ` pluto at agmk dot net
2007-09-26 19:11 ` pinskia at gcc dot gnu dot org
` (10 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: pluto at agmk dot net @ 2007-03-19 9:10 UTC (permalink / raw)
To: gcc-bugs
------- Comment #17 from pluto at agmk dot net 2007-03-19 09:09 -------
4.1.2 release and 4.2.0-RC1 still fails.
4.3 not tested.
--
pluto at agmk dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |4.1.2 4.2.0
Known to work| |4.0.2
Summary|cross build's libgcc picks |[4.1/4.2 regression] cross
|up CFLAGS |build's libgcc picks up
| |CFLAGS
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672
^ permalink raw reply [flat|nested] 30+ messages in thread
* [Bug bootstrap/25672] [4.1/4.2 regression] cross build's libgcc picks up CFLAGS
2006-01-04 16:04 [Bug bootstrap/25672] New: wrong cflags passed to ./xgcc pluto at agmk dot net
` (17 preceding siblings ...)
2007-03-19 9:10 ` [Bug bootstrap/25672] [4.1/4.2 regression] " pluto at agmk dot net
@ 2007-09-26 19:11 ` pinskia at gcc dot gnu dot org
2007-09-26 21:06 ` rask at gcc dot gnu dot org
` (9 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-09-26 19:11 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.1.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672
^ permalink raw reply [flat|nested] 30+ messages in thread
* [Bug bootstrap/25672] [4.1/4.2 regression] cross build's libgcc picks up CFLAGS
2006-01-04 16:04 [Bug bootstrap/25672] New: wrong cflags passed to ./xgcc pluto at agmk dot net
` (18 preceding siblings ...)
2007-09-26 19:11 ` pinskia at gcc dot gnu dot org
@ 2007-09-26 21:06 ` rask at gcc dot gnu dot org
2007-09-28 3:49 ` [Bug bootstrap/25672] [4.1/4.2/4.3 " mmitchel at gcc dot gnu dot org
` (8 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: rask at gcc dot gnu dot org @ 2007-09-26 21:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #18 from rask at gcc dot gnu dot org 2007-09-26 21:06 -------
I ran into this with 4.3 a few weeks ago.
--
rask at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail|4.1.2 4.2.0 |4.1.2 4.2.0 4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672
^ permalink raw reply [flat|nested] 30+ messages in thread
* [Bug bootstrap/25672] [4.1/4.2/4.3 regression] cross build's libgcc picks up CFLAGS
2006-01-04 16:04 [Bug bootstrap/25672] New: wrong cflags passed to ./xgcc pluto at agmk dot net
` (19 preceding siblings ...)
2007-09-26 21:06 ` rask at gcc dot gnu dot org
@ 2007-09-28 3:49 ` mmitchel at gcc dot gnu dot org
2008-02-20 18:44 ` [Bug bootstrap/25672] [4.1/4.2/4.3/4.4 " ubizjak at gmail dot com
` (7 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-09-28 3:49 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672
^ permalink raw reply [flat|nested] 30+ messages in thread
* [Bug bootstrap/25672] [4.1/4.2/4.3/4.4 regression] cross build's libgcc picks up CFLAGS
2006-01-04 16:04 [Bug bootstrap/25672] New: wrong cflags passed to ./xgcc pluto at agmk dot net
` (20 preceding siblings ...)
2007-09-28 3:49 ` [Bug bootstrap/25672] [4.1/4.2/4.3 " mmitchel at gcc dot gnu dot org
@ 2008-02-20 18:44 ` ubizjak at gmail dot com
2008-02-20 19:33 ` bonzini at gnu dot org
` (6 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: ubizjak at gmail dot com @ 2008-02-20 18:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #19 from ubizjak at gmail dot com 2008-02-20 18:44 -------
Patch at http://gcc.gnu.org/ml/gcc-patches/2006-05/msg00204.html needs build
maintainer attention. And a ChangeLog!
--
ubizjak at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2006-
| |05/msg00204.html
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672
^ permalink raw reply [flat|nested] 30+ messages in thread
* [Bug bootstrap/25672] [4.1/4.2/4.3/4.4 regression] cross build's libgcc picks up CFLAGS
2006-01-04 16:04 [Bug bootstrap/25672] New: wrong cflags passed to ./xgcc pluto at agmk dot net
` (21 preceding siblings ...)
2008-02-20 18:44 ` [Bug bootstrap/25672] [4.1/4.2/4.3/4.4 " ubizjak at gmail dot com
@ 2008-02-20 19:33 ` bonzini at gnu dot org
2008-02-21 8:14 ` [Bug bootstrap/25672] [4.1/4.2/4.3 " bonzini at gnu dot org
` (5 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: bonzini at gnu dot org @ 2008-02-20 19:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #20 from bonzini at gnu dot org 2008-02-20 19:32 -------
Subject: Re: [4.1/4.2/4.3/4.4 regression] cross build's
libgcc picks up CFLAGS
ubizjak at gmail dot com wrote:
> ------- Comment #19 from ubizjak at gmail dot com 2008-02-20 18:44 -------
> Patch at http://gcc.gnu.org/ml/gcc-patches/2006-05/msg00204.html needs build
> maintainer attention. And a ChangeLog!
should be fixed by today's patch for PR/32009.
Paolo
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672
^ permalink raw reply [flat|nested] 30+ messages in thread
* [Bug bootstrap/25672] [4.1/4.2/4.3 regression] cross build's libgcc picks up CFLAGS
2006-01-04 16:04 [Bug bootstrap/25672] New: wrong cflags passed to ./xgcc pluto at agmk dot net
` (22 preceding siblings ...)
2008-02-20 19:33 ` bonzini at gnu dot org
@ 2008-02-21 8:14 ` bonzini at gnu dot org
2008-07-04 20:17 ` [Bug bootstrap/25672] [4.2/4.3 " jsm28 at gcc dot gnu dot org
` (4 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: bonzini at gnu dot org @ 2008-02-21 8:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #21 from bonzini at gnu dot org 2008-02-21 08:13 -------
fixed in 4.4.0
--
bonzini at gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work|4.0.2 |4.0.2 4.4.0
Summary|[4.1/4.2/4.3/4.4 regression]|[4.1/4.2/4.3 regression]
|cross build's libgcc picks |cross build's libgcc picks
|up CFLAGS |up CFLAGS
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672
^ permalink raw reply [flat|nested] 30+ messages in thread
* [Bug bootstrap/25672] [4.2/4.3 regression] cross build's libgcc picks up CFLAGS
2006-01-04 16:04 [Bug bootstrap/25672] New: wrong cflags passed to ./xgcc pluto at agmk dot net
` (23 preceding siblings ...)
2008-02-21 8:14 ` [Bug bootstrap/25672] [4.1/4.2/4.3 " bonzini at gnu dot org
@ 2008-07-04 20:17 ` jsm28 at gcc dot gnu dot org
2009-03-31 19:06 ` [Bug bootstrap/25672] [4.3 " jsm28 at gcc dot gnu dot org
` (3 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 20:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #22 from jsm28 at gcc dot gnu dot org 2008-07-04 20:17 -------
Closing 4.1 branch.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.1/4.2/4.3 regression] |[4.2/4.3 regression] cross
|cross build's libgcc picks |build's libgcc picks up
|up CFLAGS |CFLAGS
Target Milestone|4.1.3 |4.2.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672
^ permalink raw reply [flat|nested] 30+ messages in thread
* [Bug bootstrap/25672] [4.3 regression] cross build's libgcc picks up CFLAGS
2006-01-04 16:04 [Bug bootstrap/25672] New: wrong cflags passed to ./xgcc pluto at agmk dot net
` (24 preceding siblings ...)
2008-07-04 20:17 ` [Bug bootstrap/25672] [4.2/4.3 " jsm28 at gcc dot gnu dot org
@ 2009-03-31 19:06 ` jsm28 at gcc dot gnu dot org
2009-08-04 12:36 ` rguenth at gcc dot gnu dot org
` (2 subsequent siblings)
28 siblings, 0 replies; 30+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-31 19:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #23 from jsm28 at gcc dot gnu dot org 2009-03-31 19:06 -------
Closing 4.2 branch.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.2/4.3 regression] cross |[4.3 regression] cross
|build's libgcc picks up |build's libgcc picks up
|CFLAGS |CFLAGS
Target Milestone|4.2.5 |4.3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672
^ permalink raw reply [flat|nested] 30+ messages in thread
* [Bug bootstrap/25672] [4.3 regression] cross build's libgcc picks up CFLAGS
2006-01-04 16:04 [Bug bootstrap/25672] New: wrong cflags passed to ./xgcc pluto at agmk dot net
` (25 preceding siblings ...)
2009-03-31 19:06 ` [Bug bootstrap/25672] [4.3 " jsm28 at gcc dot gnu dot org
@ 2009-08-04 12:36 ` rguenth at gcc dot gnu dot org
2009-08-22 19:19 ` stepan at coresystems dot de
2010-05-22 18:16 ` rguenth at gcc dot gnu dot org
28 siblings, 0 replies; 30+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-04 12:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #24 from rguenth at gcc dot gnu dot org 2009-08-04 12:27 -------
GCC 4.3.4 is being released, adjusting target milestone.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.3.4 |4.3.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672
^ permalink raw reply [flat|nested] 30+ messages in thread
* [Bug bootstrap/25672] [4.3 regression] cross build's libgcc picks up CFLAGS
2006-01-04 16:04 [Bug bootstrap/25672] New: wrong cflags passed to ./xgcc pluto at agmk dot net
` (26 preceding siblings ...)
2009-08-04 12:36 ` rguenth at gcc dot gnu dot org
@ 2009-08-22 19:19 ` stepan at coresystems dot de
2010-05-22 18:16 ` rguenth at gcc dot gnu dot org
28 siblings, 0 replies; 30+ messages in thread
From: stepan at coresystems dot de @ 2009-08-22 19:19 UTC (permalink / raw)
To: gcc-bugs
------- Comment #25 from stepan at coresystems dot de 2009-08-22 19:19 -------
This still happens in 4.4.1 for me.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672
^ permalink raw reply [flat|nested] 30+ messages in thread
* [Bug bootstrap/25672] [4.3 regression] cross build's libgcc picks up CFLAGS
2006-01-04 16:04 [Bug bootstrap/25672] New: wrong cflags passed to ./xgcc pluto at agmk dot net
` (27 preceding siblings ...)
2009-08-22 19:19 ` stepan at coresystems dot de
@ 2010-05-22 18:16 ` rguenth at gcc dot gnu dot org
28 siblings, 0 replies; 30+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-05-22 18:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #26 from rguenth at gcc dot gnu dot org 2010-05-22 18:10 -------
GCC 4.3.5 is being released, adjusting target milestone.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.3.5 |4.3.6
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672
^ permalink raw reply [flat|nested] 30+ messages in thread
end of thread, other threads:[~2010-05-22 18:16 UTC | newest]
Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-04 16:04 [Bug bootstrap/25672] New: wrong cflags passed to ./xgcc pluto at agmk dot net
2006-01-04 16:41 ` [Bug bootstrap/25672] cross build's libgcc picks up CFLAGS pinskia at gcc dot gnu dot org
2006-01-05 2:45 ` pluto at agmk dot net
2006-01-05 2:49 ` pinskia at gcc dot gnu dot org
2006-01-05 3:01 ` pluto at agmk dot net
2006-01-08 18:29 ` pluto at agmk dot net
2006-03-01 17:39 ` pinskia at gcc dot gnu dot org
2006-05-04 16:16 ` pluto at agmk dot net
2006-05-05 9:19 ` pinskia at gcc dot gnu dot org
2006-05-05 11:53 ` pluto at agmk dot net
2006-06-17 19:41 ` pluto at agmk dot net
2006-07-30 10:52 ` steven at gcc dot gnu dot org
2006-07-31 18:07 ` dj at redhat dot com
2006-08-05 8:05 ` bonzini at gnu dot org
2006-08-17 19:22 ` pluto at agmk dot net
2006-08-17 19:24 ` bonzini at gnu dot org
2006-08-17 23:39 ` pluto at agmk dot net
2006-10-23 8:11 ` pluto at agmk dot net
2007-03-19 9:10 ` [Bug bootstrap/25672] [4.1/4.2 regression] " pluto at agmk dot net
2007-09-26 19:11 ` pinskia at gcc dot gnu dot org
2007-09-26 21:06 ` rask at gcc dot gnu dot org
2007-09-28 3:49 ` [Bug bootstrap/25672] [4.1/4.2/4.3 " mmitchel at gcc dot gnu dot org
2008-02-20 18:44 ` [Bug bootstrap/25672] [4.1/4.2/4.3/4.4 " ubizjak at gmail dot com
2008-02-20 19:33 ` bonzini at gnu dot org
2008-02-21 8:14 ` [Bug bootstrap/25672] [4.1/4.2/4.3 " bonzini at gnu dot org
2008-07-04 20:17 ` [Bug bootstrap/25672] [4.2/4.3 " jsm28 at gcc dot gnu dot org
2009-03-31 19:06 ` [Bug bootstrap/25672] [4.3 " jsm28 at gcc dot gnu dot org
2009-08-04 12:36 ` rguenth at gcc dot gnu dot org
2009-08-22 19:19 ` stepan at coresystems dot de
2010-05-22 18:16 ` rguenth 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).