All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 9916] New: qt5 does not build on arm-buildroot-linux-uclibcgnueabihf
@ 2017-05-30 13:59 bugzilla at busybox.net
  2017-05-30 14:58 ` [Buildroot] [Bug 9916] qt5 does not build on arm-buildroot-linux-uclibcgnueabihf for ARMv8 cores bugzilla at busybox.net
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2017-05-30 13:59 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=9916

            Bug ID: 9916
           Summary: qt5 does not build on
                    arm-buildroot-linux-uclibcgnueabihf
           Product: buildroot
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: uwe at hermann-uwe.de
                CC: buildroot at uclibc.org
  Target Milestone: ---

Log:

[...]/output/host/usr/bin/arm-buildroot-linux-uclibcgnueabihf-g++ -c -pipe
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os
--sysroot=[...]/output/host/usr/arm-buildroot-linux-uclibcgnueabihf/sysroot -O3
-O3 -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -Wvla
-Wdate-time -D_REENTRANT -fPIC -
DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQT_HAVE_POLL -DQT_HAVE_PPOLL
-DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII
-DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER
-DQT_DEPRECATED_WARNINGS -DQT_DIS
ABLE_DEPRECATED_BEFORE=0x050000 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
-DQT_NO_DEBUG -I. -Iglobal -I../3rdparty/harfbuzz/src -I../3rdparty/md5
-I../3rdparty/md4 -I../3rdparty/sha3 -I../3rdparty/double-conversion/include
-I..
/3rdparty/double-conversion/include/double-conversion -I../3rdparty/forkfd
-I../../include -I../../include/QtCore -I../../include/QtCore/5.8.0
-I../../include/QtCore/5.8.0/QtCore -I.moc
-I/[...]/output/host/usr/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/glib-2.0
-I[...]/output/host/usr/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/lib/glib-2.0/include
-I[...]/output/host/usr/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include
-I../../mkspecs/devices/linux-buildroot-g++ -o .obj/qhash.o tools/qhash.cpp
{standard input}: Assembler messages:
{standard input}:262: Error: selected processor does not support `crc32w
r2,r2,ip' in ARM mode
{standard input}:263: Error: selected processor does not support `crc32w
r2,r2,lr' in ARM mode
{standard input}:290: Error: selected processor does not support `crc32b
r2,r2,r3' in ARM mode
{standard input}:296: Error: selected processor does not support `crc32h
r2,r2,r3' in ARM mode
{standard input}:302: Error: selected processor does not support `crc32w
r2,r2,r3' in ARM mode
{standard input}:334: Error: selected processor does not support `crc32w
r1,r1,r2' in ARM mode
{standard input}:335: Error: selected processor does not support `crc32w
r1,r1,r0' in ARM mode
{standard input}:357: Error: selected processor does not support `crc32b
r1,r1,r3' in ARM mode
{standard input}:362: Error: selected processor does not support `crc32h
r1,r1,r2' in ARM mode
{standard input}:368: Error: selected processor does not support `crc32w
r1,r1,r2' in ARM mode
{standard input}:401: Error: selected processor does not support `crc32w
r1,r1,r2' in ARM mode
{standard input}:402: Error: selected processor does not support `crc32w
r1,r1,r0' in ARM mode
{standard input}:421: Error: selected processor does not support `crc32h
r1,r1,r3' in ARM mode
{standard input}:426: Error: selected processor does not support `crc32w
r1,r1,r2' in ARM mode
{standard input}:468: Error: selected processor does not support `crc32w
r1,r1,r2' in ARM mode
{standard input}:469: Error: selected processor does not support `crc32w
r1,r1,r0' in ARM mode
{standard input}:488: Error: selected processor does not support `crc32h
r1,r1,r3' in ARM mode
{standard input}:493: Error: selected processor does not support `crc32w
r1,r1,r2' in ARM mode
{standard input}:540: Error: selected processor does not support `crc32w
r1,r1,r2' in ARM mode
{standard input}:541: Error: selected processor does not support `crc32w
r1,r1,r0' in ARM mode
{standard input}:579: Error: selected processor does not support `crc32b
r1,r1,r3' in ARM mode
{standard input}:584: Error: selected processor does not support `crc32h
r1,r1,r3' in ARM mode
{standard input}:590: Error: selected processor does not support `crc32w
r1,r1,r3' in ARM mode
{standard input}:623: Error: selected processor does not support `crc32w
r2,r2,r1' in ARM mode
{standard input}:624: Error: selected processor does not support `crc32w
r2,r2,r0' in ARM mode
{standard input}:651: Error: selected processor does not support `crc32b
r2,r2,r3' in ARM mode
{standard input}:656: Error: selected processor does not support `crc32h
r2,r2,r3' in ARM mode
{standard input}:662: Error: selected processor does not support `crc32w
r2,r2,r3' in ARM mode
{standard input}:1556: Error: selected processor does not support `crc32w
r0,r0,r3' in ARM mode
{standard input}:1575: Error: selected processor does not support `crc32w
r0,r0,r3' in ARM mode
{standard input}:1577: Error: selected processor does not support `crc32w
r0,r0,r3' in ARM mode
{standard input}:1596: Error: selected processor does not support `crc32w
r0,r0,r3' in ARM mode
{standard input}:1598: Error: selected processor does not support `crc32w
r0,r0,r3' in ARM mode
Makefile:14306: recipe for target '.obj/qhash.o' failed
make[3]: *** [.obj/qhash.o] Error 1
make[3]: Target 'first' not remade because of errors.
make[3]: Leaving directory '[...]/output/build/qt5base-5.8.0/src/corelib'
Makefile:161: recipe for target 'sub-corelib-make_first' failed
make[2]: *** [sub-corelib-make_first] Error 2

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 9916] qt5 does not build on arm-buildroot-linux-uclibcgnueabihf for ARMv8 cores
  2017-05-30 13:59 [Buildroot] [Bug 9916] New: qt5 does not build on arm-buildroot-linux-uclibcgnueabihf bugzilla at busybox.net
