[meta-freescale] Error in linker when building Xserver for i.MX6

John Weber rjohnweber at gmail.com
Sat Feb 23 17:32:44 PST 2013


I just ran into a build error when building fsl-image-gui.  I'm using the
master branch for everything.

Here is the final bit of the build where the error occurs.  Anyone else run
into this?

/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/i686-linux/usr/libexec/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld:
BFD (GNU Binutils) 2.23.1.20121113 internal error, aborting at
/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/binutils-cross/2.23.1-r0/binutils-2.23.1/bfd/merge.c
line 877 in _bfd_merged_section_offset

/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/i686-linux/usr/libexec/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld:
Please report this bug.

collect2: error: ld returned 1 exit status
make[2]: *** [fixes] Error 1
make[2]: *** Waiting for unfinished jobs....
arm-poky-linux-gnueabi-libtool: link: arm-poky-linux-gnueabi-gcc
-march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon
--sysroot=/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual
-std=gnu99 -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wmissing-declarations
-Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs
-Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement
-Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn
-Wmissing-format-attribute -Wredundant-decls -Werror=implicit
-Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces
-Werror=sequence-point -Werror=return-type -Werror=trigraphs
-Werror=array-bounds -Werror=write-strings -Werror=address
-Werror=int-to-pointer-cast -Werror=pointer-to-int-cast
-fno-strict-aliasing -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN
-DHAS_STICKY_DIR_BIT
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/pixman-1
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/X11/dri
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/libdrm
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/freetype2
-I../include -I../include -I../Xext -I../composite -I../damageext
-I../xfixes -I../Xi -I../mi -I../miext/sync -I../miext/shadow
-I../miext/damage -I../render -I../randr -I../fb -I../dbe
-fvisibility=hidden -DHAVE_XORG_CONFIG_H -fvisibility=hidden
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/libdrm
-DXF86PM -O2 -pipe -g -feliminate-unused-debug-types -Wl,-O1
-Wl,--hash-style=gnu -Wl,--as-needed -o xfree86 xfree86.o
./.libs/libxservertest.a
/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/lib/libgcrypt.so
-L=/usr/lib
/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/lib/libgpg-error.so
-lcap -ldl
/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/lib/libudev.so
-lrt
/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/lib/libpciaccess.so
/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/lib/libdrm.so
/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/lib/libpixman-1.so
/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/lib/libXfont.so
/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/lib/libfreetype.so
/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/lib/libfontenc.so
-lz
/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/lib/libXau.so
/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/lib/libXdmcp.so
-lpthread -lm

make[2]: Leaving directory
`/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xserver-xorg/2_1.13.1-r8.0/xorg-server-1.13.1/test'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xserver-xorg/2_1.13.1-r8.0/xorg-server-1.13.1/test'
make: *** [all-recursive] Error 1
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (see
/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xserver-xorg/2_1.13.1-r8.0/temp/log.do_compile.10182
for further information)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20130223/34c0e3db/attachment.html>


More information about the meta-freescale mailing list