On 2012.11.15 at 06:01 -0800, H.J. Lu wrote: > On Thu, Nov 15, 2012 at 12:47 AM, Markus Trippelsdorf > <mar...@trippelsdorf.de> wrote: > > On 2012.11.14 at 08:21 -0800, H.J. Lu wrote: > >> On Tue, Nov 13, 2012 at 3:48 PM, Paolo Bonzini <bonz...@gnu.org> wrote: > >> > Il 14/11/2012 00:43, H.J. Lu ha scritto: > >> >> This works. > >> > > >> > Ok, then please test remove install-sh and friends and do > >> > autoconf/automake again. If it works, commit the result (I don't care > >> > if you make it one or two commits). > >> > > >> > Then, wait 24 hours for breakages and commit the multilib patch. > >> > > >> > Paolo > >> > >> This is the multilib patch I will commit later. > > > > And it still doesn't work (after applying the fix in my other reply): > > > > make[4]: Entering directory > > `/var/tmp/gcc_build_dir/x86_64-pc-linux-gnu/libsanitizer/asan' > > /bin/mkdir -p '/usr/lib/gcc/x86_64-pc-linux-gnu/' > > /bin/sh ../libtool --mode=install /usr/bin/install -c libasan.la > > '/usr/lib/gcc/x86_64-pc-linux-gnu/' > > libtool: install: error: cannot install `libasan.la' to a directory not > > ending in /usr/lib/gcc/x86_64-pc-linux-gnu/ > > make[4]: *** [install-toolexeclibLTLIBRARIES] Error 1 > > > > It works for me. Did you do > > # ./contrib/gcc_update --touch
Yes. I've used the following to configure gcc: ~/gcc/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --enable-libsanitizer --enable-lto --enable-nls --without-included-gettext --with-system-zlib --disable-werror --enable-initfini-array --with-gold --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --disable-libgomp --enable-cld --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.8.0/python --disable-libgcj --enable-languages=c,c++ --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --disable-bootstrap --with-boot-ldflags="-Wl,-O1,--hash-style=gnu,--as-needed,--gc-sections" --enable-version-specific-runtime-libs --disable-libstdcxx-pch --enable-libstdcxx-time=yes -- Markus