All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nicolas Ferre <nicolas.ferre@atmel.com>
To: openembedded-devel@lists.openembedded.org
Subject: libXext-native fail to compile (x86_64)
Date: Thu, 25 Nov 2010 09:56:08 +0100	[thread overview]
Message-ID: <4CEE24A8.2090007@atmel.com> (raw)

[-- 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

             reply	other threads:[~2010-11-25  8:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-25  8:56 Nicolas Ferre [this message]
2010-11-25  9:22 ` libXext-native fail to compile (x86_64) 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CEE24A8.2090007@atmel.com \
    --to=nicolas.ferre@atmel.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.