Hello,when I build the arm cross tools,the final gcc-build  error:
........................(some information)
checking for uintptr_t... yes
checking for int_least32_t... yes
checking for int_fast32_t... yes
checking for uint64_t... yes
checking what to include in gstdint.h... stdint.h (already complete)
configure: error: Pthreads are required to build libgomp
make[1]: *** [configure-target-libgomp] Error 1
make[1]: Leaving directory
`/mnt/clfs/ARM-cross-compiler/sbc2440/builddir-v1.0/gcc-build'
make: *** [all] Error 2

And my configure is like this:

../gcc-4.2.1/configure --target=$TARGET --prefix=${PREFIX} --disable-multilib
--disable-nls --enable-shared --enable-__cxa_atexit --enable-c99
--enable-long-long --enable-threads=posix --enable-languages=c,c++
--host=i686-pc-linux-gnu 

here $TARGET=arm-linux,

my host machine is a i686pc.


-- 
           Summary: gcc4.2.1 :libgomp fails to configure on ARM
           Product: gcc
           Version: 4.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgomp
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dangbinghoo at gmail dot com
 GCC build triplet: i686PC
  GCC host triplet: i686PC
GCC target triplet: ARM Samsung S3c2440


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

Reply via email to