mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-04 11:23:46 +00:00
8f52533f63
Welcome GCC 11.1, the first release of the GCC 11 series! https://gcc.gnu.org/gcc-11/changes.html has a comprehensive overview of many improvements and changes and https://gcc.gnu.org/gcc-11/porting_to.html highlights issues you may encounter porting to this version. This release series should not prove too disruptive, mainly C++ defaulting to GNU++17 and some more libstdc++ headers will need to be included explicitly. To give a brief overview of some of the more noticable changes: Some short options of the gcov tool have been renamed: -i to -j and -j to -H. Debugging information defaults to DWARF 5. Vectorizer improvements, a new IPA-modref pass to track side effects of function calls and improve precision of points-to-analysis, better interprocedural constant propagation (IP-CP), smaller link-time optimization (LTO) object files. OpenMP 4.5 is now fully supported and OpenMP 5.0 support has been extended. A set of new warnings including -Wmismatched-dealloc, -Wsizeof-array-div, -Wstringop-overread, and enhancements to existing warnings. Several new features from the upcoming C2X revision of the ISO C standard are supported with -std=c2x and -std=gnu2x. Several C++20 features have been implemented and even some of the upcoming C++23 draft features with the -std=c++23 and the like. libstdc++ features improved C++17 support. And, last but not least, loads of improvements for all of FreeBSD's architectures.
48 lines
2.1 KiB
Plaintext
48 lines
2.1 KiB
Plaintext
Disable the build/use of libssp/gets-chk since FreeBSD 12 and later
|
|
do not feature gets() any longer.
|
|
|
|
--- UTC
|
|
Index: libssp/Makefile.am
|
|
===================================================================
|
|
--- libssp/Makefile.am (revision 263319)
|
|
+++ libssp/Makefile.am (working copy)
|
|
@@ -42,7 +42,7 @@
|
|
nobase_libsubinclude_HEADERS = ssp/ssp.h ssp/string.h ssp/stdio.h ssp/unistd.h
|
|
|
|
libssp_la_SOURCES = \
|
|
- ssp.c gets-chk.c memcpy-chk.c memmove-chk.c mempcpy-chk.c \
|
|
+ ssp.c memcpy-chk.c memmove-chk.c mempcpy-chk.c \
|
|
memset-chk.c snprintf-chk.c sprintf-chk.c stpcpy-chk.c \
|
|
strcat-chk.c strcpy-chk.c strncat-chk.c strncpy-chk.c \
|
|
vsnprintf-chk.c vsprintf-chk.c
|
|
Index: libssp/Makefile.in
|
|
===================================================================
|
|
--- libssp/Makefile.in (revision 263319)
|
|
+++ libssp/Makefile.in (working copy)
|
|
@@ -108,7 +108,7 @@
|
|
am__installdirs = "$(DESTDIR)$(toolexeclibdir)" \
|
|
"$(DESTDIR)$(libsubincludedir)"
|
|
LTLIBRARIES = $(toolexeclib_LTLIBRARIES)
|
|
-am_libssp_la_OBJECTS = ssp.lo gets-chk.lo memcpy-chk.lo memmove-chk.lo \
|
|
+am_libssp_la_OBJECTS = ssp.lo memcpy-chk.lo memmove-chk.lo \
|
|
mempcpy-chk.lo memset-chk.lo snprintf-chk.lo sprintf-chk.lo \
|
|
stpcpy-chk.lo strcat-chk.lo strcpy-chk.lo strncat-chk.lo \
|
|
strncpy-chk.lo vsnprintf-chk.lo vsprintf-chk.lo
|
|
@@ -291,7 +291,7 @@
|
|
libsubincludedir = $(libdir)/gcc/$(target_noncanonical)/$(gcc_version)/include
|
|
nobase_libsubinclude_HEADERS = ssp/ssp.h ssp/string.h ssp/stdio.h ssp/unistd.h
|
|
libssp_la_SOURCES = \
|
|
- ssp.c gets-chk.c memcpy-chk.c memmove-chk.c mempcpy-chk.c \
|
|
+ ssp.c memcpy-chk.c memmove-chk.c mempcpy-chk.c \
|
|
memset-chk.c snprintf-chk.c sprintf-chk.c stpcpy-chk.c \
|
|
strcat-chk.c strcpy-chk.c strncat-chk.c strncpy-chk.c \
|
|
vsnprintf-chk.c vsprintf-chk.c
|
|
@@ -452,7 +452,6 @@
|
|
distclean-compile:
|
|
-rm -f *.tab.c
|
|
|
|
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gets-chk.Plo@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libssp_nonshared_la-ssp-local.Plo@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/memcpy-chk.Plo@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/memmove-chk.Plo@am__quote@
|