* darwin8 / ppc bootstrap is failing for me.
@ 2009-08-24 18:17 IainS
2009-08-24 18:53 ` Ralf Wildenhues
0 siblings, 1 reply; 6+ messages in thread
From: IainS @ 2009-08-24 18:17 UTC (permalink / raw)
To: GCC Development
uname -mrs
Darwin 8.11.0 Power Macintosh
../gcc-4-5-regtest/configure --prefix=/Volumes/ScratchCS/gcc-4-5-
install --target=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --
build=powerpc-apple-darwin8 --enable-languages=c,objc,c++,obj-c+
+,fortran --enable-version-specific-runtime-libs --enable-threads --
enable-checking=yes --program-suffix=-4.5.0 --with-dwarf2 --with-
libiconv-prefix=/usr --with-system-zlib
make bootstrap >build-log.txt 2>err-log.txt &
fails:
configure: WARNING: decimal float is not supported for this target
configure: WARNING: fixed-point is not supported for this target
configure: error: in `/Volumes/ScratchCS/gcc-4-5-regbuild/gcc':
Links are now set up to build a native compiler for powerpc-apple-
darwin8.
In file included from ../../gcc-4-5-regtest/libiberty/regex.c:638:0:
../../gcc-4-5-regtest/libiberty/regex.c: In function
'byte_re_match_2_internal':
../../gcc-4-5-regtest/libiberty/regex.c:7476:5: warning: jump skips
variable initialization
../../gcc-4-5-regtest/libiberty/regex.c:5952:12: note: label
'restore_best_regs' defined here
../../gcc-4-5-regtest/libiberty/regex.c:5913:16: note: 'same_str_p'
declared here
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
make[2]: *** [configure-stage2-gmp] Error 1
make[1]: *** [stage2-bubble] Error 2
make: *** [bootstrap] Error 2
cheers,
Iain
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: darwin8 / ppc bootstrap is failing for me.
2009-08-24 18:17 darwin8 / ppc bootstrap is failing for me IainS
@ 2009-08-24 18:53 ` Ralf Wildenhues
2009-08-24 23:44 ` IainS
0 siblings, 1 reply; 6+ messages in thread
From: Ralf Wildenhues @ 2009-08-24 18:53 UTC (permalink / raw)
To: IainS; +Cc: GCC Development
Hello Iain,
* IainS wrote on Mon, Aug 24, 2009 at 07:16:05PM CEST:
> uname -mrs
> Darwin 8.11.0 Power Macintosh
> configure: WARNING: decimal float is not supported for this target
> configure: WARNING: fixed-point is not supported for this target
> configure: error: in `/Volumes/ScratchCS/gcc-4-5-regbuild/gcc':
> Links are now set up to build a native compiler for powerpc-apple-darwin8.
> In file included from ../../gcc-4-5-regtest/libiberty/regex.c:638:0:
> ../../gcc-4-5-regtest/libiberty/regex.c: In function
> 'byte_re_match_2_internal':
> ../../gcc-4-5-regtest/libiberty/regex.c:7476:5: warning: jump skips
> variable initialization
> ../../gcc-4-5-regtest/libiberty/regex.c:5952:12: note: label
> 'restore_best_regs' defined here
> ../../gcc-4-5-regtest/libiberty/regex.c:5913:16: note: 'same_str_p'
> declared here
> configure: error: C++ preprocessor "/lib/cpp" fails sanity check
> See `config.log' for more details.
> make[2]: *** [configure-stage2-gmp] Error 1
> make[1]: *** [stage2-bubble] Error 2
> make: *** [bootstrap] Error 2
Please inspect and/or show the relevant parts of
/Volumes/ScratchCS/gcc-4-5-regbuild/gcc/config.log
Thanks,
Ralf
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: darwin8 / ppc bootstrap is failing for me.
2009-08-24 18:53 ` Ralf Wildenhues
@ 2009-08-24 23:44 ` IainS
2009-08-24 23:56 ` Ralf Wildenhues
0 siblings, 1 reply; 6+ messages in thread
From: IainS @ 2009-08-24 23:44 UTC (permalink / raw)
To: Ralf Wildenhues; +Cc: GCC Development
Hi Ralf,
On 24 Aug 2009, at 18:47, Ralf Wildenhues wrote:
> Hello Iain,
>
> * IainS wrote on Mon, Aug 24, 2009 at 07:16:05PM CEST:
>> uname -mrs
>> Darwin 8.11.0 Power Macintosh
>
>> configure: WARNING: decimal float is not supported for this target
>> configure: WARNING: fixed-point is not supported for this target
>> configure: error: in `/Volumes/ScratchCS/gcc-4-5-regbuild/gcc':
>> Links are now set up to build a native compiler for powerpc-apple-
>> darwin8.
>> In file included from ../../gcc-4-5-regtest/libiberty/regex.c:638:0:
>> ../../gcc-4-5-regtest/libiberty/regex.c: In function
>> 'byte_re_match_2_internal':
>> ../../gcc-4-5-regtest/libiberty/regex.c:7476:5: warning: jump skips
>> variable initialization
>> ../../gcc-4-5-regtest/libiberty/regex.c:5952:12: note: label
>> 'restore_best_regs' defined here
>> ../../gcc-4-5-regtest/libiberty/regex.c:5913:16: note: 'same_str_p'
>> declared here
>> configure: error: C++ preprocessor "/lib/cpp" fails sanity check
>> See `config.log' for more details.
>> make[2]: *** [configure-stage2-gmp] Error 1
>> make[1]: *** [stage2-bubble] Error 2
>> make: *** [bootstrap] Error 2
>
> Please inspect and/or show the relevant parts of
> /Volumes/ScratchCS/gcc-4-5-regbuild/gcc/config.log
BTW - I should have said current trunk:
Updating SVN tree
At revision 151057.
Adjusting file timestamps
======
the configure that's failing is GMP rather than gcc... maybe I've
missed a requirement to update?
the essence appears to be this - it looks like some issue with path
definitions :
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:11139: /lib/cpp -DNO_ASM conftest.cc
/Volumes/ScratchCS/gcc-4-5-regtest/gmp/configure: line 1: /lib/cpp:
No such file or directory
configure:11145: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "GNU MP"
| #define PACKAGE_TARNAME "gmp"
| #define PACKAGE_VERSION "4.2.4"
| #define PACKAGE_STRING "GNU MP 4.2.4"
| #define PACKAGE_BUGREPORT "gmp-bugs@swox.com"
| #define PACKAGE "gmp"
| #define VERSION "4.2.4"
| #define WANT_FFT 1
| #define HAVE_HOST_CPU_none 1
| #define PROTOTYPES 1
| #define __PROTOTYPES 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STRING_H 1
| #define HAVE_DLFCN_H 1
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:11214: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
cheers,
Iain
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: darwin8 / ppc bootstrap is failing for me.
2009-08-24 23:44 ` IainS
@ 2009-08-24 23:56 ` Ralf Wildenhues
2009-08-25 15:08 ` IainS
0 siblings, 1 reply; 6+ messages in thread
From: Ralf Wildenhues @ 2009-08-24 23:56 UTC (permalink / raw)
To: IainS; +Cc: GCC Development
* IainS wrote on Mon, Aug 24, 2009 at 08:17:37PM CEST:
>
> the configure that's failing is GMP rather than gcc... maybe I've
> missed a requirement to update?
> configure:11139: /lib/cpp -DNO_ASM conftest.cc
> /Volumes/ScratchCS/gcc-4-5-regtest/gmp/configure: line 1: /lib/cpp:
> No such file or directory
> configure:11214: error: C++ preprocessor "/lib/cpp" fails sanity check
> See `config.log' for more details.
Maybe http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40950 or similar?
Anyway, the error happens even earlier, probably when it's trying to
find an in-tree C++ compiler.
HTH. Cheers,
Ralf
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: darwin8 / ppc bootstrap is failing for me.
2009-08-24 23:56 ` Ralf Wildenhues
@ 2009-08-25 15:08 ` IainS
2009-08-25 22:49 ` Ralf Wildenhues
0 siblings, 1 reply; 6+ messages in thread
From: IainS @ 2009-08-25 15:08 UTC (permalink / raw)
To: Ralf Wildenhues; +Cc: GCC Development
Thanks Ralf,
On 24 Aug 2009, at 19:52, Ralf Wildenhues wrote:
> * IainS wrote on Mon, Aug 24, 2009 at 08:17:37PM CEST:
>>
>> the configure that's failing is GMP rather than gcc... maybe I've
>> missed a requirement to update?
>
>> configure:11139: /lib/cpp -DNO_ASM conftest.cc
>> /Volumes/ScratchCS/gcc-4-5-regtest/gmp/configure: line 1: /lib/cpp:
>> No such file or directory
>
>> configure:11214: error: C++ preprocessor "/lib/cpp" fails sanity
>> check
>> See `config.log' for more details.
>
> Maybe http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40950 or similar?
> Anyway, the error happens even earlier, probably when it's trying to
> find an in-tree C++ compiler.
That seems to be it, and the cure is to add --enable-stage1-
languages=c,c++ (as per the bugreport).
In fact, it seems to effect both Darwin8 & 9 when building in-tree
GMP (so possibly others too).
The problem appeared between 148251 and 151057 (yeah, a big gap I
know.. busy with other things).
Note that I haven't changed the GMP - so the fail *is* as a result of
some aspect of the gcc build process changing.
presumably, most likely the upgrade in auto* tools.
I'll add a comment to the bugreport when the darwin9 build finishes.
thanks again,
Iain
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: darwin8 / ppc bootstrap is failing for me.
2009-08-25 15:08 ` IainS
@ 2009-08-25 22:49 ` Ralf Wildenhues
0 siblings, 0 replies; 6+ messages in thread
From: Ralf Wildenhues @ 2009-08-25 22:49 UTC (permalink / raw)
To: IainS; +Cc: GCC Development
* IainS wrote on Tue, Aug 25, 2009 at 12:28:58PM CEST:
> On 24 Aug 2009, at 19:52, Ralf Wildenhues wrote:
> >
> >http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40950
> That seems to be it, and the cure is to add --enable-stage1-languages=c,c++
> (as per the bugreport).
>
> In fact, it seems to effect both Darwin8 & 9 when building in-tree
> GMP (so possibly others too).
>
> The problem appeared between 148251 and 151057 (yeah, a big gap I
> know.. busy with other things).
>
> Note that I haven't changed the GMP - so the fail *is* as a result
> of some aspect of the gcc build process changing.
> presumably, most likely the upgrade in auto* tools.
No. The bug report is from before the autotools upgrade. The issue
comes from the switch to use C++ as a bootstrap compiler. I'd guess
r148889,
./:
* configure.ac: Add --enable-build-with-cxx. When set, add c++ to
boot_languages. [...]
Cheers,
Ralf
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-08-25 18:43 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-24 18:17 darwin8 / ppc bootstrap is failing for me IainS
2009-08-24 18:53 ` Ralf Wildenhues
2009-08-24 23:44 ` IainS
2009-08-24 23:56 ` Ralf Wildenhues
2009-08-25 15:08 ` IainS
2009-08-25 22:49 ` Ralf Wildenhues
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).