public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/26290] New: stubs-hard.h not installed when building for RPi
@ 2020-07-23 5:24 john.frankish at outlook dot com
2020-07-23 12:02 ` [Bug build/26290] " fweimer at redhat dot com
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: john.frankish at outlook dot com @ 2020-07-23 5:24 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=26290
Bug ID: 26290
Summary: stubs-hard.h not installed when building for RPi
Product: glibc
Version: 2.31
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: build
Assignee: unassigned at sourceware dot org
Reporter: john.frankish at outlook dot com
CC: carlos at redhat dot com
Target Milestone: ---
When compiling for RPi, "make install" does not install
/usr/include/gnu/stubs-hard.h causing subsequent builds to fail.
config.h
/* The ARM hard-float ABI is being used. */
#define HAVE_ARM_PCS_VFP 1
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug build/26290] stubs-hard.h not installed when building for RPi
2020-07-23 5:24 [Bug build/26290] New: stubs-hard.h not installed when building for RPi john.frankish at outlook dot com
@ 2020-07-23 12:02 ` fweimer at redhat dot com
2020-07-23 12:09 ` fweimer at redhat dot com
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: fweimer at redhat dot com @ 2020-07-23 12:02 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=26290
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fweimer at redhat dot com
--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
I do not see a reference to any stubs-hard.h file in the glibc sources, so I'm
not sure how this can cause any problems?
In which context do you see build failures?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug build/26290] stubs-hard.h not installed when building for RPi
2020-07-23 5:24 [Bug build/26290] New: stubs-hard.h not installed when building for RPi john.frankish at outlook dot com
2020-07-23 12:02 ` [Bug build/26290] " fweimer at redhat dot com
@ 2020-07-23 12:09 ` fweimer at redhat dot com
2020-07-23 12:22 ` john.frankish at outlook dot com
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: fweimer at redhat dot com @ 2020-07-23 12:09 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=26290
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2020-07-23
Ever confirmed|0 |1
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug build/26290] stubs-hard.h not installed when building for RPi
2020-07-23 5:24 [Bug build/26290] New: stubs-hard.h not installed when building for RPi john.frankish at outlook dot com
2020-07-23 12:02 ` [Bug build/26290] " fweimer at redhat dot com
2020-07-23 12:09 ` fweimer at redhat dot com
@ 2020-07-23 12:22 ` john.frankish at outlook dot com
2020-07-23 12:30 ` fweimer at redhat dot com
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: john.frankish at outlook dot com @ 2020-07-23 12:22 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=26290
--- Comment #2 from john.frankish at outlook dot com ---
When compiling openssh-8.3p1 the ./configure gcc sanity check fails with:
configure:2931: gcc -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe -o
conftest conftest.c >&5
In file included from /usr/include/features.h:489,
from /usr/include/bits/libc-header-start.h:33,
from /usr/include/stdio.h:27,
from conftest.c:9:
/usr/include/gnu/stubs.h:10:11: fatal error: gnu/stubs-hard.h: No such file or
directory
10 | # include <gnu/stubs-hard.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
/usr/include/gnu/stubs.h contains:
#if !defined __ARM_PCS_VFP
# include <gnu/stubs-soft.h>
#endif
#if defined __ARM_PCS_VFP
# include <gnu/stubs-hard.h>
#endif
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug build/26290] stubs-hard.h not installed when building for RPi
2020-07-23 5:24 [Bug build/26290] New: stubs-hard.h not installed when building for RPi john.frankish at outlook dot com
` (2 preceding siblings ...)
2020-07-23 12:22 ` john.frankish at outlook dot com
@ 2020-07-23 12:30 ` fweimer at redhat dot com
2020-07-23 12:31 ` [Bug libc/26290] " fweimer at redhat dot com
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: fweimer at redhat dot com @ 2020-07-23 12:30 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=26290
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |UNCONFIRMED
Ever confirmed|1 |0
--- Comment #3 from Florian Weimer <fweimer at redhat dot com> ---
Thanks. Someone familiar with how this is supposed to work for arm needs to
look at this.
On other targets, the stubs-*.h files are provided by completely different,
ABI-incompatible builds that share only /usr/include, but not much else.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libc/26290] stubs-hard.h not installed when building for RPi
2020-07-23 5:24 [Bug build/26290] New: stubs-hard.h not installed when building for RPi john.frankish at outlook dot com
` (3 preceding siblings ...)
2020-07-23 12:30 ` fweimer at redhat dot com
@ 2020-07-23 12:31 ` fweimer at redhat dot com
2020-07-23 12:46 ` john.frankish at outlook dot com
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: fweimer at redhat dot com @ 2020-07-23 12:31 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=26290
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |drepper.fsp at gmail dot com
Target| |arm
Component|build |libc
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libc/26290] stubs-hard.h not installed when building for RPi
2020-07-23 5:24 [Bug build/26290] New: stubs-hard.h not installed when building for RPi john.frankish at outlook dot com
` (4 preceding siblings ...)
2020-07-23 12:31 ` [Bug libc/26290] " fweimer at redhat dot com
@ 2020-07-23 12:46 ` john.frankish at outlook dot com
2020-07-23 12:58 ` schwab@linux-m68k.org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: john.frankish at outlook dot com @ 2020-07-23 12:46 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=26290
--- Comment #4 from john.frankish at outlook dot com ---
If I understand correctly most armv6 cpu's are soft float, but those in the
RPi0/RPi1 are hard float, hence the distinction.
If I take stubs-hard.h from glibc-2.30 on the same distro then things work
fine.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libc/26290] stubs-hard.h not installed when building for RPi
2020-07-23 5:24 [Bug build/26290] New: stubs-hard.h not installed when building for RPi john.frankish at outlook dot com
` (5 preceding siblings ...)
2020-07-23 12:46 ` john.frankish at outlook dot com
@ 2020-07-23 12:58 ` schwab@linux-m68k.org
2020-07-23 13:04 ` schwab@linux-m68k.org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: schwab@linux-m68k.org @ 2020-07-23 12:58 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=26290
--- Comment #5 from Andreas Schwab <schwab@linux-m68k.org> ---
See sysdeps/arm/configure.ac:
if test $libc_cv_arm_pcs_vfp = yes; then
AC_DEFINE(HAVE_ARM_PCS_VFP)
LIBC_CONFIG_VAR([default-abi], [hard])
else
LIBC_CONFIG_VAR([default-abi], [soft])
fi
and sysdeps/unix/sysv/linux/arm/Makefile:
abi-variants := soft hard
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libc/26290] stubs-hard.h not installed when building for RPi
2020-07-23 5:24 [Bug build/26290] New: stubs-hard.h not installed when building for RPi john.frankish at outlook dot com
` (6 preceding siblings ...)
2020-07-23 12:58 ` schwab@linux-m68k.org
@ 2020-07-23 13:04 ` schwab@linux-m68k.org
2020-08-18 10:00 ` schwab@linux-m68k.org
2020-08-18 12:37 ` john.frankish at outlook dot com
9 siblings, 0 replies; 11+ messages in thread
From: schwab@linux-m68k.org @ 2020-07-23 13:04 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=26290
--- Comment #6 from Andreas Schwab <schwab@linux-m68k.org> ---
This is working fine on openSUSE:
<https://build.opensuse.org/package/live_build_log/openSUSE:Factory:ARM/glibc:testsuite/standard/armv6l>
if test -r
/home/abuild/rpmbuild/BUILDROOT/glibc-2.31-6.3.arm/usr/include/gnu/stubs-hard.h
&& cmp -s /home/abuild/rpmbuild/BUILD/glibc-2.31/cc-base/stubs.h
/home/abuild/rpmbuild/BUILDROOT/glibc-2.31-6.3.arm/usr/include/gnu/stubs-hard.h;
\
then echo 'stubs.h unchanged'; \
else /usr/bin/install -c -m 644
/home/abuild/rpmbuild/BUILD/glibc-2.31/cc-base/stubs.h
/home/abuild/rpmbuild/BUILDROOT/glibc-2.31-6.3.arm/usr/include/gnu/stubs-hard.h;
fi
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libc/26290] stubs-hard.h not installed when building for RPi
2020-07-23 5:24 [Bug build/26290] New: stubs-hard.h not installed when building for RPi john.frankish at outlook dot com
` (7 preceding siblings ...)
2020-07-23 13:04 ` schwab@linux-m68k.org
@ 2020-08-18 10:00 ` schwab@linux-m68k.org
2020-08-18 12:37 ` john.frankish at outlook dot com
9 siblings, 0 replies; 11+ messages in thread
From: schwab@linux-m68k.org @ 2020-08-18 10:00 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=26290
--- Comment #7 from Andreas Schwab <schwab@linux-m68k.org> ---
How did you configure glibc?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libc/26290] stubs-hard.h not installed when building for RPi
2020-07-23 5:24 [Bug build/26290] New: stubs-hard.h not installed when building for RPi john.frankish at outlook dot com
` (8 preceding siblings ...)
2020-08-18 10:00 ` schwab@linux-m68k.org
@ 2020-08-18 12:37 ` john.frankish at outlook dot com
9 siblings, 0 replies; 11+ messages in thread
From: john.frankish at outlook dot com @ 2020-08-18 12:37 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=26290
--- Comment #8 from john.frankish at outlook dot com ---
CC="gcc -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe" ../configure
--prefix=/usr --disable-werror --enable-kernel=4.9.22
--enable-stack-protector=strong --with-headers=/usr/include
libc_cv_slibdir=/lib --enable-obsolete-rpc --libexecdir=/usr/lib/glibc
(as an aside this still results in /usr/libexec/getconf/OSIX_V7_ILP32_OFF32,
etc)
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2020-08-18 12:37 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-23 5:24 [Bug build/26290] New: stubs-hard.h not installed when building for RPi john.frankish at outlook dot com
2020-07-23 12:02 ` [Bug build/26290] " fweimer at redhat dot com
2020-07-23 12:09 ` fweimer at redhat dot com
2020-07-23 12:22 ` john.frankish at outlook dot com
2020-07-23 12:30 ` fweimer at redhat dot com
2020-07-23 12:31 ` [Bug libc/26290] " fweimer at redhat dot com
2020-07-23 12:46 ` john.frankish at outlook dot com
2020-07-23 12:58 ` schwab@linux-m68k.org
2020-07-23 13:04 ` schwab@linux-m68k.org
2020-08-18 10:00 ` schwab@linux-m68k.org
2020-08-18 12:37 ` john.frankish at outlook dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).