bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/19405] New: nios2 binutils assertion fail at elf32-nios2.c


From: address@hidden
Subject: [Bug binutils/19405] New: nios2 binutils assertion fail at elf32-nios2.c:1038
Date: Sun, 27 Dec 2015 14:51:27 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=19405

            Bug ID: 19405
           Summary: nios2 binutils assertion fail at elf32-nios2.c:1038
           Product: binutils
           Version: 2.25
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: address@hidden
  Target Milestone: ---

When compiling the gtkmm3 project on the nios2 architecture using a gcc 5.3.0 /
binutils 2.25 toolchain, at the moment of linking the final shared library, I
get tons of:

/home/test/outputs/gtkmm3-nios2-internal/host/usr/lib/gcc/nios2-buildroot-linux-gnu/5.3.0/../../../../nios2-buildroot-linux-gnu/bin/ld:
BFD (GNU Binutils) 2.25
.1 assertion fail elf32-nios2.c:1038

This message follows gazillions of:

/home/test/outputs/gtkmm3-nios2-internal/host/usr/lib/gcc/nios2-buildroot-linux-gnu/5.3.0/../../../../nios2-buildroot-linux-gnu/bin/ld:
FDE encoding in .libs/s
tockid.o(.eh_frame) prevents .eh_frame_hdr table being created.

messages. The link command line is:

libtool: link:
/home/test/outputs/gtkmm3-nios2-internal/host/usr/bin/nios2-buildroot-linux-gnu-g++
 -fPIC -DPIC -shared -nostdlib /home/test/outputs/gtkmm3-nio
s2-internal/host/usr/nios2-buildroot-linux-gnu/sysroot/usr/lib/crti.o
/home/test/outputs/gtkmm3-nios2-internal/host/usr/lib/gcc/nios2-buildroot-linux-gnu/5.3.0
/crtbeginS.o  .libs/applaunchcontext.o .libs/cursor.o .libs/device.o
.libs/devicemanager.o .libs/display.o .libs/displaymanager.o
.libs/dragcontext.o .libs/eve
nt.o .libs/pixbuf.o .libs/pixbufanimation.o .libs/pixbufanimationiter.o
.libs/pixbufformat.o .libs/pixbufloader.o .libs/rectangle.o .libs/rgba.o
.libs/screen.o
 .libs/timecoord.o .libs/types.o .libs/visual.o .libs/window.o .libs/color.o
.libs/wrap_init.o .libs/general.o   -Wl,-rpath
-Wl,/home/test/outputs/gtkmm3-nios2
-internal/host/usr/nios2-buildroot-linux-gnu/sysroot/usr/lib -Wl,-rpath
-Wl,/home/test/outputs/gtkmm3-nios2-internal/host/usr/nios2-buildroot-linux-gnu/sysroot
/usr/lib
-L/home/test/outputs/gtkmm3-nios2-internal/host/usr/nios2-buildroot-linux-gnu/sysroot/usr/lib
/home/test/outputs/gtkmm3-nios2-internal/host/usr/nios2-
buildroot-linux-gnu/sysroot/usr/lib/libgiomm-2.4.so
/home/test/outputs/gtkmm3-nios2-internal/host/usr/nios2-buildroot-linux-gnu/sysroot/usr/lib/libpangomm-1.4.
so
/home/test/outputs/gtkmm3-nios2-internal/host/usr/nios2-buildroot-linux-gnu/sysroot/usr/lib/libglibmm-2.4.so
/home/test/outputs/gtkmm3-nios2-internal/host/u
sr/nios2-buildroot-linux-gnu/sysroot/usr/lib/libgtk-3.so
/home/test/outputs/gtkmm3-nios2-internal/host/usr/nios2-buildroot-linux-gnu/sysroot/usr/lib/libgdk-3.s
o
/home/test/outputs/gtkmm3-nios2-internal/host/usr/nios2-buildroot-linux-gnu/sysroot/usr/lib/libpangocairo-1.0.so
/home/test/outputs/gtkmm3-nios2-internal/hos
t/usr/nios2-buildroot-linux-gnu/sysroot/usr/lib/libpango-1.0.so
/home/test/outputs/gtkmm3-nios2-internal/host/usr/nios2-buildroot-linux-gnu/sysroot/usr/lib/lib
atk-1.0.so
/home/test/outputs/gtkmm3-nios2-internal/host/usr/nios2-buildroot-linux-gnu/sysroot/usr/lib/libcairo-gobject.so
/home/test/outputs/gtkmm3-nios2-inte
rnal/host/usr/nios2-buildroot-linux-gnu/sysroot/usr/lib/libgio-2.0.so
/home/test/outputs/gtkmm3-nios2-internal/host/usr/nios2-buildroot-linux-gnu/sysroot/usr/l
ib/libcairomm-1.0.so
/home/test/outputs/gtkmm3-nios2-internal/host/usr/nios2-buildroot-linux-gnu/sysroot/usr/lib/libcairo.so
/home/test/outputs/gtkmm3-nios2-in
ternal/host/usr/nios2-buildroot-linux-gnu/sysroot/usr/lib/libsigc-2.0.so
/home/test/outputs/gtkmm3-nios2-internal/host/usr/nios2-buildroot-linux-gnu/sysroot/us
r/lib/libgdk_pixbuf-2.0.so
/home/test/outputs/gtkmm3-nios2-internal/host/usr/nios2-buildroot-linux-gnu/sysroot/usr/lib/libgobject-2.0.so
/home/test/outputs/gtk
mm3-nios2-internal/host/usr/nios2-buildroot-linux-gnu/sysroot/usr/lib/libglib-2.0.so
-L/home/test/outputs/gtkmm3-nios2-internal/host/usr/lib/gcc/nios2-buildroo
t-linux-gnu/5.3.0
-L/home/test/outputs/gtkmm3-nios2-internal/host/usr/lib/gcc/nios2-buildroot-linux-gnu/5.3.0/../../../../nios2-buildroot-linux-gnu/lib
-L/home
/test/outputs/gtkmm3-nios2-internal/host/usr/nios2-buildroot-linux-gnu/sysroot/lib
-lstdc++ -lm -lc -lgcc_s /home/test/outputs/gtkmm3-nios2-internal/host/usr/l
ib/gcc/nios2-buildroot-linux-gnu/5.3.0/crtendS.o
/home/test/outputs/gtkmm3-nios2-internal/host/usr/nios2-buildroot-linux-gnu/sysroot/usr/lib/crtn.o
 -Os   -pth
read -Wl,-soname -Wl,libgdkmm-3.0.so.1 -o .libs/libgdkmm-3.0.so.1.1.0

Steps to reproduce:

$ git clone git://git.busybox.net/buildroot
$ cd buildroot
$ cat > .config <<EOF
BR2_nios2=y
BR2_GCC_VERSION_5_X=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_GTKMM3=y
EOF
$ make olddefconfig
$ make

(this will build a nios2 toolchain from scratch, then build all the
dependencies of gtkmm3 and finally fail at the gtkm33 link step)

I apologize for not providing a simpler/faster way of reproducing, but since
the issue appears at link time, it is not trivial to provide all the necessary
object files and shared libraries.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]