[Android Builders Collective] fKm:
Hey [MENTION=6842057]The Flash[/MENTION], I know you don't like if someone is asking you a technical question about your Flash-ROM but I am stuck a little bit right now and I hope maybe you can help me.

I try to compile Flash-ROM for my hammerhead. So far so good. I got all the necessary repos for my build but it always errors out at the compilation of libc with this error:

target SharedLib: libc (/media/fkm/Daten/FlashROM/out/target/product/hammerhead/obj/SHARED_LIBRARIES/libc_intermediates/LINKED/libc.so)
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin/ld.gold: error: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/../lib/gcc/arm-linux-androideabi/4.9.4/libgcc.a(_arm_cmpdf2.o): multiple definition of '__gtdf2'
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin/ld.gold: /media/fkm/Daten/FlashROM/out/target/product/hammerhead/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/libcompiler_rt-extras.a(comparedf2.o): previous definition here
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin/ld.gold: error: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/../lib/gcc/arm-linux-androideabi/4.9.4/libgcc.a(_arm_cmpdf2.o): multiple definition of '__gedf2'
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin/ld.gold: /media/fkm/Daten/FlashROM/out/target/product/hammerhead/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/libcompiler_rt-extras.a(comparedf2.o): previous definition here
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin/ld.gold: error: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/../lib/gcc/arm-linux-androideabi/4.9.4/libgcc.a(_arm_cmpdf2.o): multiple definition of '__ltdf2'
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin/ld.gold: /media/fkm/Daten/FlashROM/out/target/product/hammerhead/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/libcompiler_rt-extras.a(comparedf2.o): previous definition here
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin/ld.gold: error: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/../lib/gcc/arm-linux-androideabi/4.9.4/libgcc.a(_arm_cmpdf2.o): multiple definition of '__ledf2'
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin/ld.gold: /media/fkm/Daten/FlashROM/out/target/product/hammerhead/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/libcompiler_rt-extras.a(comparedf2.o): previous definition here
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin/ld.gold: error: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/../lib/gcc/arm-linux-androideabi/4.9.4/libgcc.a(_arm_cmpdf2.o): multiple definition of '__nedf2'
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin/ld.gold: /media/fkm/Daten/FlashROM/out/target/product/hammerhead/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/libcompiler_rt-extras.a(comparedf2.o): previous definition here
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin/ld.gold: error: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/../lib/gcc/arm-linux-androideabi/4.9.4/libgcc.a(_arm_cmpdf2.o): multiple definition of '__eqdf2'
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin/ld.gold: /media/fkm/Daten/FlashROM/out/target/product/hammerhead/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/libcompiler_rt-extras.a(comparedf2.o): previous definition here
clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)
build/core/shared_library_internal.mk:81: recipe for target '/media/fkm/Daten/FlashROM/out/target/product/hammerhead/obj/SHARED_LIBRARIES/libc_intermediates/LINKED/libc.so' failed
make: *** [/media/fkm/Daten/FlashROM/out/target/product/hammerhead/obj/SHARED_LIBRARIES/libc_intermediates/LINKED/libc.so] Error 1
make: *** Waiting for unfinished jobs....

I tried to add libc and libc% to the disabled modules in the uber.mk but it didn't work. I also tried to change the toolchain to an earlier uber version as you can see above but that didn't help too. Right now I am out of idead. Maybe you can help me please?

If you don't want to answer any question regarding this just let me know and I will be silent :)