* current subversion (rev 115032) compiling issues
@ 2006-06-27 9:19 Marco Trudel
2006-06-28 9:02 ` [PATCH] Making double precision constants work with -fsingle-precision-constant [was: Re: current subversion (rev 115032) compiling issues] Marco Trudel
0 siblings, 1 reply; 4+ messages in thread
From: Marco Trudel @ 2006-06-27 9:19 UTC (permalink / raw)
To: gcc-help
Hi list
I run into errors trying to compile the current subversion state. I
compile with this command:
cd $GCC_BUILD_DIR
$GCC_SRC_DIR/configure --prefix=$GCC_OUT_DIR \
--build=`$GCC_SRC_DIR/config.guess` --host=i686-pc-mingw32
--target=i686-pc-mingw32 \
--with-sysroot=$GCC_OUT_DIR/sys-root
--with-build-sysroot=$GCC_OUT_DIR/sys-root \
--enable-languages=c,c++,java \
--with-as=$AS --with-ld=$LD --with-gcj=i686-pc-mingw32-gcj\
--with-gnu-as --with-gnu-ld \
--disable-nls --disable-debug --disable-shared --disable-checking \
--enable-threads=win32 --disable-win32-registry
--enable-sjlj-exceptions \
--enable-libgcj
make
My compiler is a gcc 4.1.1 that compiles for i686-pc-mingw32.
The first problem is:
$GCC_SRC_DIR/libstdc++-v3/libsupc++/eh_personality.cc:434: error:
'_Unwind_GetIPInfo' was not declared in this scope
Inserting #include "unwind-generic.h" before #include "unwind-cxx.h"
solves this one. Inserting it anywhere after "unwind-cxx.h", won't work.
I don't know if this is correct or not, just solves the first problem...
Ok, next Problem:
$GCC_BUILD_DIR/i686-pc-mingw32/libstdc++-v3/include/limits:1011: error:
'__FLT_HAS_DENORM__' was not declared in this scope
$GCC_BUILD_DIR/i686-pc-mingw32/libstdc++-v3/include/limits:1068: error:
'__DBL_HAS_DENORM__' was not declared in this scope
$GCC_BUILD_DIR/i686-pc-mingw32/libstdc++-v3/include/limits:1125: error:
'__LDBL_HAS_DENORM__' was not declared in this scope
Here I'm stuck because I'm unable to find the defining header or source
file for these constants... Any ideas?
regards
Marco
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Making double precision constants work with -fsingle-precision-constant [was: Re: current subversion (rev 115032) compiling issues]
2006-06-27 9:19 current subversion (rev 115032) compiling issues Marco Trudel
@ 2006-06-28 9:02 ` Marco Trudel
2006-06-28 16:27 ` Carlos O'Donell
0 siblings, 1 reply; 4+ messages in thread
From: Marco Trudel @ 2006-06-28 9:02 UTC (permalink / raw)
To: Carlos O'Donell; +Cc: gcc-help, gcc-patches
Hello Carlos
Your patch http://gcc.gnu.org/ml/gcc-patches/2005-12/msg00790.html seems
to break cross-compiling for windows, see attached forwarded message.
regards
Marco
Marco Trudel wrote:
> Hi list
>
> I run into errors trying to compile the current subversion state. I
> compile with this command:
>
> cd $GCC_BUILD_DIR
> $GCC_SRC_DIR/configure --prefix=$GCC_OUT_DIR \
> --build=`$GCC_SRC_DIR/config.guess` --host=i686-pc-mingw32
> --target=i686-pc-mingw32 \
> --with-sysroot=$GCC_OUT_DIR/sys-root
> --with-build-sysroot=$GCC_OUT_DIR/sys-root \
> --enable-languages=c,c++,java \
> --with-as=$AS --with-ld=$LD --with-gcj=i686-pc-mingw32-gcj\
> --with-gnu-as --with-gnu-ld \
> --disable-nls --disable-debug --disable-shared --disable-checking \
> --enable-threads=win32 --disable-win32-registry
> --enable-sjlj-exceptions \
> --enable-libgcj
> make
>
> My compiler is a gcc 4.1.1 that compiles for i686-pc-mingw32.
>
>
> The first problem is:
> $GCC_SRC_DIR/libstdc++-v3/libsupc++/eh_personality.cc:434: error:
> '_Unwind_GetIPInfo' was not declared in this scope
>
> Inserting #include "unwind-generic.h" before #include "unwind-cxx.h"
> solves this one. Inserting it anywhere after "unwind-cxx.h", won't work.
> I don't know if this is correct or not, just solves the first problem...
>
> Ok, next Problem:
> $GCC_BUILD_DIR/i686-pc-mingw32/libstdc++-v3/include/limits:1011: error:
> '__FLT_HAS_DENORM__' was not declared in this scope
> $GCC_BUILD_DIR/i686-pc-mingw32/libstdc++-v3/include/limits:1068: error:
> '__DBL_HAS_DENORM__' was not declared in this scope
> $GCC_BUILD_DIR/i686-pc-mingw32/libstdc++-v3/include/limits:1125: error:
> '__LDBL_HAS_DENORM__' was not declared in this scope
>
> Here I'm stuck because I'm unable to find the defining header or source
> file for these constants... Any ideas?
>
>
> regards
> Marco
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Making double precision constants work with -fsingle-precision-constant [was: Re: current subversion (rev 115032) compiling issues]
2006-06-28 9:02 ` [PATCH] Making double precision constants work with -fsingle-precision-constant [was: Re: current subversion (rev 115032) compiling issues] Marco Trudel
@ 2006-06-28 16:27 ` Carlos O'Donell
2006-06-30 19:27 ` Marco Trudel
0 siblings, 1 reply; 4+ messages in thread
From: Carlos O'Donell @ 2006-06-28 16:27 UTC (permalink / raw)
To: Marco Trudel; +Cc: gcc-help, gcc-patches
On Wed, Jun 28, 2006 at 11:02:00AM +0200, Marco Trudel wrote:
> Your patch http://gcc.gnu.org/ml/gcc-patches/2005-12/msg00790.html seems
> to break cross-compiling for windows, see attached forwarded message.
> >Ok, next Problem:
> >$GCC_BUILD_DIR/i686-pc-mingw32/libstdc++-v3/include/limits:1011: error:
> >'__FLT_HAS_DENORM__' was not declared in this scope
> >$GCC_BUILD_DIR/i686-pc-mingw32/libstdc++-v3/include/limits:1068: error:
> >'__DBL_HAS_DENORM__' was not declared in this scope
> >$GCC_BUILD_DIR/i686-pc-mingw32/libstdc++-v3/include/limits:1125: error:
> >'__LDBL_HAS_DENORM__' was not declared in this scope
> >
> >Here I'm stuck because I'm unable to find the defining header or source
> >file for these constants... Any ideas?
The values of these definitions are computed by the compiler in gcc/c-cppbuiltins.c
(c_cpp_builtins).
Can you provide preprocessed source without macro expansion? I'm curious
why a Windows hosted toolchain doesn't call c_cpp_builtins.
Cheers,
Carlos.
--
Carlos O'Donell
CodeSourcery
carlos@codesourcery.com
(650) 331-3385 x716
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Making double precision constants work with -fsingle-precision-constant [was: Re: current subversion (rev 115032) compiling issues]
2006-06-28 16:27 ` Carlos O'Donell
@ 2006-06-30 19:27 ` Marco Trudel
0 siblings, 0 replies; 4+ messages in thread
From: Marco Trudel @ 2006-06-30 19:27 UTC (permalink / raw)
To: Carlos O'Donell; +Cc: gcc-help, gcc-patches
Problem solved by updating the gcc I use to build the current subversion
version to 4.2.0.
regards
Marco
Carlos O'Donell wrote:
> On Wed, Jun 28, 2006 at 11:02:00AM +0200, Marco Trudel wrote:
>> Your patch http://gcc.gnu.org/ml/gcc-patches/2005-12/msg00790.html seems
>> to break cross-compiling for windows, see attached forwarded message.
>
>>> Ok, next Problem:
>>> $GCC_BUILD_DIR/i686-pc-mingw32/libstdc++-v3/include/limits:1011: error:
>>> '__FLT_HAS_DENORM__' was not declared in this scope
>>> $GCC_BUILD_DIR/i686-pc-mingw32/libstdc++-v3/include/limits:1068: error:
>>> '__DBL_HAS_DENORM__' was not declared in this scope
>>> $GCC_BUILD_DIR/i686-pc-mingw32/libstdc++-v3/include/limits:1125: error:
>>> '__LDBL_HAS_DENORM__' was not declared in this scope
>>>
>>> Here I'm stuck because I'm unable to find the defining header or source
>>> file for these constants... Any ideas?
>
> The values of these definitions are computed by the compiler in gcc/c-cppbuiltins.c
> (c_cpp_builtins).
>
> Can you provide preprocessed source without macro expansion? I'm curious
> why a Windows hosted toolchain doesn't call c_cpp_builtins.
>
> Cheers,
> Carlos.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-06-30 19:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-27 9:19 current subversion (rev 115032) compiling issues Marco Trudel
2006-06-28 9:02 ` [PATCH] Making double precision constants work with -fsingle-precision-constant [was: Re: current subversion (rev 115032) compiling issues] Marco Trudel
2006-06-28 16:27 ` Carlos O'Donell
2006-06-30 19:27 ` Marco Trudel
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).