Enabling libgomp in Android toolchain

Hello all,
I want to enable omp support in the Android toolchain, and for that I
have changed GCC_CONFIG_ARGS to include --enable-libgomp (and removing
--disable-libgomp):

However on compilation I face the following error:

-----------------------------------------------------------------BUILD
LOG----------------------------------------------------------------------------
checking whether /home/melwyn/toolchain/toolchain_objs_ndk/gcc-4.3.2/./
gcc/xgcc -B/home/melwyn/toolchain/toolchain_objs_ndk/gcc-4.3.2/./gcc/ -
B/home/melwyn/myandroid/prebuilt/linux-x86/toolchain/arm-
eabi-4.2.1_libgomp/arm-eabi/bin/ -B/home/melwyn/myandroid/prebuilt/
linux-x86/toolchain/arm-eabi-4.2.1_libgomp/arm-eabi/lib/ -isystem /
home/melwyn/myandroid/prebuilt/linux-x86/toolchain/arm-
eabi-4.2.1_libgomp/arm-eabi/include -isystem /home/melwyn/myandroid/
prebuilt/linux-x86/toolchain/arm-eabi-4.2.1_libgomp/arm-eabi/sys-
include supports -Wall... yes
checking whether /home/melwyn/toolchain/toolchain_objs_ndk/gcc-4.3.2/./
gcc/xgcc -B/home/melwyn/toolchain/toolchain_objs_ndk/gcc-4.3.2/./gcc/ -
B/home/melwyn/myandroid/prebuilt/linux-x86/toolchain/arm-
eabi-4.2.1_libgomp/arm-eabi/bin/ -B/home/melwyn/myandroid/prebuilt/
linux-x86/toolchain/arm-eabi-4.2.1_libgomp/arm-eabi/lib/ -isystem /
home/melwyn/myandroid/prebuilt/linux-x86/toolchain/arm-
eabi-4.2.1_libgomp/arm-eabi/include -isystem /home/melwyn/myandroid/
prebuilt/linux-x86/toolchain/arm-eabi-4.2.1_libgomp/arm-eabi/sys-
include supports -Wwrite-strings... yes
checking whether /home/melwyn/toolchain/toolchain_objs_ndk/gcc-4.3.2/./
gcc/xgcc -B/home/melwyn/toolchain/toolchain_objs_ndk/gcc-4.3.2/./gcc/ -
B/home/melwyn/myandroid/prebuilt/linux-x86/toolchain/arm-
eabi-4.2.1_libgomp/arm-eabi/bin/ -B/home/melwyn/myandroid/prebuilt/
linux-x86/toolchain/arm-eabi-4.2.1_libgomp/arm-eabi/lib/ -isystem /
home/melwyn/myandroid/prebuilt/linux-x86/toolchain/arm-
eabi-4.2.1_libgomp/arm-eabi/include -isystem /home/melwyn/myandroid/
prebuilt/linux-x86/toolchain/arm-eabi-4.2.1_libgomp/arm-eabi/sys-
include supports -Wc++-compat... yes
checking whether /home/melwyn/toolchain/toolchain_objs_ndk/gcc-4.3.2/./
gcc/xgcc -B/home/melwyn/toolchain/toolchain_objs_ndk/gcc-4.3.2/./gcc/ -
B/home/melwyn/myandroid/prebuilt/linux-x86/toolchain/arm-
eabi-4.2.1_libgomp/arm-eabi/bin/ -B/home/melwyn/myandroid/prebuilt/
linux-x86/toolchain/arm-eabi-4.2.1_libgomp/arm-eabi/lib/ -isystem /
home/melwyn/myandroid/prebuilt/linux-x86/toolchain/arm-
eabi-4.2.1_libgomp/arm-eabi/include -isystem /home/melwyn/myandroid/
prebuilt/linux-x86/toolchain/arm-eabi-4.2.1_libgomp/arm-eabi/sys-
include supports -Wstrict-prototypes... yes
checking whether /home/melwyn/toolchain/toolchain_objs_ndk/gcc-4.3.2/./
gcc/xgcc -B/home/melwyn/toolchain/toolchain_objs_ndk/gcc-4.3.2/./gcc/ -
B/home/melwyn/myandroid/prebuilt/linux-x86/toolchain/arm-
eabi-4.2.1_libgomp/arm-eabi/bin/ -B/home/melwyn/myandroid/prebuilt/
linux-x86/toolchain/arm-eabi-4.2.1_libgomp/arm-eabi/lib/ -isystem /
home/melwyn/myandroid/prebuilt/linux-x86/toolchain/arm-
eabi-4.2.1_libgomp/arm-eabi/include -isystem /home/melwyn/myandroid/
prebuilt/linux-x86/toolchain/arm-eabi-4.2.1_libgomp/arm-eabi/sys-
include supports -pedantic ... yes
checking whether /home/melwyn/toolchain/toolchain_objs_ndk/gcc-4.3.2/./
gcc/xgcc -B/home/melwyn/toolchain/toolchain_objs_ndk/gcc-4.3.2/./gcc/ -
B/home/melwyn/myandroid/prebuilt/linux-x86/toolchain/arm-
eabi-4.2.1_libgomp/arm-eabi/bin/ -B/home/melwyn/myandroid/prebuilt/
linux-x86/toolchain/arm-eabi-4.2.1_libgomp/arm-eabi/lib/ -isystem /
home/melwyn/myandroid/prebuilt/linux-x86/toolchain/arm-
eabi-4.2.1_libgomp/arm-eabi/include -isystem /home/melwyn/myandroid/
prebuilt/linux-x86/toolchain/arm-eabi-4.2.1_libgomp/arm-eabi/sys-
include and cc understand -c and -o together... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for sys/file.h... no
checking for sys/param.h... no
checking for limits.h... yes
checking for stdlib.h... no
checking for malloc.h... no
checking for string.h... no
checking for unistd.h... no
checking for strings.h... no
checking for sys/time.h... no
checking for time.h... no
checking for sys/resource.h... no
checking for sys/stat.h... no
checking for sys/mman.h... no
checking for fcntl.h... no
checking for alloca.h... no
checking for sys/pstat.h... no
checking for sys/sysmp.h... no
checking for sys/sysinfo.h... no
checking for machine/hal_sysinfo.h... no
checking for sys/table.h... no
checking for sys/sysctl.h... no
checking for sys/systemcfg.h... no
checking for stdint.h... no
checking for stdio_ext.h... no
checking for sys/wait.h that is POSIX.1 compatible... no
checking whether time.h and sys/time.h may both be included... no
checking whether errno must be declared... yes
checking for egrep... grep -E
checking for ANSI C header files... no
checking for sys/types.h... no
checking for sys/stat.h... (cached) no
checking for stdlib.h... (cached) no
checking for string.h... (cached) no
checking for memory.h... no
checking for strings.h... (cached) no
checking for inttypes.h... no
checking for stdint.h... (cached) no
checking for unistd.h... (cached) no
checking for int... no
checking size of int... 0
checking for uintptr_t... no
checking for a 64-bit type... unsigned long long
checking for pid_t... no
checking for library containing strerror... configure: error: Link
tests are not allowed after GCC_NO_EXECUTABLES.
make[2]: *** [configure-target-libiberty] Error 1
make[2]: Leaving directory `/home/melwyn/toolchain/toolchain_objs_ndk/
gcc-4.3.2'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/melwyn/toolchain/toolchain_objs_ndk/
gcc-4.3.2'
make: *** [stmp-build-target-gcc] Error 2