public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug libstdc++/97465] New: cross build gcc with vtv enabled failed. Cannot find out headers in glibc why? @ 2020-10-16 20:19 euloanty at live dot com 2020-10-16 20:30 ` [Bug libstdc++/97465] " redi at gcc dot gnu.org ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: euloanty at live dot com @ 2020-10-16 20:19 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97465 Bug ID: 97465 Summary: cross build gcc with vtv enabled failed. Cannot find out headers in glibc why? Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: euloanty at live dot com Target Milestone: --- ./../libstdc++-v3/include/x86_64-cross-linux/bits/os_defines.h:39:10: fatal error: features.h: No such file or directory 39 | #include <features.h> | ^~~~~~~~~~~~ compilation terminated. Makefile:604: recipe for target 'vtv_malloc.lo' failed make[4]: *** [vtv_malloc.lo] Error 1 mv -f .deps/rwlock.Tpo .deps/rwlock.Plo libtool: compile: /home/cqwrteur/gcc_build/./gcc/xgcc -B/home/cqwrteur/gcc_build/./gcc/ "-DPACKAGE_NAME=\"GNU Vtable Verification Runtime Library\"" -DPACKAGE_TARNAME=\"libvtv\" -DPACKAGE_VERSION=\"1.0\" "-DPACKAGE_STRING=\"GNU Vtable Verification Runtime Library 1.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"http://www.gnu.org/software/libvtv/\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"libvtv\" -DVERSION=\"1.0\" -DHAVE_SECURE_GETENV=1 -DHAVE___FORTIFY_FAIL=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE__OBSTACK_BEGIN=1 -I. -I../../../gcc/libvtv -I../../../gcc/libvtv/../include -D_GNU_SOURCE -Wall -Wextra -fno-exceptions -fcf-protection -mshstk -I./../libstdc++-v3/include -I./../libstdc++-v3/include/x86_64-cross-linux -I../../../gcc/libvtv/../libstdc++-v3/libsupc++ -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end -g -O2 -D_GNU_SOURCE -MT vtv_utils.lo -MD -MP -MF .deps/vtv_utils.Tpo -c ../../../gcc/libvtv/vtv_utils.cc -fPIC -DPIC -o .libs/vtv_utils.o mv -f .deps/aatree.Tpo .deps/aatree.Plo ../../../gcc/libvtv/vtv_utils.cc:28:10: fatal error: sys/types.h: No such file or directory 28 | #include <sys/types.h> | ^~~~~~~~~~~~~ compilation terminated. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libstdc++/97465] cross build gcc with vtv enabled failed. Cannot find out headers in glibc why? 2020-10-16 20:19 [Bug libstdc++/97465] New: cross build gcc with vtv enabled failed. Cannot find out headers in glibc why? euloanty at live dot com @ 2020-10-16 20:30 ` redi at gcc dot gnu.org 2020-10-16 20:32 ` redi at gcc dot gnu.org ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: redi at gcc dot gnu.org @ 2020-10-16 20:30 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97465 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Ever confirmed|0 |1 Last reconfirmed| |2020-10-16 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- As https://gcc.gnu.org/bugs/ says, you need to provide the configure options used (among other info). ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libstdc++/97465] cross build gcc with vtv enabled failed. Cannot find out headers in glibc why? 2020-10-16 20:19 [Bug libstdc++/97465] New: cross build gcc with vtv enabled failed. Cannot find out headers in glibc why? euloanty at live dot com 2020-10-16 20:30 ` [Bug libstdc++/97465] " redi at gcc dot gnu.org @ 2020-10-16 20:32 ` redi at gcc dot gnu.org 2020-10-17 0:38 ` euloanty at live dot com ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: redi at gcc dot gnu.org @ 2020-10-16 20:32 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97465 --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- e.g. what kind of cross build? We're not psychic. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libstdc++/97465] cross build gcc with vtv enabled failed. Cannot find out headers in glibc why? 2020-10-16 20:19 [Bug libstdc++/97465] New: cross build gcc with vtv enabled failed. Cannot find out headers in glibc why? euloanty at live dot com 2020-10-16 20:30 ` [Bug libstdc++/97465] " redi at gcc dot gnu.org 2020-10-16 20:32 ` redi at gcc dot gnu.org @ 2020-10-17 0:38 ` euloanty at live dot com 2021-08-27 8:57 ` [Bug other/97465] " pinskia at gcc dot gnu.org 2021-08-27 8:59 ` pinskia at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: euloanty at live dot com @ 2020-10-17 0:38 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97465 --- Comment #3 from fdlbxtqi <euloanty at live dot com> --- (In reply to Jonathan Wakely from comment #2) > e.g. what kind of cross build? We're not psychic. I try to build x86_64-linux-gnu to x86_64-linux-gnu lol since I do not want vtv to ruin my ABIs. However, after I disabled vtv, the build is successful without any problems. The new toolchain works just fine. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug other/97465] cross build gcc with vtv enabled failed. Cannot find out headers in glibc why? 2020-10-16 20:19 [Bug libstdc++/97465] New: cross build gcc with vtv enabled failed. Cannot find out headers in glibc why? euloanty at live dot com ` (2 preceding siblings ...) 2020-10-17 0:38 ` euloanty at live dot com @ 2021-08-27 8:57 ` pinskia at gcc dot gnu.org 2021-08-27 8:59 ` pinskia at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu.org @ 2021-08-27 8:57 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97465 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |UNCONFIRMED Ever confirmed|1 |0 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug other/97465] cross build gcc with vtv enabled failed. Cannot find out headers in glibc why? 2020-10-16 20:19 [Bug libstdc++/97465] New: cross build gcc with vtv enabled failed. Cannot find out headers in glibc why? euloanty at live dot com ` (3 preceding siblings ...) 2021-08-27 8:57 ` [Bug other/97465] " pinskia at gcc dot gnu.org @ 2021-08-27 8:59 ` pinskia at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu.org @ 2021-08-27 8:59 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97465 --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I will try to find a simple way to reproduce this tomorrow. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-08-27 8:59 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-10-16 20:19 [Bug libstdc++/97465] New: cross build gcc with vtv enabled failed. Cannot find out headers in glibc why? euloanty at live dot com 2020-10-16 20:30 ` [Bug libstdc++/97465] " redi at gcc dot gnu.org 2020-10-16 20:32 ` redi at gcc dot gnu.org 2020-10-17 0:38 ` euloanty at live dot com 2021-08-27 8:57 ` [Bug other/97465] " pinskia at gcc dot gnu.org 2021-08-27 8:59 ` pinskia at gcc dot gnu.org
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).