public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug time/25879] New: toolchain with glibc-2.31 compile busybox-1.31.1 failed
@ 2020-04-27 6:58 he.dian1 at zte dot com.cn
2020-04-29 13:12 ` [Bug time/25879] " carlos at redhat dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: he.dian1 at zte dot com.cn @ 2020-04-27 6:58 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=25879
Bug ID: 25879
Summary: toolchain with glibc-2.31 compile busybox-1.31.1
failed
Product: glibc
Version: 2.31
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: time
Assignee: unassigned at sourceware dot org
Reporter: he.dian1 at zte dot com.cn
Target Milestone: ---
overview:
toolchain with glibc-2.31 compile the busybox-1.31.1 source failed while the
stime is undefined now.
Steps to Reproduce:
1) enter the busybox newset release 1.31.1 source top directory,input"make
defconfig ARCH=arm",then input "make menuconfig ARCH=arm" to choose build
static busybox
2) input "make install ARCH=arm CROSS_COMPILE=arm_eabi_gcc9.2.0_glibc2.31"to
cross compile busybox
Actual Results:
compile failed
Expected Results:
compile pass
Build Date & Hardware:
Build 2020-4-23 on Linux 4.15.0-96-generic
Additional Builds and Platforms:
do not know
Additional Information:
I found this is because glibc-2.31 use clock_settime to replace stime and old
stime cannot be used any more,this will lead to a lot of errors when the
source use the stime function.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug time/25879] toolchain with glibc-2.31 compile busybox-1.31.1 failed
2020-04-27 6:58 [Bug time/25879] New: toolchain with glibc-2.31 compile busybox-1.31.1 failed he.dian1 at zte dot com.cn
@ 2020-04-29 13:12 ` carlos at redhat dot com
2020-04-30 2:22 ` he.dian1 at zte dot com.cn
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: carlos at redhat dot com @ 2020-04-29 13:12 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=25879
Carlos O'Donell <carlos at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |carlos at redhat dot com
--- Comment #1 from Carlos O'Donell <carlos at redhat dot com> ---
Could you please provide more details about what exactly fails? Including the
output of the failing command would help triage this bug. Thank you.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug time/25879] toolchain with glibc-2.31 compile busybox-1.31.1 failed
2020-04-27 6:58 [Bug time/25879] New: toolchain with glibc-2.31 compile busybox-1.31.1 failed he.dian1 at zte dot com.cn
2020-04-29 13:12 ` [Bug time/25879] " carlos at redhat dot com
@ 2020-04-30 2:22 ` he.dian1 at zte dot com.cn
2020-04-30 10:41 ` glibc at nmacleod dot com
2020-04-30 13:01 ` carlos at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: he.dian1 at zte dot com.cn @ 2020-04-30 2:22 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=25879
--- Comment #2 from He Dian <he.dian1 at zte dot com.cn> ---
I use cross toolchain arm_gcc9.2.0_glibc2.31_fp to compile the current newest
version busybox-1.31.1 source,I execute following commend:
cd busybox-1.31.1
make defconfig ARCH=arm
make defconfig ARCH=arm
make install ARCH=arm
CROSS_COMPILE=arm_gcc9.2.0_glibc2.31_fp/bin/arm-unknown-linux-gnueabihf-
then following error occurred:
date.c:(.text.date_main+0x21c): undefined reference to `stime'
collect2: error: ld returned 1 exit status
Note: if build needs additional libraries, put them in CONFIG_EXTRA_LDLIBS.
Example: CONFIG_EXTRA_LDLIBS="pthread dl tirpc audit pam"
make: *** [Makefile:718: busybox_unstripped] Error 1
After research,I found glibc-2.31 use clock_settime function to replace old
stime function and old stime cannot be used any more,this will lead to errors
when the source use the stime function.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug time/25879] toolchain with glibc-2.31 compile busybox-1.31.1 failed
2020-04-27 6:58 [Bug time/25879] New: toolchain with glibc-2.31 compile busybox-1.31.1 failed he.dian1 at zte dot com.cn
2020-04-29 13:12 ` [Bug time/25879] " carlos at redhat dot com
2020-04-30 2:22 ` he.dian1 at zte dot com.cn
@ 2020-04-30 10:41 ` glibc at nmacleod dot com
2020-04-30 13:01 ` carlos at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: glibc at nmacleod dot com @ 2020-04-30 10:41 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=25879
Milhouse <glibc at nmacleod dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |glibc at nmacleod dot com
--- Comment #3 from Milhouse <glibc at nmacleod dot com> ---
You need the latest development busybox to build with glibc-2.31.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug time/25879] toolchain with glibc-2.31 compile busybox-1.31.1 failed
2020-04-27 6:58 [Bug time/25879] New: toolchain with glibc-2.31 compile busybox-1.31.1 failed he.dian1 at zte dot com.cn
` (2 preceding siblings ...)
2020-04-30 10:41 ` glibc at nmacleod dot com
@ 2020-04-30 13:01 ` carlos at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: carlos at redhat dot com @ 2020-04-30 13:01 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=25879
Carlos O'Donell <carlos at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED
--- Comment #4 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to Milhouse from comment #3)
> You need the latest development busybox to build with glibc-2.31.
Thanks Milhouse.
I'm marking this RESOLVED/INVALID given that there is a workaround.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-04-30 13:01 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-27 6:58 [Bug time/25879] New: toolchain with glibc-2.31 compile busybox-1.31.1 failed he.dian1 at zte dot com.cn
2020-04-29 13:12 ` [Bug time/25879] " carlos at redhat dot com
2020-04-30 2:22 ` he.dian1 at zte dot com.cn
2020-04-30 10:41 ` glibc at nmacleod dot com
2020-04-30 13:01 ` carlos at redhat 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).