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/
>
You can find here a patch that include the missing parts from gcc-4.1
for arm/armel/kfreebsd-i386/kfreebsd-amd64 plus the mkdir -p change from
Martin:
http://temp.aurel32.net/gcc-4.2.arm_armel_kfreebsd.diff
Martin has tested the same kind of change on arm, I have tested it on
kfreebsd-i386. Build on armel and kfreebsd-amd64 is in progress.
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' aurel32@debian.org | aurelien@aurel32.net
`- people.debian.org/~aurel32 | www.aurel32.net
Reply to: