|
Message-ID: <CAPLrYERQ2F4PDVvT6dA7AMVHRwWTrY0i=fNsBL5TLiXLh7wD8A@mail.gmail.com> Date: Thu, 28 Mar 2013 21:38:06 +0100 From: Daniel Cegiełka <daniel.cegielka@...il.com> To: musl@...ts.openwall.com Subject: musl and gcc-4.8 (sabotage) Hi, Is anyone able to compile gcc-4.8 with musl? I try to prepare patch based on the work of Gregor Richards... but without success. I wonder if the error isn't in gcc. patch gcc-4.8-musl.diff and several fixes from sabotage distro: libibertyfix libiberty # Prevent libffi from being installed sed -i -e 's/\(install.*:\) install-.*recursive/\1/' "${S}"/libffi/Makefile.in sed -i -e 's/\(install-data-am:\).*/\1/' "${S}"/libffi/include/Makefile.in configure: CHOST="x86_64-pc-linux-musl" PREFIX="/usr" BINPATH="${PREFIX}/lib/gcc/$version/bin" LIBPATH="${PREFIX}/lib/gcc/$version/lib" DATAPATH="${PREFIX}/share/gcc/$version/" STDCXX_INCDIR="${PREFIX}/include/c++/$version" GCC_LANG="c,c++" ./configure \ --host="${CHOST}" \ --build="${CHOST}" \ --target="${CHOST}" \ --prefix="${PREFIX}" \ --exec-prefix="${PREFIX}" \ --bindir="${BINPATH}" \ --libdir="${LIBPATH}" \ --with-slib=/lib \ --includedir=/usr/lib/gcc/$version/include \ --with-gxx-include-dir="${STDCXX_INCDIR}" \ --datadir="${DATAPATH}" \ --mandir="${DATAPATH}"/man \ --infodir="${DATAPATH}"/info \ --with-python-dir=/usr/share/gcc/$version/python \ --with-newlib \ --with-headers=no \ --disable-altivec \ --disable-fixed-point \ --without-ppl \ --without-cloog \ --enable-lto \ --disable-nls \ --with-system-zlib \ --enable-obsolete \ --disable-werror \ --enable-secureplt \ --disable-multilib \ --with-multilib-list=m64 \ --disable-libmudflap \ --disable-libssp \ --enable-esp \ --enable-libgomp \ --enable-checking=release \ --disable-libgcj \ --enable-languages="${GCC_LANG}" \ --enable-shared \ --enable-threads=posix \ --enable-tls \ --enable-__cxa_atexit \ --enable-clocale=generic error: make[3]: Entering directory `/var/tmp/ports/gcc/work/gcc-4.8-20130321/x86_64-pc-linux-musl/libstdc++-v3/include' echo timestamp > stamp-pb make[3]: *** No rule to make target `/var/tmp/ports/gcc/work/gcc-4.8-20130321/libstdc++-v3/config//ctype_base.h', needed by `stamp-host'. Stop. This header file is located in (ls) /var/tmp/ports/gcc/work/gcc-4.8-20130321/libstdc++-v3/config/os/generic/ ctype_base.h ctype_configure_char.cc ctype_inline.h error_constants.h os_defines.h and a little strange that gcc does not see it. Any thoughts? Daniel Download attachment "gcc-4.8-musl.diff" of type "application/octet-stream" (14583 bytes) Download attachment "build.log.xz" of type "application/octet-stream" (39032 bytes)
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.