Bug 33770 - gcc4.2.1 :libgomp fails to configure on ARM
Summary: gcc4.2.1 :libgomp fails to configure on ARM
Status: RESOLVED WORKSFORME
Alias: None
Product: gcc
Classification: Unclassified
Component: libgomp (show other bugs)
Version: 4.2.1
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-14 12:06 UTC by Dangbinghu
Modified: 2009-12-10 23:14 UTC (History)
1 user (show)

See Also:
Host: i686PC
Target: ARM Samsung S3c2440
Build: i686PC
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dangbinghu 2007-10-14 12:06:56 UTC
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.
Comment 1 Ramana Radhakrishnan 2009-05-07 11:39:25 UTC
Can you try with a later compiler ? 4.2.x no longer exists. As long as your headers were fine I don't see why this shouldn't have built.
Comment 2 Richard Earnshaw 2009-12-10 23:14:21 UTC
No feedback in over six months.  I suspect this was pilot error, but there's not enough information to be really sure (like a fully expanded configure line).