Bug#425011: gcc-4.1: FTBFS on m68k and arm, multiple definitions of ffi_prep_closure
* Martin Michlmayr <tbm@cyrius.com> [2007-05-22 12:58]:
> sed -n '/^baseline_dir *=/s,.*= *\(.*\)\$.*$,\1,p' Makefile
> /home/tbm/build/42/3/gcc-4.2-4.2-20070516/src/libstdc++-v3/config/abi/post/
>
> Any idea what to do about this? Giving that there's no "arm" directory, I
> suppose simply replacing mkdir with mkdir -p would work.
So, yes, this will work. Running
make -C build/arm-linux-gnu/libstdc++-v3/testsuite new-abi-baseline
will generate
/home/tbm/build/42/3/gcc-4.2-4.2-20070516/src/libstdc++-v3/config/abi/post/baseline_symbols.txt
which is in line with $gxx_baseline_file, and everything will work.
So, for gcc-4.2 on ARM, we need:
- Aurelien's arm-libffi fix
- s/mkdir/mkdir -p/
--
Martin Michlmayr
http://www.cyrius.com/
Reply to: