* ti-c6accel-1_01_00_01: link error
@ 2010-12-30 9:18 Eric Bénard
2010-12-30 11:48 ` Koen Kooi
0 siblings, 1 reply; 7+ messages in thread
From: Eric Bénard @ 2010-12-30 9:18 UTC (permalink / raw)
To: openembedded-devel
hi,
using today's master + angstrom 2010.x + beagleboard I get the following error :
.../...
Linking c6accel_app from appMain.o c6accel_testfxns.o
../c6accelw/lib/c6accelw_omap3530.a470MV c6accel_app_config/linker.cmd..
/home/ebenard/OMAP/2010/angstrom-setup-scripts/build/tmp-angstrom_2010_x/sysroots/i686-linux/usr/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.5.3/../../../../arm-angstrom-linux-gnueabi/bin/ld:
warning: c6accel_app_config/linker.cmd contains output sections; did you
forget -T?
/home/ebenard/OMAP/2010/angstrom-setup-scripts/build/tmp-angstrom_2010_x/sysroots/i686-linux/usr/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.5.3/../../../../arm-angstrom-linux-gnueabi/bin/ld:
.gnu.attributes not found for insert
collect2: ld returned 1 exit status
Any idea on how to fix this ?
Eric
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ti-c6accel-1_01_00_01: link error
2010-12-30 9:18 ti-c6accel-1_01_00_01: link error Eric Bénard
@ 2010-12-30 11:48 ` Koen Kooi
2010-12-30 18:35 ` Koen Kooi
0 siblings, 1 reply; 7+ messages in thread
From: Koen Kooi @ 2010-12-30 11:48 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 30-12-10 10:18, Eric Bénard wrote:
> hi,
>
> using today's master + angstrom 2010.x + beagleboard I get the following
> error :
>
> .../...
> Linking c6accel_app from appMain.o c6accel_testfxns.o
> ../c6accelw/lib/c6accelw_omap3530.a470MV c6accel_app_config/linker.cmd..
> /home/ebenard/OMAP/2010/angstrom-setup-scripts/build/tmp-angstrom_2010_x/sysroots/i686-linux/usr/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.5.3/../../../../arm-angstrom-linux-gnueabi/bin/ld:
> warning: c6accel_app_config/linker.cmd contains output sections; did you
> forget -T?
> /home/ebenard/OMAP/2010/angstrom-setup-scripts/build/tmp-angstrom_2010_x/sysroots/i686-linux/usr/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.5.3/../../../../arm-angstrom-linux-gnueabi/bin/ld:
> .gnu.attributes not found for insert
> collect2: ld returned 1 exit status
>
> Any idea on how to fix this ?
This is a combination of a bug in xdctools and c6accel, could you open
an issue on e2e.ti.com for this so the right people (e.g. Gagan for
c6accel and Sasa for xdctools) can have a look at it?
There was a work around for a codesourcery bug in xdctools that broke
any non-CSL toolchain when building codec-engine, and the fix seems to
have some side effects, like the one you are seeing.
You can get the command it's trying to run by commenting the 'VERBOSE =
@' in the Makefile in soc/app/something.
I'm on holiday till the 9th :)
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFNHHGOMkyGM64RGpERAj/GAKCMNGZm1Z5bb/FhhVZFPWYPN/YIfACdE2M8
/I9n89tfyEc8iMJ4Qn3RFQs=
=Po04
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ti-c6accel-1_01_00_01: link error
2010-12-30 11:48 ` Koen Kooi
@ 2010-12-30 18:35 ` Koen Kooi
2010-12-30 18:55 ` Eric Bénard
2010-12-30 19:09 ` Eric Bénard
0 siblings, 2 replies; 7+ messages in thread
From: Koen Kooi @ 2010-12-30 18:35 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 30-12-10 12:48, Koen Kooi wrote:
> On 30-12-10 10:18, Eric Bénard wrote:
>> hi,
>
>> using today's master + angstrom 2010.x + beagleboard I get the following
>> error :
>
>> .../...
>> Linking c6accel_app from appMain.o c6accel_testfxns.o
>> ../c6accelw/lib/c6accelw_omap3530.a470MV c6accel_app_config/linker.cmd..
>> /home/ebenard/OMAP/2010/angstrom-setup-scripts/build/tmp-angstrom_2010_x/sysroots/i686-linux/usr/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.5.3/../../../../arm-angstrom-linux-gnueabi/bin/ld:
>> warning: c6accel_app_config/linker.cmd contains output sections; did you
>> forget -T?
>> /home/ebenard/OMAP/2010/angstrom-setup-scripts/build/tmp-angstrom_2010_x/sysroots/i686-linux/usr/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.5.3/../../../../arm-angstrom-linux-gnueabi/bin/ld:
>> .gnu.attributes not found for insert
>> collect2: ld returned 1 exit status
>
>> Any idea on how to fix this ?
>
> This is a combination of a bug in xdctools and c6accel, could you open
> an issue on e2e.ti.com for this so the right people (e.g. Gagan for
> c6accel and Sasa for xdctools) can have a look at it?
> There was a work around for a codesourcery bug in xdctools that broke
> any non-CSL toolchain when building codec-engine, and the fix seems to
> have some side effects, like the one you are seeing.
>
> You can get the command it's trying to run by commenting the 'VERBOSE =
> @' in the Makefile in soc/app/something.
FWIW, the full commandline is:
| Linking c6accel_app from appMain.o c6accel_testfxns.o
../c6accelw/lib/c6accelw_omap3530.a470MV c6accel_app_config/linker.cmd..
|
/OE/angstrom-setup-scripts/build/tmp-angstrom_2008_1/sysroots/x86_64-linux/usr/armv7a/bin/arm-angstrom-linux-gnueabi-gcc
-
-L/OE/angstrom-setup-scripts/build/tmp-angstrom_2008_1/sysroots/armv7a-angstrom-linux-gnueabi/lib
-
-L/OE/angstrom-setup-scripts/build/tmp-angstrom_2008_1/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib
- -Wl,-O1 -Wl,--hash-style=gnu -lm -lpthread -o c6accel_app appMain.o
c6accel_testfxns.o ../c6accelw/lib/c6accelw_omap3530.a470MV
c6accel_app_config/linker.cmd
|
/OE/angstrom-setup-scripts/build/tmp-angstrom_2008_1/sysroots/x86_64-linux/usr/armv7a/bin/arm-angstrom-linux-gnueabi-gcc
-
-L/OE/angstrom-setup-scripts/build/tmp-angstrom_2008_1/sysroots/armv7a-angstrom-linux-gnueabi/lib
-
-L/OE/angstrom-setup-scripts/build/tmp-angstrom_2008_1/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib
- -Wl,-O1 -Wl,--hash-style=gnu -lm -lpthread -o c6accel_app appMain.o
c6accel_testfxns.o ../c6accelw/lib/c6accelw_omap3530.a470MV
c6accel_app_config/linker.cmd
|
/OE/angstrom-setup-scripts/build/tmp-angstrom_2008_1/sysroots/x86_64-linux/usr/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.5.3/../../../../arm-angstrom-linux-gnueabi/bin/ld:
warning: c6accel_app_config/linker.cmd contains output sections; did you
forget -T?
|
/OE/angstrom-setup-scripts/build/tmp-angstrom_2008_1/sysroots/x86_64-linux/usr/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.5.3/../../../../arm-angstrom-linux-gnueabi/bin/ld:
.gnu.attributes not found for insert
And the linkerscript is:
INPUT(
/OE/angstrom-setup-scripts/build/tmp-angstrom_2008_1/work/usrp-e1xx-angstrom-linux-gnueabi/ti-c6accel-1_01_00_03-r95a/c6accel_1_01_00_03/soc/app/c6accel_app_config/package/cfg/c6accel_app_xv5T.ov5T
staging/usr/share/ti/ti-codec-engine-tree/packages/ti/sdo/ce/universal/lib/release/universal.av5T
staging/usr/share/ti/ti-codec-engine-tree/packages/ti/sdo/ce/lib/release/ce.av5T
staging/usr/share/ti/ti-codec-engine-tree/packages/ti/sdo/ce/alg/lib/release/Algorithm_noOS.av5T
staging/usr/share/ti/ti-codec-engine-tree/packages/ti/sdo/ce/alg/lib/release/alg.av5T
staging/usr/share/ti/ti-codec-engine-tree/packages/ti/sdo/ce/ipc/dsplink/lib/release/ipc_dsplink_3530.av5T
staging/usr/share/ti/ti-codec-engine-tree/packages/ti/sdo/ce/osal/linux/lib/release/osal_linux_470.av5T
staging/usr/share/ti/ti-framework-components-tree/packages/ti/sdo/fc/acpy3/lib/release/acpy3.a470MV
staging/usr/share/ti/ti-framework-components-tree/packages/ti/sdo/fc/dman3/lib/release/dman3Cfg.a470MV
staging/usr/share/ti/ti-framework-components-tree/packages/ti/sdo/fc/utils/lib/release/rmm.av5T
staging/usr/share/ti/ti-framework-components-tree/packages/ti/sdo/fc/utils/lib/release/smgr.av5T
staging/usr/share/ti/ti-framework-components-tree/packages/ti/sdo/fc/utils/lib/release/rmmp.av5T
staging/usr/share/ti/ti-framework-components-tree/packages/ti/sdo/fc/utils/lib/release/smgrmp.av5T
staging/usr/share/ti/ti-framework-components-tree/packages/ti/sdo/fc/utils/lib/release/shm.av5T
staging/usr/share/ti/ti-framework-components-tree/packages/ti/sdo/fc/memutils/lib/release/memutils.av5T
staging/usr/share/ti/ti-codec-engine-tree/packages/ti/sdo/ce/utils/xdm/lib/release/XdmUtils.av5T
staging/usr/share/ti/ti-framework-components-tree/packages/ti/sdo/utils/trace/lib/release/gt.av5T
staging/usr/share/ti/ti-codec-engine-tree/packages/ti/sdo/ce/node/lib/release/node.av5T
staging/usr/share/ti/ti-local-power-manager-tree/packages/ti/bios/power/lib/release/lpm.av5T
staging/usr/share/ti/ti-dsplink-tree/dsplink/gpp/export/BIN/Linux/OMAP3530/RELEASE/dsplink.lib
staging/usr/share/ti/ti-framework-components-tree/packages/ti/sdo/fc/scpy/lib/release/scpy.av5T
staging/usr/share/ti/ti-linuxutils-tree/packages/ti/sdo/linuxutils/cmem/lib/cmem.a470MV
staging/usr/share/ti/ti-linuxutils-tree/packages/ti/sdo/linuxutils/sdma/lib/sdma.a470MV
staging/usr/share/ti/ti-xdctools-tree/packages/gnu/targets/arm/rtsv5T/lib/gnu.targets.arm.rtsv5T.av5T
)
SECTIONS {
xdc.meta (COPY) : {*(xdc.meta)}
}
INSERT BEFORE .gnu.attributes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFNHNEEMkyGM64RGpERAg6kAJ4jzEirkwTUT/UzHfBnMoNdqRaSlACfWQJC
a0cHcgDlPFC8wTecJiOMVpE=
=owMO
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ti-c6accel-1_01_00_01: link error
2010-12-30 18:35 ` Koen Kooi
@ 2010-12-30 18:55 ` Eric Bénard
2010-12-30 19:09 ` Eric Bénard
1 sibling, 0 replies; 7+ messages in thread
From: Eric Bénard @ 2010-12-30 18:55 UTC (permalink / raw)
To: openembedded-devel
On 30/12/2010 19:35, Koen Kooi wrote:
> FWIW, the full commandline is:
>
> | Linking c6accel_app from appMain.o c6accel_testfxns.o
> ../c6accelw/lib/c6accelw_omap3530.a470MV c6accel_app_config/linker.cmd..
> |
> /OE/angstrom-setup-scripts/build/tmp-angstrom_2008_1/sysroots/x86_64-linux/usr/armv7a/bin/arm-angstrom-linux-gnueabi-gcc
> -
> -L/OE/angstrom-setup-scripts/build/tmp-angstrom_2008_1/sysroots/armv7a-angstrom-linux-gnueabi/lib
> -
> -L/OE/angstrom-setup-scripts/build/tmp-angstrom_2008_1/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib
> - -Wl,-O1 -Wl,--hash-style=gnu -lm -lpthread -o c6accel_app appMain.o
> c6accel_testfxns.o ../c6accelw/lib/c6accelw_omap3530.a470MV
> c6accel_app_config/linker.cmd
> |
> /OE/angstrom-setup-scripts/build/tmp-angstrom_2008_1/sysroots/x86_64-linux/usr/armv7a/bin/arm-angstrom-linux-gnueabi-gcc
> -
> -L/OE/angstrom-setup-scripts/build/tmp-angstrom_2008_1/sysroots/armv7a-angstrom-linux-gnueabi/lib
> -
> -L/OE/angstrom-setup-scripts/build/tmp-angstrom_2008_1/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib
> - -Wl,-O1 -Wl,--hash-style=gnu -lm -lpthread -o c6accel_app appMain.o
> c6accel_testfxns.o ../c6accelw/lib/c6accelw_omap3530.a470MV
> c6accel_app_config/linker.cmd
> |
> /OE/angstrom-setup-scripts/build/tmp-angstrom_2008_1/sysroots/x86_64-linux/usr/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.5.3/../../../../arm-angstrom-linux-gnueabi/bin/ld:
> warning: c6accel_app_config/linker.cmd contains output sections; did you
> forget -T?
> |
> /OE/angstrom-setup-scripts/build/tmp-angstrom_2008_1/sysroots/x86_64-linux/usr/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.5.3/../../../../arm-angstrom-linux-gnueabi/bin/ld:
> .gnu.attributes not found for insert
>
>
> And the linkerscript is:
>
> INPUT(
>
> /OE/angstrom-setup-scripts/build/tmp-angstrom_2008_1/work/usrp-e1xx-angstrom-linux-gnueabi/ti-c6accel-1_01_00_03-r95a/c6accel_1_01_00_03/soc/app/c6accel_app_config/package/cfg/c6accel_app_xv5T.ov5T
>
> staging/usr/share/ti/ti-codec-engine-tree/packages/ti/sdo/ce/universal/lib/release/universal.av5T
>
> staging/usr/share/ti/ti-codec-engine-tree/packages/ti/sdo/ce/lib/release/ce.av5T
>
> staging/usr/share/ti/ti-codec-engine-tree/packages/ti/sdo/ce/alg/lib/release/Algorithm_noOS.av5T
>
> staging/usr/share/ti/ti-codec-engine-tree/packages/ti/sdo/ce/alg/lib/release/alg.av5T
>
> staging/usr/share/ti/ti-codec-engine-tree/packages/ti/sdo/ce/ipc/dsplink/lib/release/ipc_dsplink_3530.av5T
>
> staging/usr/share/ti/ti-codec-engine-tree/packages/ti/sdo/ce/osal/linux/lib/release/osal_linux_470.av5T
>
> staging/usr/share/ti/ti-framework-components-tree/packages/ti/sdo/fc/acpy3/lib/release/acpy3.a470MV
>
> staging/usr/share/ti/ti-framework-components-tree/packages/ti/sdo/fc/dman3/lib/release/dman3Cfg.a470MV
>
> staging/usr/share/ti/ti-framework-components-tree/packages/ti/sdo/fc/utils/lib/release/rmm.av5T
>
> staging/usr/share/ti/ti-framework-components-tree/packages/ti/sdo/fc/utils/lib/release/smgr.av5T
>
> staging/usr/share/ti/ti-framework-components-tree/packages/ti/sdo/fc/utils/lib/release/rmmp.av5T
>
> staging/usr/share/ti/ti-framework-components-tree/packages/ti/sdo/fc/utils/lib/release/smgrmp.av5T
>
> staging/usr/share/ti/ti-framework-components-tree/packages/ti/sdo/fc/utils/lib/release/shm.av5T
>
> staging/usr/share/ti/ti-framework-components-tree/packages/ti/sdo/fc/memutils/lib/release/memutils.av5T
>
> staging/usr/share/ti/ti-codec-engine-tree/packages/ti/sdo/ce/utils/xdm/lib/release/XdmUtils.av5T
>
> staging/usr/share/ti/ti-framework-components-tree/packages/ti/sdo/utils/trace/lib/release/gt.av5T
>
> staging/usr/share/ti/ti-codec-engine-tree/packages/ti/sdo/ce/node/lib/release/node.av5T
>
> staging/usr/share/ti/ti-local-power-manager-tree/packages/ti/bios/power/lib/release/lpm.av5T
>
> staging/usr/share/ti/ti-dsplink-tree/dsplink/gpp/export/BIN/Linux/OMAP3530/RELEASE/dsplink.lib
>
> staging/usr/share/ti/ti-framework-components-tree/packages/ti/sdo/fc/scpy/lib/release/scpy.av5T
>
> staging/usr/share/ti/ti-linuxutils-tree/packages/ti/sdo/linuxutils/cmem/lib/cmem.a470MV
>
> staging/usr/share/ti/ti-linuxutils-tree/packages/ti/sdo/linuxutils/sdma/lib/sdma.a470MV
>
> staging/usr/share/ti/ti-xdctools-tree/packages/gnu/targets/arm/rtsv5T/lib/gnu.targets.arm.rtsv5T.av5T
> )
>
> SECTIONS {
> xdc.meta (COPY) : {*(xdc.meta)}
>
> }
>
> INSERT BEFORE .gnu.attributes
>
just back to this. I have the same logs here, removing SECTIONS & INSERT
BEFORE in the linkerscript allows to finish the compilation but I don't know
if the software still runs.
Eric
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ti-c6accel-1_01_00_01: link error
2010-12-30 18:35 ` Koen Kooi
2010-12-30 18:55 ` Eric Bénard
@ 2010-12-30 19:09 ` Eric Bénard
2010-12-30 20:27 ` Koen Kooi
1 sibling, 1 reply; 7+ messages in thread
From: Eric Bénard @ 2010-12-30 19:09 UTC (permalink / raw)
To: openembedded-devel
Hi Koen,
same problems exists with ti-dmai (which also shows another one as a bonus ;-)
oe master + angstrom-2010.x + beagleboard leads to :
.../... /usr/include -Dxdc_target_name__=arm/GCArmv5T -g -Wall -Werror -c -o
obj/linux/Capture.omap3530.o470MV linux/Capture.c
cc1: warnings being treated as errors
In file included from
/home/ebenard/OMAP/2010/angstrom-setup-scripts/build/tmp-angstrom_2010_x/sysroots/beagleboard-angstrom-linux-gnueabi/kernel/include/linux/videodev2.h:66:0,
from linux/Capture.c:43:
/home/ebenard/OMAP/2010/angstrom-setup-scripts/build/tmp-angstrom_2010_x/sysroots/beagleboard-angstrom-linux-gnueabi/kernel/include/linux/types.h:13:2:
error: #warning "Attempt to use kernel headers from user space, see
http://kernelnewbies.org/KernelHeaders"
make[1]: *** [obj/linux/Capture.omap3530.o470MV] Error 1
this can be "fixed" by removing -Werror in the makefile but then I meet the
same problem as with ti-c6accel :
Linking linux/audio_decode1_omap3530.x470MV from appMain.omap3530.o470MV
linux/main.omap3530.o470MV linux/audio_decode1_omap3530_config/linker.cmd..
/home/ebenard/OMAP/2010/angstrom-setup-scripts/build/tmp-angstrom_2010_x/sysroots/i686-linux/usr/armv7a/bin/arm-angstrom-linux-gnueabi-gcc
-lpthread -lm
-L/home/ebenard/OMAP/2010/angstrom-setup-scripts/build/tmp-angstrom_2010_x/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib
-lasound -Wl,-Map,linux/audio_decode1_omap3530.x470MV.map -o
linux/audio_decode1_omap3530.x470MV appMain.omap3530.o470MV
linux/main.omap3530.o470MV linux/audio_decode1_omap3530_config/linker.cmd
/home/ebenard/OMAP/2010/angstrom-setup-scripts/build/tmp-angstrom_2010_x/sysroots/i686-linux/usr/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.5.3/../../../../arm-angstrom-linux-gnueabi/bin/ld:
warning: linux/audio_decode1_omap3530_config/linker.cmd contains output
sections; did you forget -T?
/home/ebenard/OMAP/2010/angstrom-setup-scripts/build/tmp-angstrom_2010_x/sysroots/i686-linux/usr/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.5.3/../../../../arm-angstrom-linux-gnueabi/bin/ld:
.gnu.attributes not found for insert
collect2: ld returned 1 exit status
Eric
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ti-c6accel-1_01_00_01: link error
2010-12-30 19:09 ` Eric Bénard
@ 2010-12-30 20:27 ` Koen Kooi
2010-12-30 20:53 ` Eric Bénard
0 siblings, 1 reply; 7+ messages in thread
From: Koen Kooi @ 2010-12-30 20:27 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 30-12-10 20:09, Eric Bénard wrote:
> Hi Koen,
>
> same problems exists with ti-dmai (which also shows another one as a
> bonus ;-)
>
> oe master + angstrom-2010.x + beagleboard leads to :
>
> .../... /usr/include -Dxdc_target_name__=arm/GCArmv5T -g -Wall -Werror
> -c -o obj/linux/Capture.omap3530.o470MV linux/Capture.c
> cc1: warnings being treated as errors
> In file included from
> /home/ebenard/OMAP/2010/angstrom-setup-scripts/build/tmp-angstrom_2010_x/sysroots/beagleboard-angstrom-linux-gnueabi/kernel/include/linux/videodev2.h:66:0,
>
> from linux/Capture.c:43:
> /home/ebenard/OMAP/2010/angstrom-setup-scripts/build/tmp-angstrom_2010_x/sysroots/beagleboard-angstrom-linux-gnueabi/kernel/include/linux/types.h:13:2:
> error: #warning "Attempt to use kernel headers from user space, see
> http://kernelnewbies.org/KernelHeaders"
> make[1]: *** [obj/linux/Capture.omap3530.o470MV] Error 1
>
> this can be "fixed" by removing -Werror in the makefile but then I meet
> the same problem as with ti-c6accel :
>
> Linking linux/audio_decode1_omap3530.x470MV from appMain.omap3530.o470MV
> linux/main.omap3530.o470MV linux/audio_decode1_omap3530_config/linker.cmd..
> /home/ebenard/OMAP/2010/angstrom-setup-scripts/build/tmp-angstrom_2010_x/sysroots/i686-linux/usr/armv7a/bin/arm-angstrom-linux-gnueabi-gcc
> -lpthread -lm
> -L/home/ebenard/OMAP/2010/angstrom-setup-scripts/build/tmp-angstrom_2010_x/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib
> -lasound -Wl,-Map,linux/audio_decode1_omap3530.x470MV.map -o
> linux/audio_decode1_omap3530.x470MV appMain.omap3530.o470MV
> linux/main.omap3530.o470MV linux/audio_decode1_omap3530_config/linker.cmd
> /home/ebenard/OMAP/2010/angstrom-setup-scripts/build/tmp-angstrom_2010_x/sysroots/i686-linux/usr/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.5.3/../../../../arm-angstrom-linux-gnueabi/bin/ld:
> warning: linux/audio_decode1_omap3530_config/linker.cmd contains output
> sections; did you forget -T?
> /home/ebenard/OMAP/2010/angstrom-setup-scripts/build/tmp-angstrom_2010_x/sysroots/i686-linux/usr/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.5.3/../../../../arm-angstrom-linux-gnueabi/bin/ld:
> .gnu.attributes not found for insert
> collect2: ld returned 1 exit status
If you build the new xdctools with the linker hack (
http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=7993e4ca7746a4ca9e7116cc76e6c1da32a76690
) then you only need a few changes to make it all build:
1) edit
conf/distro/include/angstrom-codec-engine-latest-preferred-versions.inc:
- -PREFERRED_VERSION_ti-linuxutils = "2_25_05_11"
+PREFERRED_VERSION_ti-linuxutils = "2_26_01_02"
- -PREFERRED_VERSION_ti-xdctools = "3_20_05_76"
+PREFERRED_VERSION_ti-xdctools = "3_20_06_81"
2) Add -fPIC to C_FLAGS in the c6accel soc/ Makefiles (plural)
3) remove -Werror from DMAI makefiles
4) remove -Werror from gstreamer-ti makefiles
That will get you a succesfull build, but you will have some runtime
problems. My current goal is to get c6accel working on my USRP E100 so
gnuradio can use that, so gst-ti is out of scope for that.
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFNHOseMkyGM64RGpERAvFLAKCRUN2pJozNFVUR5Z/dR4vcut6sqQCfTXFR
W+ztBNtzo3I2C70qMexOVV8=
=U6CK
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ti-c6accel-1_01_00_01: link error
2010-12-30 20:27 ` Koen Kooi
@ 2010-12-30 20:53 ` Eric Bénard
0 siblings, 0 replies; 7+ messages in thread
From: Eric Bénard @ 2010-12-30 20:53 UTC (permalink / raw)
To: openembedded-devel
On 30/12/2010 21:27, Koen Kooi wrote:
>
> If you build the new xdctools with the linker hack (
> http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=7993e4ca7746a4ca9e7116cc76e6c1da32a76690
> ) then you only need a few changes to make it all build:
>
> 1) edit
> conf/distro/include/angstrom-codec-engine-latest-preferred-versions.inc:
>
> - -PREFERRED_VERSION_ti-linuxutils = "2_25_05_11"
> +PREFERRED_VERSION_ti-linuxutils = "2_26_01_02"
>
> - -PREFERRED_VERSION_ti-xdctools = "3_20_05_76"
> +PREFERRED_VERSION_ti-xdctools = "3_20_06_81"
>
> 2) Add -fPIC to C_FLAGS in the c6accel soc/ Makefiles (plural)
>
> 3) remove -Werror from DMAI makefiles
>
> 4) remove -Werror from gstreamer-ti makefiles
>
> That will get you a succesfull build, but you will have some runtime
> problems. My current goal is to get c6accel working on my USRP E100 so
> gnuradio can use that, so gst-ti is out of scope for that.
>
thanks, I'll try that.
In order to finish the image build, I removed gstreamer-ti from
beagleboard-linuxtag2010-demo-image which also "fixed" the problem as I don't
need gst-ti for my tests ;-)
Eric
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-12-30 20:54 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-30 9:18 ti-c6accel-1_01_00_01: link error Eric Bénard
2010-12-30 11:48 ` Koen Kooi
2010-12-30 18:35 ` Koen Kooi
2010-12-30 18:55 ` Eric Bénard
2010-12-30 19:09 ` Eric Bénard
2010-12-30 20:27 ` Koen Kooi
2010-12-30 20:53 ` Eric Bénard
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.