[Bug preprocessor/48677] New: cpp.exe broken ?
ralphengels at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Apr 19 06:55:00 GMT 2011
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.
More information about the Gcc-bugs
mailing list