* libXext-native fail to compile (x86_64)
@ 2010-11-25 8:56 Nicolas Ferre
2010-11-25 9:22 ` Eric Bénard
2010-11-28 9:39 ` Martin Jansa
0 siblings, 2 replies; 6+ messages in thread
From: Nicolas Ferre @ 2010-11-25 8:56 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 2766 bytes --]
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 : 0
vendor_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 : yes
fpu_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 : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc
processor : 1
vendor_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 : yes
fpu_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 : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc
Best regards,
--
Nicolas Ferre
[-- Attachment #2: log.do_compile.30763 --]
[-- Type: text/plain, Size: 4074 bytes --]
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: libXext-native fail to compile (x86_64)
2010-11-25 8:56 libXext-native fail to compile (x86_64) Nicolas Ferre
@ 2010-11-25 9:22 ` Eric Bénard
2010-11-25 13:54 ` Nicolas Ferre
2010-11-28 9:39 ` Martin Jansa
1 sibling, 1 reply; 6+ messages in thread
From: Eric Bénard @ 2010-11-25 9:22 UTC (permalink / raw)
To: openembedded-devel
Hi Nicolas,
On 25/11/2010 09:56, Nicolas Ferre wrote:
> 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
>
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: libXext-native fail to compile (x86_64)
2010-11-25 9:22 ` Eric Bénard
@ 2010-11-25 13:54 ` Nicolas Ferre
2010-11-25 16:31 ` Martin Jansa
0 siblings, 1 reply; 6+ messages in thread
From: Nicolas Ferre @ 2010-11-25 13:54 UTC (permalink / raw)
To: openembedded-devel; +Cc: Eric Bénard
Le 25/11/2010 10:22, Eric Bénard :
> Hi Nicolas,
>
> On 25/11/2010 09:56, Nicolas Ferre wrote:
>> 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
>>
> it seems to build fine for others also on x86_64 host :
> 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,
--
Nicolas Ferre
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: libXext-native fail to compile (x86_64)
2010-11-25 13:54 ` Nicolas Ferre
@ 2010-11-25 16:31 ` Martin Jansa
2010-11-25 17:22 ` Nicolas Ferre
0 siblings, 1 reply; 6+ messages in thread
From: Martin Jansa @ 2010-11-25 16:31 UTC (permalink / raw)
To: openembedded-devel; +Cc: Eric Bénard
On Thu, Nov 25, 2010 at 02:54:03PM +0100, Nicolas Ferre wrote:
> Le 25/11/2010 10:22, Eric Bénard :
> > Hi Nicolas,
> >
> > On 25/11/2010 09:56, Nicolas Ferre wrote:
> >> 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
> >>
> > it seems to build fine for others also on x86_64 host :
> > 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,
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: libXext-native fail to compile (x86_64)
2010-11-25 16:31 ` Martin Jansa
@ 2010-11-25 17:22 ` Nicolas Ferre
0 siblings, 0 replies; 6+ messages in thread
From: Nicolas Ferre @ 2010-11-25 17:22 UTC (permalink / raw)
To: openembedded-devel; +Cc: Martin Jansa, Eric Bénard
Le 25/11/2010 17:31, Martin Jansa :
> On Thu, Nov 25, 2010 at 02:54:03PM +0100, Nicolas Ferre wrote:
>> Le 25/11/2010 10:22, Eric Bénard :
>>> Hi Nicolas,
>>>
>>> On 25/11/2010 09:56, Nicolas Ferre wrote:
>>>> 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
>>>>
>>> it seems to build fine for others also on x86_64 host :
>>> 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
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,
--
Nicolas Ferre
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: libXext-native fail to compile (x86_64)
2010-11-25 8:56 libXext-native fail to compile (x86_64) Nicolas Ferre
2010-11-25 9:22 ` Eric Bénard
@ 2010-11-28 9:39 ` Martin Jansa
1 sibling, 0 replies; 6+ messages in thread
From: Martin Jansa @ 2010-11-28 9:39 UTC (permalink / raw)
To: openembedded-devel
On Thu, Nov 25, 2010 at 09:56:08AM +0100, Nicolas Ferre wrote:
> 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
fixed
http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=b2822ad25e2a3db8936df34b0aebb65747f3f5d9
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-11-28 9:40 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-25 8:56 libXext-native fail to compile (x86_64) Nicolas Ferre
2010-11-25 9:22 ` Eric Bénard
2010-11-25 13:54 ` Nicolas Ferre
2010-11-25 16:31 ` Martin Jansa
2010-11-25 17:22 ` Nicolas Ferre
2010-11-28 9:39 ` Martin Jansa
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.