public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/25792] New: GCC 6.4 can't build glibc
@ 2020-04-06 14:19 hjl.tools at gmail dot com
2020-04-06 14:25 ` [Bug build/25792] GCC 6.4 can't build glibc with -fno-omit-frame-pointer hjl.tools at gmail dot com
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2020-04-06 14:19 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=25792
Bug ID: 25792
Summary: GCC 6.4 can't build glibc
Product: glibc
Version: 2.32
Status: NEW
Severity: normal
Priority: P2
Component: build
Assignee: unassigned at sourceware dot org
Reporter: hjl.tools at gmail dot com
CC: carlos at redhat dot com
Target Milestone: ---
Target: i386
/usr/gcc-6.4.1-x32/bin/gcc -m32
../sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c -c -std=gnu11
-fgnu89-inline -O2 -g -march=i686 -Wall -Wwrite-strings -Wundef -Werror
-fmerge-all-constants -frounding-math -fno-stack-protector -Wstrict-prototypes
-Wold-style-definition -fmath-errno -fno-omit-frame-pointer -Wa,-mtune=i686
-ftls-model=initial-exec -I../include
-I/export/build/gnu/tools-build/glibc-32bit/build-i686-linux/nptl
-I/export/build/gnu/tools-build/glibc-32bit/build-i686-linux
-I../sysdeps/unix/sysv/linux/i386/i686 -I../sysdeps/i386/i686/nptl
-I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/x86/include
-I../sysdeps/unix/sysv/linux/x86 -I../sysdeps/x86/nptl -I../sysdeps/i386/nptl
-I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux
-I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/i386
-I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu/multiarch
-I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686/multiarch
-I../sysdeps/i386/i686 -I../sysdeps/i386/fpu -I../sysdeps/x86/fpu
-I../sysdeps/i386 -I../sysdeps/x86 -I../sysdeps/wordsize-32
-I../sysdeps/ieee754/float128 -I../sysdeps/ieee754/ldbl-96/include
-I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64
-I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic -I..
-I../libio -I. -D_LIBC_REENTRANT -include
/export/build/gnu/tools-build/glibc-32bit/build-i686-linux/libc-modules.h
-DMODULE_NAME=libpthread -include ../include/libc-symbols.h
-DTOP_NAMESPACE=glibc -o
/export/build/gnu/tools-build/glibc-32bit/build-i686-linux/nptl/pthread_mutex_timedlock.o
-MD -MP -MF
/export/build/gnu/tools-build/glibc-32bit/build-i686-linux/nptl/pthread_mutex_timedlock.o.dt
-MT
/export/build/gnu/tools-build/glibc-32bit/build-i686-linux/nptl/pthread_mutex_timedlock.o
In file included from
../sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c:22:0:
../nptl/pthread_mutex_timedlock.c: In function
‘__pthread_mutex_clocklock_common’:
../nptl/pthread_mutex_timedlock.c:599:1: error: bp cannot be used in asm here
}
^
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug build/25792] GCC 6.4 can't build glibc with -fno-omit-frame-pointer
2020-04-06 14:19 [Bug build/25792] New: GCC 6.4 can't build glibc hjl.tools at gmail dot com
@ 2020-04-06 14:25 ` hjl.tools at gmail dot com
2020-04-06 14:53 ` schwab@linux-m68k.org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2020-04-06 14:25 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=25792
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|GCC 6.4 can't build glibc |GCC 6.4 can't build glibc
| |with
| |-fno-omit-frame-pointer
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug build/25792] GCC 6.4 can't build glibc with -fno-omit-frame-pointer
2020-04-06 14:19 [Bug build/25792] New: GCC 6.4 can't build glibc hjl.tools at gmail dot com
2020-04-06 14:25 ` [Bug build/25792] GCC 6.4 can't build glibc with -fno-omit-frame-pointer hjl.tools at gmail dot com
@ 2020-04-06 14:53 ` schwab@linux-m68k.org
2020-04-06 15:05 ` hjl.tools at gmail dot com
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: schwab@linux-m68k.org @ 2020-04-06 14:53 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=25792
--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
Does it work with gcc 7?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug build/25792] GCC 6.4 can't build glibc with -fno-omit-frame-pointer
2020-04-06 14:19 [Bug build/25792] New: GCC 6.4 can't build glibc hjl.tools at gmail dot com
2020-04-06 14:25 ` [Bug build/25792] GCC 6.4 can't build glibc with -fno-omit-frame-pointer hjl.tools at gmail dot com
2020-04-06 14:53 ` schwab@linux-m68k.org
@ 2020-04-06 15:05 ` hjl.tools at gmail dot com
2020-04-06 16:27 ` adhemerval.zanella at linaro dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2020-04-06 15:05 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=25792
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
GCC 7 and 8 have the same problem. GCC 9 is OK.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug build/25792] GCC 6.4 can't build glibc with -fno-omit-frame-pointer
2020-04-06 14:19 [Bug build/25792] New: GCC 6.4 can't build glibc hjl.tools at gmail dot com
` (2 preceding siblings ...)
2020-04-06 15:05 ` hjl.tools at gmail dot com
@ 2020-04-06 16:27 ` adhemerval.zanella at linaro dot org
2020-04-06 16:35 ` hjl.tools at gmail dot com
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: adhemerval.zanella at linaro dot org @ 2020-04-06 16:27 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=25792
Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |adhemerval.zanella at linaro dot o
| |rg
--- Comment #3 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
Which was the configure command? And which is the value of
CAN_USE_REGISTER_ASM_EBP on config.h?
I think it might be related to the -Os issues (BZ#25240 and BZ#22581)
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug build/25792] GCC 6.4 can't build glibc with -fno-omit-frame-pointer
2020-04-06 14:19 [Bug build/25792] New: GCC 6.4 can't build glibc hjl.tools at gmail dot com
` (3 preceding siblings ...)
2020-04-06 16:27 ` adhemerval.zanella at linaro dot org
@ 2020-04-06 16:35 ` hjl.tools at gmail dot com
2020-04-06 17:20 ` adhemerval.zanella at linaro dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2020-04-06 16:35 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=25792
--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Adhemerval Zanella from comment #3)
> Which was the configure command? And which is the value of
> CAN_USE_REGISTER_ASM_EBP on config.h?
>
config.h:#define CAN_USE_REGISTER_ASM_EBP 0
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug build/25792] GCC 6.4 can't build glibc with -fno-omit-frame-pointer
2020-04-06 14:19 [Bug build/25792] New: GCC 6.4 can't build glibc hjl.tools at gmail dot com
` (4 preceding siblings ...)
2020-04-06 16:35 ` hjl.tools at gmail dot com
@ 2020-04-06 17:20 ` adhemerval.zanella at linaro dot org
2020-04-06 17:24 ` hjl.tools at gmail dot com
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: adhemerval.zanella at linaro dot org @ 2020-04-06 17:20 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=25792
--- Comment #5 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
It is the expected config.h value for -fno-omit-frame-pointer, but I don't know
exactly why it is failing with GCC 6.4.
At least with gcc 7.5.0 (from ubuntu 18.04) the build does not fail with
configure CC="gcc -m32 -march=i686 -fno-omit-frame-pointer" CXX="g++ -m32
-march=i686 -fno-omit-frame-pointer" --prefix=/usr --build=x86_64-linux-gnu
--host=i686-linux-gnu
I will try to build gcc 6.4 and check.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug build/25792] GCC 6.4 can't build glibc with -fno-omit-frame-pointer
2020-04-06 14:19 [Bug build/25792] New: GCC 6.4 can't build glibc hjl.tools at gmail dot com
` (5 preceding siblings ...)
2020-04-06 17:20 ` adhemerval.zanella at linaro dot org
@ 2020-04-06 17:24 ` hjl.tools at gmail dot com
2020-04-06 17:27 ` adhemerval.zanella at linaro dot org
2020-04-06 19:03 ` hjl.tools at gmail dot com
8 siblings, 0 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2020-04-06 17:24 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=25792
--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Adhemerval Zanella from comment #5)
> It is the expected config.h value for -fno-omit-frame-pointer, but I don't
> know exactly why it is failing with GCC 6.4.
>
> At least with gcc 7.5.0 (from ubuntu 18.04) the build does not fail with
>
> configure CC="gcc -m32 -march=i686 -fno-omit-frame-pointer" CXX="g++ -m32
> -march=i686 -fno-omit-frame-pointer" --prefix=/usr --build=x86_64-linux-gnu
> --host=i686-linux-gnu
>
> I will try to build gcc 6.4 and check.
I know what is going on. It is caused by my patch to remove GCC 5 support.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug build/25792] GCC 6.4 can't build glibc with -fno-omit-frame-pointer
2020-04-06 14:19 [Bug build/25792] New: GCC 6.4 can't build glibc hjl.tools at gmail dot com
` (6 preceding siblings ...)
2020-04-06 17:24 ` hjl.tools at gmail dot com
@ 2020-04-06 17:27 ` adhemerval.zanella at linaro dot org
2020-04-06 19:03 ` hjl.tools at gmail dot com
8 siblings, 0 replies; 10+ messages in thread
From: adhemerval.zanella at linaro dot org @ 2020-04-06 17:27 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=25792
--- Comment #7 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
(In reply to H.J. Lu from comment #6)
> (In reply to Adhemerval Zanella from comment #5)
> > It is the expected config.h value for -fno-omit-frame-pointer, but I don't
> > know exactly why it is failing with GCC 6.4.
> >
> > At least with gcc 7.5.0 (from ubuntu 18.04) the build does not fail with
> >
> > configure CC="gcc -m32 -march=i686 -fno-omit-frame-pointer" CXX="g++ -m32
> > -march=i686 -fno-omit-frame-pointer" --prefix=/usr --build=x86_64-linux-gnu
> > --host=i686-linux-gnu
> >
> > I will try to build gcc 6.4 and check.
>
> I know what is going on. It is caused by my patch to remove GCC 5 support.
I was about to comment that patch on libc-alpha, we can't remove that code
because we need to the CAN_USE_REGISTER_ASM_EBP.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug build/25792] GCC 6.4 can't build glibc with -fno-omit-frame-pointer
2020-04-06 14:19 [Bug build/25792] New: GCC 6.4 can't build glibc hjl.tools at gmail dot com
` (7 preceding siblings ...)
2020-04-06 17:27 ` adhemerval.zanella at linaro dot org
@ 2020-04-06 19:03 ` hjl.tools at gmail dot com
8 siblings, 0 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2020-04-06 19:03 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=25792
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> ---
False alarm.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2020-04-06 19:03 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-06 14:19 [Bug build/25792] New: GCC 6.4 can't build glibc hjl.tools at gmail dot com
2020-04-06 14:25 ` [Bug build/25792] GCC 6.4 can't build glibc with -fno-omit-frame-pointer hjl.tools at gmail dot com
2020-04-06 14:53 ` schwab@linux-m68k.org
2020-04-06 15:05 ` hjl.tools at gmail dot com
2020-04-06 16:27 ` adhemerval.zanella at linaro dot org
2020-04-06 16:35 ` hjl.tools at gmail dot com
2020-04-06 17:20 ` adhemerval.zanella at linaro dot org
2020-04-06 17:24 ` hjl.tools at gmail dot com
2020-04-06 17:27 ` adhemerval.zanella at linaro dot org
2020-04-06 19:03 ` hjl.tools at gmail 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).