@ 2017-05-30 14:58 ` bugzilla at busybox.net
  2017-05-30 15:00 ` bugzilla at busybox.net
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2017-05-30 14:58 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=9916

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|qt5 does not build on       |qt5 does not build on
                   |arm-buildroot-linux-uclibcg |arm-buildroot-linux-uclibcg
                   |nueabihf                    |nueabihf for ARMv8 cores

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 9916] qt5 does not build on arm-buildroot-linux-uclibcgnueabihf for ARMv8 cores
  2017-05-30 13:59 [Buildroot] [Bug 9916] New: qt5 does not build on arm-buildroot-linux-uclibcgnueabihf bugzilla at busybox.net
  2017-05-30 14:58 ` [Buildroot] [Bug 9916] qt5 does not build on arm-buildroot-linux-uclibcgnueabihf for ARMv8 cores bugzilla at busybox.net
@ 2017-05-30 15:00 ` bugzilla at busybox.net
  2017-07-13 18:42 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2017-05-30 15:00 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=9916

--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
This happens only when you select an ARMv8 core, and is caused by a bug in
binutils. We need to backport
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=27e5a270962fb92c07e7d476966ba380fa3bb68e
in our binutils package. Haven't had the time to do this.

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 9916] qt5 does not build on arm-buildroot-linux-uclibcgnueabihf for ARMv8 cores
  2017-05-30 13:59 [Buildroot] [Bug 9916] New: qt5 does not build on arm-buildroot-linux-uclibcgnueabihf bugzilla at busybox.net
  2017-05-30 14:58 ` [Buildroot] [Bug 9916] qt5 does not build on arm-buildroot-linux-uclibcgnueabihf for ARMv8 cores bugzilla at busybox.net
  2017-05-30 15:00 ` bugzilla at busybox.net
@ 2017-07-13 18:42 ` bugzilla at busybox.net
  2017-07-13 20:33 ` bugzilla at busybox.net
  2017-07-19 20:26 ` bugzilla at busybox.net
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2017-07-13 18:42 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=9916

--- Comment #2 from Ivan <ivan.nazarenko@gmail.com> ---
Sorry if I did not get it. I am sort of a newbie.

Downloaded from git yesterday, selected the default raspberrypi3_defconfig,
QT5.8, GCC 6.4, musl, binutils 2.28. The built stopped in qt5base in the same
file above, for apparently the same reason:

tools/qhash.cpp:148:54: error: attribute(target("+crc")) is unknown
 static uint crc32(const Char *ptr, size_t len, uint h)

But the patch that you mentions "need to backport" seems already applied in the
sources in output/build/host-binutils-2.28! At least the files the patch is
supposed to change are already in the changed form.

So I did not get what is needed to solve this build issue.

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 9916] qt5 does not build on arm-buildroot-linux-uclibcgnueabihf for ARMv8 cores
  2017-05-30 13:59 [Buildroot] [Bug 9916] New: qt5 does not build on arm-buildroot-linux-uclibcgnueabihf bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2017-07-13 18:42 ` bugzilla at busybox.net
@ 2017-07-13 20:33 ` bugzilla at busybox.net
  2017-07-19 20:26 ` bugzilla at busybox.net
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2017-07-13 20:33 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=9916

--- Comment #3 from Ivan <ivan.nazarenko@gmail.com> ---
Just a follow up:

The patch here: https://patchwork.ozlabs.org/patch/751143/
solved the build issue.

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 9916] qt5 does not build on arm-buildroot-linux-uclibcgnueabihf for ARMv8 cores
  2017-05-30 13:59 [Buildroot] [Bug 9916] New: qt5 does not build on arm-buildroot-linux-uclibcgnueabihf bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2017-07-13 20:33 ` bugzilla at busybox.net
@ 2017-07-19 20:26 ` bugzilla at busybox.net
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2017-07-19 20:26 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=9916

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
Fixed by
https://git.buildroot.org/buildroot/commit/package/binutils?id=d558ca17138331b1f3a9d780ced07671e0f0a185
and
https://git.buildroot.org/buildroot/commit/package/qt5?id=a9e053b5a8b4195aaddd97db98b0ba3dcf788638.
Thanks!

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-07-19 20:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-30 13:59 [Buildroot] [Bug 9916] New: qt5 does not build on arm-buildroot-linux-uclibcgnueabihf bugzilla at busybox.net
2017-05-30 14:58 ` [Buildroot] [Bug 9916] qt5 does not build on arm-buildroot-linux-uclibcgnueabihf for ARMv8 cores bugzilla at busybox.net
2017-05-30 15:00 ` bugzilla at busybox.net
2017-07-13 18:42 ` bugzilla at busybox.net
2017-07-13 20:33 ` bugzilla at busybox.net
2017-07-19 20:26 ` bugzilla at busybox.net

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.