* [Buildroot] [Bug 8491] New: libglib2 2.46.1 not Building for armv5 on 2015.11-rc3
@ 2015-11-29 20:23 bugzilla at busybox.net
2015-11-29 21:31 ` [Buildroot] [Bug 8491] " bugzilla at busybox.net
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2015-11-29 20:23 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8491
Summary: libglib2 2.46.1 not Building for armv5 on 2015.11-rc3
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P2
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: brandurs at yahoo.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0
When configure runs..
configure: WARNING: unrecognized options: --disable-doc, --disable-docs,
--disable-documentation, --with-xmlto, --with-fop, --enable-ipv6
when building..
CC libglib_2_0_la-gthread.lo
/tmp/.private/root/ccSdfBdl.s: Assembler messages:
/tmp/.private/root/ccSdfBdl.s:1010: Error: shifts in CMP/MOV instructions are
only supported in unified syntax -- `mov r12,r12,ror#3'
/tmp/.private/root/ccSdfBdl.s:1010: Error: shifts in CMP/MOV instructions are
only supported in unified syntax -- `mov r12,r12,ror#13'
/tmp/.private/root/ccSdfBdl.s:1011: Error: shifts in CMP/MOV instructions are
only supported in unified syntax -- `mov r12,r12,ror#29'
/tmp/.private/root/ccSdfBdl.s:1011: Error: shifts in CMP/MOV instructions are
only supported in unified syntax -- `mov r12,r12,ror#19'
/tmp/.private/root/ccSdfBdl.s:1012: Error: lo register required -- `orr
r10,r10,r10'
Makefile:2087: recipe for target 'libglib_2_0_la-gslice.lo' failed
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- 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 8491] libglib2 2.46.1 not Building for armv5 on 2015.11-rc3
2015-11-29 20:23 [Buildroot] [Bug 8491] New: libglib2 2.46.1 not Building for armv5 on 2015.11-rc3 bugzilla at busybox.net
@ 2015-11-29 21:31 ` bugzilla at busybox.net
2015-11-29 21:52 ` bugzilla at busybox.net
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2015-11-29 21:31 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8491
Yann E. MORIN <yann.morin.1998@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |yann.morin.1998 at free.fr
--- Comment #1 from Yann E. MORIN <yann.morin.1998@free.fr> 2015-11-29 21:31:18 UTC ---
Hello,
Thanks for your report!
However, I can not reproduce that build failure.
Here's my defconfig:
BR2_arm=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_INIT_NONE=y
BR2_SYSTEM_BIN_SH_NONE=y
# BR2_PACKAGE_BUSYBOX is not set
BR2_PACKAGE_LIBGLIB2=y
This selects an arm926t CPU, which is an armv5. And libglib2
builds correctly here.
Care to share your defconfig, please?
Regards,
Yann E. MORIN.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- 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 8491] libglib2 2.46.1 not Building for armv5 on 2015.11-rc3
2015-11-29 20:23 [Buildroot] [Bug 8491] New: libglib2 2.46.1 not Building for armv5 on 2015.11-rc3 bugzilla at busybox.net
2015-11-29 21:31 ` [Buildroot] [Bug 8491] " bugzilla at busybox.net
@ 2015-11-29 21:52 ` bugzilla at busybox.net
2015-11-29 21:54 ` bugzilla at busybox.net
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2015-11-29 21:52 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8491
--- Comment #2 from Peter Korsgaard <jacmet@uclibc.org> 2015-11-29 21:52:14 UTC ---
(In reply to comment #1)
> Hello,
>
> Thanks for your report!
>
> However, I can not reproduce that build failure.
> Here's my defconfig:
>
> BR2_arm=y
> BR2_TOOLCHAIN_EXTERNAL=y
> BR2_INIT_NONE=y
> BR2_SYSTEM_BIN_SH_NONE=y
> # BR2_PACKAGE_BUSYBOX is not set
> BR2_PACKAGE_LIBGLIB2=y
Based on the error message, the reporter was most likely building with thumb1
mode.
And indeed, it fails here as well with that config +
BR2_ARM_INSTRUCTIONS_THUMB=y
CC libglib_2_0_la-gstringchunk.lo
/tmp/ccSVEXME.s: Assembler messages:
/tmp/ccSVEXME.s:587: Error: shifts in CMP/MOV instructions are only supported
in unified syntax -- `mov r12,r12,ror#3'
/tmp/ccSVEXME.s:587: Error: shifts in CMP/MOV instructions are only supported
in unified syntax -- `mov r12,r12,ror#13'
/tmp/ccSVEXME.s:588: Error: shifts in CMP/MOV instructions are only supported
in unified syntax -- `mov r12,r12,ror#29'
/tmp/ccSVEXME.s:588: Error: shifts in CMP/MOV instructions are only supported
in unified syntax -- `mov r12,r12,ror#19'
/tmp/ccSVEXME.s:589: Error: lo register required -- `orr r10,r10,r10'
Makefile:2087: recipe for target 'libglib_2_0_la-gslice.lo' failed
I guess we'll need to force -marm for libglib2.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- 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 8491] libglib2 2.46.1 not Building for armv5 on 2015.11-rc3
2015-11-29 20:23 [Buildroot] [Bug 8491] New: libglib2 2.46.1 not Building for armv5 on 2015.11-rc3 bugzilla at busybox.net
2015-11-29 21:31 ` [Buildroot] [Bug 8491] " bugzilla at busybox.net
2015-11-29 21:52 ` bugzilla at busybox.net
@ 2015-11-29 21:54 ` bugzilla at busybox.net
2015-11-29 22:59 ` bugzilla at busybox.net
2015-11-30 7:24 ` bugzilla at busybox.net
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2015-11-29 21:54 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8491
--- Comment #3 from Peter Korsgaard <jacmet@uclibc.org> 2015-11-29 21:54:09 UTC ---
(In reply to comment #0)
> When configure runs..
> configure: WARNING: unrecognized options: --disable-doc, --disable-docs,
> --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6
>
> when building..
> CC libglib_2_0_la-gthread.lo
> /tmp/.private/root/ccSdfBdl.s: Assembler messages:
> /tmp/.private/root/ccSdfBdl.s:1010: Error: shifts in CMP/MOV instructions are
> only supported in unified syntax -- `mov r12,r12,ror#3'
> /tmp/.private/root/ccSdfBdl.s:1010: Error: shifts in CMP/MOV instructions are
> only supported in unified syntax -- `mov r12,r12,ror#13'
> /tmp/.private/root/ccSdfBdl.s:1011: Error: shifts in CMP/MOV instructions are
> only supported in unified syntax -- `mov r12,r12,ror#29'
> /tmp/.private/root/ccSdfBdl.s:1011: Error: shifts in CMP/MOV instructions are
> only supported in unified syntax -- `mov r12,r12,ror#19'
> /tmp/.private/root/ccSdfBdl.s:1012: Error: lo register required -- `orr
That TMPDIR seems to indicate that you are building as root. PLEASE don't do
that. One of the most basic features of Buildroot is that you don't need to be
root (and no guarantees are given that it will behave sanely if you DO run it
as root).
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- 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 8491] libglib2 2.46.1 not Building for armv5 on 2015.11-rc3
2015-11-29 20:23 [Buildroot] [Bug 8491] New: libglib2 2.46.1 not Building for armv5 on 2015.11-rc3 bugzilla at busybox.net
` (2 preceding siblings ...)
2015-11-29 21:54 ` bugzilla at busybox.net
@ 2015-11-29 22:59 ` bugzilla at busybox.net
2015-11-30 7:24 ` bugzilla at busybox.net
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2015-11-29 22:59 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8491
--- Comment #4 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2015-11-29 22:59:21 UTC ---
(In reply to comment #2)
> I guess we'll need to force -marm for libglib2.
The assembly code in question comes from glib/valgrind.h, but unfortunately, I
don't see a way of disabling valgrind "support" from glib.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- 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 8491] libglib2 2.46.1 not Building for armv5 on 2015.11-rc3
2015-11-29 20:23 [Buildroot] [Bug 8491] New: libglib2 2.46.1 not Building for armv5 on 2015.11-rc3 bugzilla at busybox.net
` (3 preceding siblings ...)
2015-11-29 22:59 ` bugzilla at busybox.net
@ 2015-11-30 7:24 ` bugzilla at busybox.net
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2015-11-30 7:24 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8491
Peter Korsgaard <jacmet@uclibc.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #5 from Peter Korsgaard <jacmet@uclibc.org> 2015-11-30 07:24:17 UTC ---
Fixed in git by:
commit 26013972ce568e55a121c21a55afce45bc0675e9
Author: Peter Korsgaard <peter@korsgaard.com>
Date: Mon Nov 30 08:19:59 2015 +0100
libglib2: force arm mode when building with thumb1
Fixes #8491
glib/valgrind.h contains inline asm not compatible with thumb1, so build it
in arm mode:
CC libglib_2_0_la-gstringchunk.lo
/tmp/ccSVEXME.s: Assembler messages:
/tmp/ccSVEXME.s:587: Error: shifts in CMP/MOV instructions are only
supported
in unified syntax -- `mov r12,r12,ror#3'
/tmp/ccSVEXME.s:587: Error: shifts in CMP/MOV instructions are only
supported
in unified syntax -- `mov r12,r12,ror#13'
/tmp/ccSVEXME.s:588: Error: shifts in CMP/MOV instructions are only
supported
in unified syntax -- `mov r12,r12,ror#29'
/tmp/ccSVEXME.s:588: Error: shifts in CMP/MOV instructions are only
supported
in unified syntax -- `mov r12,r12,ror#19'
/tmp/ccSVEXME.s:589: Error: lo register required -- `orr r10,r10,r10'
Makefile:2087: recipe for target 'libglib_2_0_la-gslice.lo' failed
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- 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:[~2015-11-30 7:24 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-29 20:23 [Buildroot] [Bug 8491] New: libglib2 2.46.1 not Building for armv5 on 2015.11-rc3 bugzilla at busybox.net
2015-11-29 21:31 ` [Buildroot] [Bug 8491] " bugzilla at busybox.net
2015-11-29 21:52 ` bugzilla at busybox.net
2015-11-29 21:54 ` bugzilla at busybox.net
2015-11-29 22:59 ` bugzilla at busybox.net
2015-11-30 7:24 ` bugzilla at busybox.net
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox