Bug#425011: gcc-4.1: FTBFS on m68k and arm, multiple definitions of ffi_prep_closure
Martin Michlmayr a écrit :
> * 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/
>
Note that we have the same exact problem on kfreebsd-i386.
I have just started an armel build, I guess it will also be necessary.
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' aurel32@debian.org | aurelien@aurel32.net
`- people.debian.org/~aurel32 | www.aurel32.net
Reply to: