2009/8/22 Ozkan Sezer <[email protected]>:
>>> I am glad that it fixes your case, and please feel free to report
>>> any further issues. As I said, we're working further on additional
>>> problems related to this.
>>>
>>> Cheers.
>>>
>>>
>>
>> Hi,
>> Just to follow up on that native compiler that I cross compiled it from
>> linux.
>> It does run but only half way. here's the complete error message of what
>> happens when I try to compile hello.c
>>
>> $ gcc -v -c hello.c
>> Using built-in specs.
>> Target: x86_64-w64-mingw32
>> Configured with: /home/slack/gcc/gcc-4.4.1/configure --with-sysroot=/mingw
>> --host=x86_64-w64-mingw32 --build=i486-slackware-linux
>> --target=x86_64-w64-mingw32 --prefix=/mingw --disable-shared --disable-nls
>> --disable-debug --with-gcc --with-gnu-as --with-gnu-ld
>> --enable-languages=c,c++ --disable-win32-registry --disable-werror
>> --disable-symvers --disable-sjlj-exceptions --enable-threads
>> --enable-fully-dynamic-string --enable-version-specific-runtime-libs
>> --enable-cxx-flags='-fno-function-sections -fno-data-sections'
>> --with-mpfr=/home/slack/usr/win64 --with-gmp=/home/slack/usr/win64
>> --with-ppl=/home/slack/usr/win64 --with-cloog=/home/slack/usr/win64
>> --with-pkgversion=x86_64-w64-mingw32-dw2 --with-host-libstdcxx=-lstdc++
>> --with-dwarf2 --disable-multilib
>> Thread model: win32
>> gcc version 4.4.1 (x86_64-w64-mingw32-dw2)
>> COLLECT_GCC_OPTIONS='-v' '-c' '-mtune=generic'
>> e:/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/4.4.1/cc1.exe -quiet -v
>> -iprefix e:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.4.1/ hello.c -quiet
>> -dumpbase hello.c -mtune=generic -auxbase hello -version -o
>> C:\Users\wxp\AppData\Local\Temp\ccx0grR6.s
>> ignoring nonexistent directory
>> "/mingw/mingw/lib/gcc/x86_64-w64-mingw32/4.4.1/../../../../include"
>> ignoring duplicate directory
>> "e:/mingw64/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/4.4.1/include"
>> ignoring duplicate directory
>> "e:/mingw64/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/4.4.1/include-fixed"
>> ignoring duplicate directory
>> "e:/mingw64/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/4.4.1/../../../../x86_64-w64-mingw32/include"
>> ignoring nonexistent directory "/mingw/mingw/include64"
>> #include "..." search starts here:
>> #include <...> search starts here:
>> e:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.4.1/include
>> e:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.4.1/include-fixed
>> e:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.4.1/../../../../x86_64-w64-mingw32/include
>> End of search list.
>> GNU C (x86_64-w64-mingw32-dw2) version 4.4.1 (x86_64-w64-mingw32)
>> compiled by GNU C version 4.4.1, GMP version 4.3.1, MPFR version
>> 2.4.1.
>> GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
>> Compiler executable checksum: b3c2d96f3e25147e506677ead914124d
>> COLLECT_GCC_OPTIONS='-v' '-c' '-mtune=generic'
>> "
>> gcc.exe: CreateProcess: No such file or directory
>>
>> ------
>> $ x86_64-w64-mingw32-gcc -v -c hello.c
>> Using built-in specs.
>> Target: x86_64-w64-mingw32
>> Configured with: /home/slack/gcc/gcc-4.4.1/configure --with-sysroot=/mingw
>> --host=x86_64-w64-mingw32 --build=i486-slackware-linux
>> --target=x86_64-w64-mingw32 --prefix=/mingw --disable-shared --disable-nls
>> --disable-debug --with-gcc --with-gnu-as --with-gnu-ld
>> --enable-languages=c,c++ --disable-win32-registry --disable-werror
>> --disable-symvers --disable-sjlj-exceptions --enable-threads
>> --enable-fully-dynamic-string --enable-version-specific-runtime-libs
>> --enable-cxx-flags='-fno-function-sections -fno-data-sections'
>> --with-mpfr=/home/slack/usr/win64 --with-gmp=/home/slack/usr/win64
>> --with-ppl=/home/slack/usr/win64 --with-cloog=/home/slack/usr/win64
>> --with-pkgversion=x86_64-w64-mingw32-dw2 --with-host-libstdcxx=-lstdc++
>> --with-dwarf2 --disable-multilib
>> Thread model: win32
>> gcc version 4.4.1 (x86_64-w64-mingw32-dw2)
>> COLLECT_GCC_OPTIONS='-v' '-c' '-mtune=generic'
>> e:/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/4.4.1/cc1.exe -quiet -v
>> -iprefix e:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.4.1/ hello.c -quiet
>> -dumpbase hello.c -mtune=generic -auxbase hello -version -o
>> C:\Users\wxp\AppData\Local\Temp\ccZxdIWh.s
>> ignoring nonexistent directory
>> "/mingw/mingw/lib/gcc/x86_64-w64-mingw32/4.4.1/../../../../include"
>> ignoring duplicate directory
>> "e:/mingw64/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/4.4.1/include"
>> ignoring duplicate directory
>> "e:/mingw64/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/4.4.1/include-fixed"
>> ignoring duplicate directory
>> "e:/mingw64/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/4.4.1/../../../../x86_64-w64-mingw32/include"
>> ignoring nonexistent directory "/mingw/mingw/include64"
>> #include "..." search starts here:
>> #include <...> search starts here:
>> e:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.4.1/include
>> e:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.4.1/include-fixed
>> e:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.4.1/../../../../x86_64-w64-mingw32/include
>> End of search list.
>> GNU C (x86_64-w64-mingw32-dw2) version 4.4.1 (x86_64-w64-mingw32)
>> compiled by GNU C version 4.4.1, GMP version 4.3.1, MPFR version
>> 2.4.1.
>> GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
>> Compiler executable checksum: b3c2d96f3e25147e506677ead914124d
>> COLLECT_GCC_OPTIONS='-v' '-c' '-mtune=generic'
>> "
>> x86_64-w64-mingw32-gcc.exe: CreateProcess: No such file or directory
>>
>> --
>> It does not seem to be working on Vista x64 SP2, may be this is related to
>> previous problem?
>> Is there a problem in the source code you just updated bugged fstat64 ?
>> I recompiled the cross compiler and native compiler just to check if it is a
>> problem in the build process.
>>
>> Regards.
>
> Please CC the mailing list so that others may be
> able to help, too. For this particular case, I had
> this once, too, so it needn't be a build system
> problem. But I haven't been using a native
> compiler for quite some time, so let's see what
> others have to say.
>
> --
> Ozkan
>
Hello,
I hoped this issue was solved by recent modification to fstat/stat,
but sadly it doesn't seem so. To fix this driver bug (and it is a
driver bug only AFAIK), use for building gcc, g++, gfortan, etc for
CFLAGS=-O0
This solves this issue. The question here is what produces the issue
here. Maybe you could add to gcc's build the option
-Wstrict-aliasing=2 option, too (for -O2 build) and check if there are
any new strict aliasing failures are shown.
Best regards
Kai
--
| (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public