[Bug target/60301] New: cross compiler for android: multiple definition of TARGET_POSIX_IO

valeryweber at hotmail dot com gcc-bugzilla@gcc.gnu.org
Fri Feb 21 14:27:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60301

            Bug ID: 60301
           Summary: cross compiler for android: multiple definition of
                    TARGET_POSIX_IO
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: valeryweber at hotmail dot com

Dear 

while building a cross gcc (trunk) for android (ndk-r9c toolchains). 
I get a multiple definition of TARGET_POSIX_IO (see bellow). 
Getting rid of it makes the thing compile fine.

Thanks

v


./build/tools/build-gcc.sh  --build-out=/home/vwe/libs/gcc/test/tmp2
--binutils-version=2.22.90 --mpfr-version=3.1.2 --mpc-version=1.0
--gmp-version=5.1.3 --gdb-version=7.7 --cloog-version=0.18.1 --ppl-version=1.1
--isl-version=0.12  --try-64 /home/vwe/libs/gcc/test/android-ndk-r9c/src
/home/vwe/libs/gcc/test/android-ndk-r9c arm-linux-androideabi-4.8

[...]

In file included from ../.././gcc/tm.h:24:0,
                 from
/home/vwe/libs/gcc/test/android-ndk-r9c/src/build/../gcc/gcc-4.8/libgcc/fixed-bit.c:48:
/home/vwe/libs/gcc/test/android-ndk-r9c/src/build/../gcc/gcc-4.8/libgcc/../gcc/config/gnu-user.h:109:0:
warning: "TARGET_POSIX_IO" redefined
 #define TARGET_POSIX_IO



More information about the Gcc-bugs mailing list