public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/48677] New: cpp.exe broken ?
@ 2011-04-19  6:55 ralphengels at gmail dot com
  2011-04-19  8:45 ` [Bug preprocessor/48677] " redi at gcc dot gnu.org
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: ralphengels at gmail dot com @ 2011-04-19  6:55 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: cpp.exe broken ?
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: preprocessor
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ralphengels@gmail.com


hello im not sure if it has happened to others but im running head first into
something really annoying with the new gcc-4.6.0 package.

i maintain two packages for i686-w64-mingw32 and x86_64-w64-mingw32.

latest version i build was 4.5.2 and it works flawlessly but i was kinda
looking forward to the new version with plugin support for mingw.

unfortunatly it seems something broke with the changes causing cpp.exe to crash
when executed (i686-w64-mingw32) a quick run through gdb points to lbasename.c 

in this section   

  /* Skip over a possible disk name.  */
  if (ISALPHA(name[0]) && name[1] == ':') // crashes here
    name += 2;

the x86_64-w64-mingw32 builds cpp.exe doesnt crash but outputs nothing.

i noticed a lot of changes in the libiberty code so maybe a bug ?

heres the commands i use for bootstrapping it allthough i tried several
switches.

../src/gcc-4.6.0/configure \
--build=i686-w64-mingw32 --enable-libgomp \
--enable-cloog-backend=isl --enable-languages=c,c++,lto,fortran,objc,obj-c++ \
--enable-lto --enable-checking=release \
--disable-werror --disable-werror-allways \
--disable-win32-registry --enable-version-specific-runtime-libs \
--enable-fully-dynamic-string --prefix=/mingw32 \
--with-sysroot=/mingw32 --with-gnu-ld --with-gnu-as \
--disable-multilib \
CFLAGS="-mtune=generic" \
BOOT_CFLAGS="-mtune=generic" \
CFLAGS_FOR_TARGET="-mtune=generic" \
CXXFLAGS="-mthreads -mtune=generic" \
BOOT_CXXFLAGS="-mthreads -mtune=generic" \
CXXFLAGS_FOR_TARGET="-mthreads -mtune=generic" \
LFLAGS="-flto -fwhopr=2 -s" \
BOOT_LFLAGS="-flto -fwhopr=2 -s" \
LFLAGS_FOR_TARGET="-flto -fwhopr=2 -s" && make

btw im on win7 64.


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

end of thread, other threads:[~2011-05-16 22:24 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-19  6:55 [Bug preprocessor/48677] New: cpp.exe broken ? ralphengels at gmail dot com
2011-04-19  8:45 ` [Bug preprocessor/48677] " redi at gcc dot gnu.org
2011-04-19  9:42 ` ralphengels at gmail dot com
2011-04-20  8:48 ` ralphengels at gmail dot com
2011-04-20  9:10 ` redi at gcc dot gnu.org
2011-04-20  9:31 ` ralphengels at gmail dot com
2011-04-20  9:33 ` redi at gcc dot gnu.org
2011-04-20  9:34 ` redi at gcc dot gnu.org
2011-04-20 10:00 ` ralphengels at gmail dot com
2011-04-20 15:18 ` ralphengels at gmail dot com
2011-04-20 22:49 ` ralphengels at gmail dot com
2011-04-21 15:45 ` ralphengels at gmail dot com
2011-04-21 16:18 ` ralphengels at gmail dot com
2011-05-15  3:15 ` ralphengels at gmail dot com
2011-05-15 11:39 ` ralphengels at gmail dot com
2011-05-15 11:55 ` mikpe at it dot uu.se
2011-05-15 12:48 ` ralphengels at gmail dot com
2011-05-16 18:50 ` jsm28 at gcc dot gnu.org
2011-05-16 21:58 ` jsm28 at gcc dot gnu.org
2011-05-16 22:56 ` jsm28 at gcc dot gnu.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).