Skip to contentSkip to conversation

poky Digest, Vol 23, Issue 39

DISCUSSION Sparsh Wid hope 2 participants 3 messages Aug 29, 2012 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Thanks for your quick response. I looked into config.err  file, and got following information:
i586-poky-linux-gcc -m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/home/sct/my_workspace/poky_xbmc_09Mar2012/build/tmp/sysroots/fishriver -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -m32 -fomit-frame-pointer -O3 -fPIC -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement -Wdisabled-optimization -Wpointer-arith -Wtype-limits -Wcast-qual -Wimplicit-function-declaration -Wuninitialized -Wunused-variable -Wunused-but-set-variable -c -o /tmp/vpx-conf-2242-22036.o /tmp/vpx-conf-2242-24853.c

cc1: error: unrecognized command line option "-Wunused-but-set-variable"

I'm trying to compile libvpx  for i586,  does libvpx supports this architecture. I'm sending config.err  file in attachment.

________________________________
From: "[email protected]" <[email protected]>
To: [email protected]
Sent: Wednesday, 29 August 2012 12:30 AM
Subject: poky Digest, Vol 23, Issue 39

Send poky mailing list submissions to
    [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
    https://lists.yoctoproject.org/listinfo/poky
or, via email, send a message with subject or body 'help' to [email protected]

You can reach the person managing the list at
    [email protected]

When replying, please edit your Subject line so it is more specific than "Re: Contents of poky digest..."

Today's Topics:

  1. Problem while compiling libvpx (Sparsh Wid hope)
  2. Re: Problem while compiling libvpx (Khem Raj)

----------------------------------------------------------------------

Message: 1
Date: Tue, 28 Aug 2012 14:50:18 +0800 (SGT)
From: Sparsh Wid hope <[email protected]>
To: poky <[email protected]>
Subject: [poky] Problem while compiling libvpx Message-ID:
    <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

Hi All,

I'm compiling libvpx through poky and got the error related to linking of toolchain.?Build info is here:

OE Build Configuration:
BB_VERSION ? ? ? ?= "1.11.0"
METADATA_BRANCH ? = "bernard-cur"
METADATA_REVISION = "1f2e1abbe2726ea6fc83e83b644ce7ee32a54fa2" TARGET_ARCH ? ? ? = "i586"
TARGET_OS ? ? ? ? = "linux"
MACHINE ? ? ? ? ? = "fishriver"
DISTRO ? ? ? ? ? ?= "poky"
DISTRO_VERSION ? ?= "1.0"
TARGET_FPU ? ? ? ?= ""

Error log is as follows:

ERROR: Logfile of failure stored in: /home/sct/my_workspace/poky_xbmc_09Mar2012/build/tmp/work/atom-poky-linux/libvpx-1.0-r0/temp/log.do_configure.4510 Log data follows:

| Configuring selected codecs
| ? enabling vp8_encoder
| ? enabling vp8_decoder
| Configuring for target 'x86-linux-gcc'
| ? enabling x86
| ? enabling pic
| ? enabling runtime_cpu_detect
| ? enabling mmx
| ? enabling sse
| ? enabling sse2
| ? enabling sse3
| ? enabling ssse3
| ? enabling sse4_1
| ? using i586-poky-linux-as
| ? enabling postproc
| Toolchain is unable to link executables
|?
| Configuration failed. This could reflect a misconfiguration of your
| toolchains, improper options selected, or another problem. If you
| don't see any useful error messages above, the next step is to look
| at the configure error log file (config.err) to determine what
| configure was trying to do when it died.

Please help me to resolve the error.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20120828/64e4361a/attachment-0001.html>

------------------------------

Message: 2
Date: Tue, 28 Aug 2012 10:05:02 -0700
From: Khem Raj <[email protected]>
To: Sparsh Wid hope <[email protected]>
Cc: poky <[email protected]>
Subject: Re: [poky] Problem while compiling libvpx Message-ID:
    <CAMKF1spJJ0Naw=Y7PR6uvNGG_1etM3XfJUYraTRyb8SSVpxH7g@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

Quoted 44 lines · Sparsh Wid hope

Hi All,

I'm compiling libvpx through poky and got the error related to linking of toolchain. Build info is here:

OE Build Configuration:
BB_VERSION        = "1.11.0"
METADATA_BRANCH  = "bernard-cur"
METADATA_REVISION = "1f2e1abbe2726ea6fc83e83b644ce7ee32a54fa2" TARGET_ARCH      = "i586"
TARGET_OS        = "linux"
MACHINE          = "fishriver"
DISTRO            = "poky"
DISTRO_VERSION    = "1.0"
TARGET_FPU        = ""

Error log is as follows:

ERROR: Logfile of failure stored in:
/home/sct/my_workspace/poky_xbmc_09Mar2012/build/tmp/work/atom-poky-linux/libvpx-1.0-r0/temp/log.do_configure.4510 Log data follows:

| Configuring selected codecs
|   enabling vp8_encoder
|   enabling vp8_decoder
| Configuring for target 'x86-linux-gcc'
|   enabling x86
|   enabling pic
|   enabling runtime_cpu_detect
|   enabling mmx
|   enabling sse
|   enabling sse2
|   enabling sse3
|   enabling ssse3
|   enabling sse4_1
|   using i586-poky-linux-as
|   enabling postproc
| Toolchain is unable to link executables
|
| Configuration failed. This could reflect a misconfiguration of your
| toolchains, improper options selected, or another problem. If you
| don't see any useful error messages above, the next step is to look
| at the configure error log file (config.err) to determine what
| configure was trying to do when it died.
Quoted 2 lines

Please help me to resolve the error.

you need to send more information. are there config.log files generated in the build tree?

Quoted 5 lines

_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky

------------------------------

_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky

End of poky Digest, Vol 23, Issue 39
************************************

#2 lore raw
Quoted 1 line · Sparsh Wid hope

cc1: error: unrecognized command line option "-Wunused-but-set-variable"

this option means that the package is using a compiler commandline option that is not supported by gcc version you are using. From logs it looks like you are on bernhard which is using gcc 4.5 and I guess the package you are trying to compile has since added this option to its own build infrastructure.

You have to remove this option in the make system of the package libvpx in your case.

#3 lore raw

I tried to compile by disabling the option -Wunused-but-set-variable from configure file, but I got same error. I tried to study config.err file and find that there is some problem with emulation mode:

i586-poky-linux-ld --sysroot=/home/sct/my_workspace/poky_xbmc_09Mar2012/build/tmp/sysroots/fishriver -Wl,-O1 -Wl,--as-needed -m32 -o /tmp/vpx-conf-11977-30350.x /tmp/vpx-conf-11977-24066.o -lpthread
i586-poky-linux-ld: unrecognised emulation mode: 32
Supported emulations: elf_i386 i386linux

I'm sending new config.err file in attachment.

________________________________
From: Khem Raj <[email protected]>
To: Sparsh Wid hope <[email protected]>
Cc: "[email protected]" <[email protected]>
Sent: Wednesday, 29 August 2012 10:39 AM
Subject: Re: [poky] poky Digest, Vol 23, Issue 39

Quoted 1 line · Sparsh Wid hope

cc1: error: unrecognized command line option "-Wunused-but-set-variable"

this option means that the package is using a compiler commandline option that is not supported by gcc version you are using. From logs it looks like you are on bernhard which is using gcc 4.5 and I guess the package you are trying to compile has since added this option to its own build infrastructure.

You have to remove this option in the make system of the package libvpx in your case.