libXext-native fail to compile (x86_64)
Hi all,
While trying to build from scratch the latest .dev branch with:
- angstrom-2010.x distribution
Build Configuration:BB_VERSION = "1.10.0"METADATA_BRANCH = "dev_for2010.12"METADATA_REVISION = "a1bba89"
TARGET_ARCH = "arm" TARGET_OS = "linux-gnueabi" MACHINE = "at91sam9m10g45ek" DISTRO = "angstrom" DISTRO_VERSION = "next" TARGET_FPU = "soft"
I have the following error with libxext:
NOTE: package libxext-native-1_1.2.0-r9.0: task do_compile: Failed
After this:
| make[2]: Entering directory `/local/users/nferre/workspace/oe/tmp/work/x86_64-linux/libxext-native-1_1.2.0-r9.0/libXext-1.2.0/src' | CCLD libXext.la | /usr/bin/ld: .libs/extutil.o: relocation R_X86_64_PC32 against `xgeExtRegister' can not be used when making a shared object; recompile with -fPIC | /usr/bin/ld: final link failed: Bad value | collect2: ld returned 1 exit status | make[2]: *** [libXext.la] Error 1
I attach the error message to let you know...
Here is my cpuinfo just for the record:
processor : 0vendor_id : AuthenticAMD
cpu family : 15
model : 67
model name : Dual-Core AMD Opteron(tm) Processor 1222
stepping : 3
cpu MHz : 3015.536
cache size : 1024 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
fpu : yesfpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy
bogomips : 6033.55
TLB size : 1024 4K pages
clflush size : 64cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc
processor : 1vendor_id : AuthenticAMD
cpu family : 15
model : 67
model name : Dual-Core AMD Opteron(tm) Processor 1222
stepping : 3
cpu MHz : 3015.536
cache size : 1024 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
fpu : yesfpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy
bogomips : 6027.07
TLB size : 1024 4K pages
clflush size : 64cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc
Best regards,
Signature · 1 line
Nicolas Ferre
NOTE: make -j 4
make all-recursive
make[1]: Entering directory `/local/users/nferre/workspace/oe/tmp/work/x86_64-linux/libxext-native-1_1.2.0-r9.0/libXext-1.2.0' Making all in man
make[2]: Entering directory `/local/users/nferre/workspace/oe/tmp/work/x86_64-linux/libxext-native-1_1.2.0-r9.0/libXext-1.2.0/man'
GEN XShapeQueryExtension.3 GEN XShapeQueryVersion.3 GEN XShapeCombineRegion.3 GEN XShapeCombineRectangles.3 GEN XShapeCombineMask.3 GEN XShapeCombineShape.3 GEN XShapeOffsetShape.3 GEN XShapeQueryExtents.3 GEN XShapeSelectInput.3 GEN XShapeInputSelected.3 GEN XShapeGetRectangles.3 GEN XShmQueryExtension.3 GEN XShmQueryVersion.3 GEN XShmPixmapFormat.3 GEN XShmAttach.3 GEN XShmDetach.3 GEN XShmCreateImage.3 GEN XShmPutImage.3 GEN XShmGetImage.3 GEN XShmCreatePixmap.3 GEN XShmGetEventBase.3 GEN XmbufQueryExtension.3 GEN XmbufGetVersion.3 GEN XmbufCreateBuffers.3 GEN XmbufDestroyBuffers.3 GEN XmbufDisplayBuffers.3 GEN XmbufGetWindowAttributes.3 GEN XmbufChangeWindowAttributes.3 GEN XmbufGetBufferAttributes.3 GEN XmbufChangeBufferAttributes.3 GEN XmbufGetScreenInfo.3 GEN XmbufCreateStereoWindow.3 GEN XeviQueryVersion.3 GEN XeviGetVisualInfo.3 GEN XeviQueryExtension.3 GEN DBE.3 GEN DPMSCapable.3 GEN DPMSDisable.3 GEN DPMSEnable.3 GEN DPMSForceLevel.3 GEN DPMSGetTimeouts.3 GEN DPMSGetVersion.3 GEN DPMSInfo.3 GEN DPMSQueryExtension.3 GEN DPMSSetTimeouts.3 GEN XShape.3 GEN XShm.3 GEN XcupGetReservedColormapEntries.3 GEN XcupQueryVersion.3 GEN XcupStoreColors.3 GEN XdbeAllocateBackBufferName.3 GEN XdbeBeginIdiom.3 GEN XdbeDeallocateBackBufferName.3 GEN XdbeEndIdiom.3 GEN XdbeFreeVisualInfo.3 GEN XdbeGetBackBufferAttributes.3 GEN XdbeGetVisualInfo.3 GEN XdbeQueryExtension.3 GEN XdbeSwapBuffers.3 GEN Xmbuf.3 GEN Xevi.3 make[2]: Leaving directory `/local/users/nferre/workspace/oe/tmp/work/x86_64-linux/libxext-native-1_1.2.0-r9.0/libXext-1.2.0/man' Making all in src make[2]: Entering directory `/local/users/nferre/workspace/oe/tmp/work/x86_64-linux/libxext-native-1_1.2.0-r9.0/libXext-1.2.0/src' CC DPMS.lo CC MITMisc.lo CC XAppgroup.lo CC XEVI.lo CC XLbx.lo CC XMultibuf.lo CC XSecurity.lo CC XShape.lo CC XShm.lo CC XSync.lo CC XTestExt1.lo CC Xcup.lo CC Xdbe.lo
XTestExt1.c:150: warning: no previous prototype for 'XTestFakeInput' XTestExt1.c:235: warning: no previous prototype for 'XTestGetInput' XTestExt1.c:293: warning: no previous prototype for 'XTestStopInput' XTestExt1.c:347: warning: no previous prototype for 'XTestReset' XTestExt1.c:405: warning: no previous prototype for 'XTestQueryInputSize' XTestExt1.c:640: warning: no previous prototype for 'XTestPressKey' XTestExt1.c:672: warning: no previous prototype for 'XTestPressButton' XTestExt1.c:886: warning: no previous prototype for 'XTestMovePointer' XTestExt1.c:1291: warning: no previous prototype for 'XTestFlush'
CC Xge.lo CC extutil.lo CC globals.lo
Xge.c:296: warning: no previous prototype for 'xgeExtRegister'
CCLD libXext.la/usr/bin/ld: .libs/extutil.o: relocation R_X86_64_PC32 against `xgeExtRegister' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libXext.la] Error 1
make[2]: Leaving directory `/local/users/nferre/workspace/oe/tmp/work/x86_64-linux/libxext-native-1_1.2.0-r9.0/libXext-1.2.0/src' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/local/users/nferre/workspace/oe/tmp/work/x86_64-linux/libxext-native-1_1.2.0-r9.0/libXext-1.2.0'
make: *** [all] Error 2
FATAL: oe_runmake failed
ERROR: Function do_compile failed
Hi Nicolas,
Quoted 15 lines · Nicolas Ferre
While trying to build from scratch the latest .dev branch with:
- angstrom-2010.x distributionBuild Configuration:
BB_VERSION= "1.10.0"METADATA_BRANCH= "dev_for2010.12"METADATA_REVISION= "a1bba89"TARGET_ARCH = "arm" TARGET_OS = "linux-gnueabi" MACHINE = "at91sam9m10g45ek" DISTRO = "angstrom" DISTRO_VERSION = "next" TARGET_FPU = "soft"
Quoted 3 lines
I have the following error with libxext:
NOTE: package libxext-native-1_1.2.0-r9.0: taskdo_compile: Failed
it seems to build fine for others also on x86_64 host :
http://tinderbox.openembedded.net/packages/1077651/
http://tinderbox.openembedded.net/packages/1087310/
Eric
Le 25/11/2010 10:22, Eric Bénard :
Quoted 18 lines
Hi Nicolas,
Quoted 15 lines · Nicolas Ferre
While trying to build from scratch the latest .dev branch with:
- angstrom-2010.x distributionBuild Configuration:
BB_VERSION= "1.10.0"METADATA_BRANCH= "dev_for2010.12"METADATA_REVISION= "a1bba89"TARGET_ARCH = "arm" TARGET_OS = "linux-gnueabi" MACHINE = "at91sam9m10g45ek" DISTRO = "angstrom" DISTRO_VERSION = "next" TARGET_FPU = "soft"
Quoted 6 lines
Quoted 3 lines
I have the following error with libxext:
NOTE: package libxext-native-1_1.2.0-r9.0: taskdo_compile: Failedit seems to build fine for others also on
x86_64host :
http://tinderbox.openembedded.net/packages/1077651/
http://tinderbox.openembedded.net/packages/1087310/
Indeed, strange...
I tried to clean the recipe and then rebuild without success. Someone has a hint where it can come from?
Bye,
Signature · 1 line
Nicolas Ferre
Quoted 22 lines · Nicolas Ferre
Le 25/11/2010 10:22, Eric Bénard :
Quoted 21 lines
Hi Nicolas,
Quoted 18 lines · Nicolas Ferre
While trying to build from scratch the latest .dev branch with:
- angstrom-2010.x distributionBuild Configuration:
BB_VERSION= "1.10.0"METADATA_BRANCH= "dev_for2010.12"METADATA_REVISION= "a1bba89"TARGET_ARCH = "arm" TARGET_OS = "linux-gnueabi" MACHINE = "at91sam9m10g45ek" DISTRO = "angstrom" DISTRO_VERSION = "next" TARGET_FPU = "soft"I have the following error with libxext:
NOTE: package libxext-native-1_1.2.0-r9.0: taskdo_compile: Failed
Quoted 7 lines
Quoted 3 lines
it seems to build fine for others also on
x86_64host :
http://tinderbox.openembedded.net/packages/1077651/
http://tinderbox.openembedded.net/packages/1087310/Indeed, strange...
I tried to clean the recipe and then rebuild without success. Someone has a hint where it can come from?
I've tried to reproduce on my 2 x86_64 hosts and both build it still fine (both with gcc-4.5, SHR and micro)
But same problem was maybe reason here:
http://bugs.openembedded.org/show_bug.cgi?id=5490
but for him do_install failed.. weird
Regards,
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Le 25/11/2010 17:31, Martin Jansa :
Quoted 31 lines · Nicolas Ferre
Quoted 22 lines
Le 25/11/2010 10:22, Eric Bénard :
Quoted 21 lines
Hi Nicolas,
Quoted 18 lines · Nicolas Ferre
While trying to build from scratch the latest .dev branch with:
- angstrom-2010.x distributionBuild Configuration:
BB_VERSION= "1.10.0"METADATA_BRANCH= "dev_for2010.12"METADATA_REVISION= "a1bba89"TARGET_ARCH = "arm" TARGET_OS = "linux-gnueabi" MACHINE = "at91sam9m10g45ek" DISTRO = "angstrom" DISTRO_VERSION = "next" TARGET_FPU = "soft"I have the following error with libxext:
NOTE: package libxext-native-1_1.2.0-r9.0: taskdo_compile: FailedQuoted 7 lines
Quoted 3 lines
it seems to build fine for others also on
x86_64host :
http://tinderbox.openembedded.net/packages/1077651/
http://tinderbox.openembedded.net/packages/1087310/Indeed, strange...
I tried to clean the recipe and then rebuild without success. Someone has a hint where it can come from?
Quoted 6 lines
I've tried to reproduce on my 2
x86_64hosts and both build it still fine (both with gcc-4.5, SHR and micro)But same problem was maybe reason here:
http://bugs.openembedded.org/show_bug.cgi?id=5490
but for himdo_installfailed.. weird
Well, not my case... I have my tmp and sources while running the building process.
It may be related to my native "ld" that is too old?
For the record, here are my native ld and gcc revisions (comming from "Red Hat Enterprise Linux Client release 5.2 (Tikanga)"):
$ /usr/bin/ld -V GNU ld version 2.17.50.0.6-6.el5 20061020 Supported emulations: elf_x86_64 elf_i386 i386linux
$ gcc -v Using built-in specs. Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux Thread model: posix gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)
Bye,
Signature · 1 line
Nicolas Ferre
Quoted 17 lines · Nicolas Ferre
Hi all,
While trying to build from scratch the latest .dev branch with:
- angstrom-2010.x distributionBuild Configuration:
BB_VERSION= "1.10.0"METADATA_BRANCH= "dev_for2010.12"METADATA_REVISION= "a1bba89"TARGET_ARCH = "arm" TARGET_OS = "linux-gnueabi" MACHINE = "at91sam9m10g45ek" DISTRO = "angstrom" DISTRO_VERSION = "next" TARGET_FPU = "soft"
Quoted 2 lines
I have the following error with libxext:
NOTE: package libxext-native-1_1.2.0-r9.0: taskdo_compile: Failed
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]