bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/17739] New: Assertion fail ../../bfd/elf32-sh.c:4504 on sh4 when


From: glaubitz at physik dot fu-berlin.de
Subject: [Bug ld/17739] New: Assertion fail ../../bfd/elf32-sh.c:4504 on sh4 when compiling Qt5
Date: Mon, 22 Dec 2014 15:58:15 +0000

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



            Bug ID: 17739

           Summary: Assertion fail ../../bfd/elf32-sh.c:4504 on sh4 when

                    compiling Qt5

           Product: binutils

           Version: 2.25

            Status: NEW

          Severity: normal

          Priority: P2

         Component: ld

          Assignee: unassigned at sourceware dot org

          Reporter: glaubitz at physik dot fu-berlin.de



Hello!



Some components of Qt5 - including qtdeclarative-opensource-src and qtwebki
t -

currently fail to build from source on the Debian sh4 port due to a linker

assertion failing.



The exact linker output is:



g++ -c -g -O2 -fstack-protector-strong -Wformat -Werror=format-security

-D_FORTIFY_SOURCE=2 -O2 -std=c++0x -fno-exceptions -Wall -W -D_REENTRAN
T -fPIE

-DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_EXCEPTIONS

-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_QMLDEVTOOLS_LIB

-DQT_CORE_LIB -I/usr/lib/sh4-linux-gnu/qt5/mkspecs/linux-g++ -I.

-I../../include -I../../include/QtQml -I../../include/QtQml/5.3.2

-I../../include/QtQml/5.3.2/QtQml -I/usr/include/sh4-linux-gnu/qt5

-I/usr/include/sh4-linux-gnu/qt5/QtCore -I.moc -o .obj/main.o main.cpp

g++ -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-O1 -o

../../bin/qmlimportscanner .obj/main.o   -L/«PKGBUILDDIR»/lib -lQ
t5QmlDevTools

-L/usr/lib/sh4-linux-gnu -lQt5Core -lpthread 

/usr/bin/ld: BFD (GNU Binutils for Debian) 2.24 assertion fail

../../bfd/elf32-sh.c:4504

/usr/bin/ld: BFD (GNU Binutils for Debian) 2.24 assertion fail

../../bfd/elf32-sh.c:4504

/usr/bin/ld: BFD (GNU Binutils for Debian) 2.24 assertion fail

../../bfd/elf32-sh.c:4504

/usr/bin/ld: BFD (GNU Binutils for Debian) 2.24 assertion fail

../../bfd/elf32-sh.c:4504

/usr/bin/ld: BFD (GNU Binutils for Debian) 2.24 assertion fail

../../bfd/elf32-sh.c:4504

/usr/bin/ld: BFD (GNU Binutils for Debian) 2.24 assertion fail

../../bfd/elf32-sh.c:4504

/usr/bin/ld: BFD (GNU Binutils for Debian) 2.24 assertion fail

../../bfd/elf32-sh.c:4504

/usr/bin/ld: BFD (GNU Binutils for Debian) 2.24 assertion fail

../../bfd/elf32-sh.c:4504

/usr/bin/ld: BFD (GNU Binutils for Debian) 2.24 assertion fail

../../bfd/elf32-sh.c:4504

collect2: error: ld returned 1 exit status



The complete build logs can be found here [1] and here [2]. The build log f
or

qtwebkit which can be found in [2] was built with older versions of the

toolchain, but the error is the exact same so I assume it's the same bug. As

one of the buildds is currently building an up-to-date version of qtwebkit 
with

the current versions of the toolchain, I will be able to provide an updated

build log for qtwebkit shortly. The build takes around two days on sh4, I w
ill

provide the build log as soon as the build has finished.



If you need more details or need me to run any tests, please let me know!



Cheers,

Adrian



> [1] http://buildd.debian-ports.org/status/fetch.php?pkg=qtdeclarative-o
pensource-src&arch=sh4&ver=5.3.2-4&stamp=1417073135

> [2] http://buildd.debian-ports.org/status/fetch.php?pkg=qtwebkit&arch
=sh4&ver=2.2.1-7&stamp=1383898686



-- 

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]