* [Buildroot] [Bug 7941] New: glibc-2.20 fails to build for sparc-buildroot-linux-gnu
@ 2015-03-17 19:08 bugzilla at busybox.net
2015-03-17 21:47 ` [Buildroot] [Bug 7941] " bugzilla at busybox.net
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2015-03-17 19:08 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=7941
Host: x86_64
Target: sparc-buildroot-linux-gnu
Summary: glibc-2.20 fails to build for
sparc-buildroot-linux-gnu
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: uwe at hermann-uwe.de
CC: buildroot at uclibc.org
Estimated Hours: 0.0
Created attachment 5926
--> https://bugs.busybox.net/attachment.cgi?id=5926
build log
I've tried to build glibc for in git HEAD as of today.
Here's the first error message, full log as attachment.
../sysdeps/sparc/sparc32/sem_trywait.c: In function '__new_sem_trywait':
../sysdeps/sparc/sparc32/sem_trywait.c:35:11: error: dereferencing pointer to
incomplete type
if (isem->value > 0)
^
In file included from ../include/list.h:45:0,
from ../sysdeps/sparc/nptl/tls.h:28,
from ../include/errno.h:27,
from ../sysdeps/sparc/sparc32/sem_trywait.c:20:
../sysdeps/sparc/sparc32/sem_trywait.c:38:43: error: dereferencing pointer to
incomplete type
val = atomic_decrement_if_positive (&isem->value);
^
--
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] 4+ messages in thread* [Buildroot] [Bug 7941] glibc-2.20 fails to build for sparc-buildroot-linux-gnu
2015-03-17 19:08 [Buildroot] [Bug 7941] New: glibc-2.20 fails to build for sparc-buildroot-linux-gnu bugzilla at busybox.net
@ 2015-03-17 21:47 ` bugzilla at busybox.net
2015-03-17 21:50 ` bugzilla at busybox.net
2015-03-17 22:20 ` bugzilla at busybox.net
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2015-03-17 21:47 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=7941
Gustavo Zacarias <gustavo@zacarias.com.ar> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #1 from Gustavo Zacarias <gustavo@zacarias.com.ar> 2015-03-17 21:47:38 UTC ---
Thanks for the headsup, just sent a patch to the list to disable 2.20 for sparc
which leaves 2.21 (tested working with qemu).
--
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] 4+ messages in thread* [Buildroot] [Bug 7941] glibc-2.20 fails to build for sparc-buildroot-linux-gnu
2015-03-17 19:08 [Buildroot] [Bug 7941] New: glibc-2.20 fails to build for sparc-buildroot-linux-gnu bugzilla at busybox.net
2015-03-17 21:47 ` [Buildroot] [Bug 7941] " bugzilla at busybox.net
@ 2015-03-17 21:50 ` bugzilla at busybox.net
2015-03-17 22:20 ` bugzilla at busybox.net
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2015-03-17 21:50 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=7941
--- Comment #2 from mail at waldemar-brodkorb.de 2015-03-17 21:50:33 UTC ---
You could also apply this simple patch:
diff -Nur glibc-2.20.orig/sysdeps/sparc/sparc32/sem_trywait.c
glibc-2.20/sysdeps/sparc/sparc32/sem_trywait.c
--- glibc-2.20.orig/sysdeps/sparc/sparc32/sem_trywait.c 2014-09-07
10:09:09.000000000 +0200
+++ glibc-2.20/sysdeps/sparc/sparc32/sem_trywait.c 2014-09-13
10:21:44.000000000 +0200
@@ -22,6 +22,7 @@
#include <lowlevellock.h>
#include <internaltypes.h>
#include <semaphore.h>
+#include <sparc-nptl.h>
#include <shlib-compat.h>
--
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] 4+ messages in thread
* [Buildroot] [Bug 7941] glibc-2.20 fails to build for sparc-buildroot-linux-gnu
2015-03-17 19:08 [Buildroot] [Bug 7941] New: glibc-2.20 fails to build for sparc-buildroot-linux-gnu bugzilla at busybox.net
2015-03-17 21:47 ` [Buildroot] [Bug 7941] " bugzilla at busybox.net
2015-03-17 21:50 ` bugzilla at busybox.net
@ 2015-03-17 22:20 ` bugzilla at busybox.net
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2015-03-17 22:20 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=7941
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #3 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2015-03-17 22:19:59 UTC ---
Fixed by
http://git.buildroot.net/buildroot/commit/?id=dbf7da63188d461e738dcfcaa436b84baa23143c,
which basically disallows glibc 2.20 on SPARC.
Waldemar, I noticed your proposal, but since glibc 2.21 just builds/works out
of the box on SPARC, there isn't much point in carrying a build fix for glibc
2.20.
--
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] 4+ messages in thread
end of thread, other threads:[~2015-03-17 22:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-17 19:08 [Buildroot] [Bug 7941] New: glibc-2.20 fails to build for sparc-buildroot-linux-gnu bugzilla at busybox.net
2015-03-17 21:47 ` [Buildroot] [Bug 7941] " bugzilla at busybox.net
2015-03-17 21:50 ` bugzilla at busybox.net
2015-03-17 22:20 ` 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