summaryrefslogtreecommitdiff
path: root/gnu/lib
AgeCommit message (Collapse)Author
2022-11-01Do not neuter __attribute__ with __STRICT_ANSI__Theo Buehler
This broke readline support in newer Pythons and generally seems a bad idea. Upstream have removed this conditional in 5.0. ok millert
2001-03-18GNU readline-4.1Todd C. Miller
2022-02-16Plug ubsan_minimal into gnu/lib/libclang_rt buildGreg Steuck
ok jca@
2021-12-28Compile out-of-line helpers for atomic operations which can be enabledPatrick Wildt
through -moutline-atomics. These are included by default in this updated version of compiler-rt, we just haven't enabled them yet. Some ports start to make use of that option, so it makes sense to provide these helpers. The helpers would make use of the ARMv8.1 LSE instructions, if we flagged that the running system supports those. As we do not yet have a mechanism to show support for LSE, the code will always fall back to regular atomics. Issue raised by jca@ Tested by phessler@ Input from jsg@ ok kettenis@
2021-12-17Update build infrastructure for LLVM 13.0.0.Patrick Wildt
2021-11-12backport https://reviews.llvm.org/D107127 to fix shared libraries using emutlsRobert Nagy
Our emulated TLS implementation relies on local state (e.g. for the pthread key), and if we duplicate this state across different shared libraries, accesses to the same TLS variable from different shared libraries will yield different results (see https://github.com/android/ndk/issues/1551 for an example). __emutls_get_address is the only external entry point for emulated TLS, and by making it default visibility and weak, we can rely on the dynamic linker to coalesce multiple copies at runtime and ensure a single unique copy of TLS state. This is a best effort; Also bump the libc++abi minor because now it picks up the __emutls_get_address symbol. ok kettenis@
2021-09-28Link libclang_rt.profile to the build.Frederic Cambus
"go for it" kettenis@
2021-09-15Add build infrastructure for the libclang_rt.profile library.Frederic Cambus
Not linking it to the build yet. "go for it" mortimer@
2021-06-11remove netbsd specific LIBRARY section; ok jcaJason McIntyre
2021-06-10Minor mandoc -Tlint fixesJeremie Courreges-Anglas
ok mortimer@
2021-06-10IndentationJeremie Courreges-Anglas
ok mortimer@
2021-06-10No RCS IDs in shlib_version filesJeremie Courreges-Anglas
ok mortimer@
2021-06-09Enable libexecinfo.mortimer
With some build plumbing help from jsg@ ok kettenis@ sthen@
2021-06-09Add libexecinfo.mortimer
Based on NetBSD implementation, without the libelf dependency. Architectures which have libunwind use libunwind, and others use a stub implementation that does nothing since __builtin methods are unreliable. Much feedback and help from jca@. ok kettenis@ sthen@
2021-04-28Build libcompiler_rt for riscv64Dale Rahn
ok kettenis@
2021-04-28Update build infrastructure for libc++ and libc++abi version 11.1.0.Patrick Wildt
2021-01-11Switch libc++ and libc++abi to version 10.0.1.Patrick Wildt
Further libc++ header fixes for ports thanks to kettenis@ Ports build test and fixes thanks to naddy@ "Startschuss!" naddy@
2021-01-02Adjust link path for libc++ to find libc++abi to match change of MakefilePatrick Wildt
and build location.
2021-01-02Move Makefiles for libc++ and libc++abi to gnu/lib in preparation for anPatrick Wildt
upcoming update to those, which will see both codebases heading into the gnu/llvm dumpster. Feedback from jsg@ ok deraadt@ kettenis@
2020-08-14Don't build double-double functions since long double is the same as doubleMark Kettenis
on OpenBSD. ok gkoehler@
2020-08-11Remove fixtfti.c from ppc-if to unbreak macppc build. I guess kettenis@Patrick Wildt
was right that this isn't really needed. Now the list is the same as what we had for the previous compiler-rt version.
2020-08-11fix path for testing if a .S existsJonathan Gray
2020-08-10Un-hook and re-hook libcompiler_rt.Patrick Wildt
ok kettenis@
2020-08-10Add build infrastructure for compiler-rt.Patrick Wildt
ok kettenis@
2019-12-21a few depend:-related thingies that were still in.Marc Espie
okay millert@, tb@
2019-04-03mortimer unlinked libobjc from the build, but didn't know how to cvs rm.Ted Unangst
I don't know much about compilers, but what I do have are a very particular set of skills. Skills I have acquired over a very long career.
2004-01-15move libobjc around to its own directory (from src/gnu/egcs/libobjc)Marc Espie
2019-03-20fix serious markup error: \B -> \fB to select bold fontIngo Schwarze
2019-01-15Fix the inter-library dependency for libedit and libreadline.YASUOKA Masahiko
Previously they tried to depend on libtermcap which actually doesn't exist in the objdir. ok jca
2018-11-14Record an inter-library dependency on libcurses in libedit and libreadline,Stuart Henderson
avoiding runtime failures on architectures using ld.lld. Also add a note to libcurses shlib_version reminding about bumps (as done with libcrypto/libssl). Thanks guenther@ for suggestions of tests involving library bumps and jca@ for doing these tests and hint about DPADD. Looks good kettenis@, ok jca@
2018-09-14Pass CC/CFLAGS/LDFLAGS to the configure script. ok millert@Christian Weisgerber
2017-08-10Unlink libobjc. It is not used in base, and ports are pulling in libobjc2 ↵mortimer
from ports. ok bluhm@ sebastia@ dcoppa@
2017-07-28provide missing prototypesMarc Espie
this may actually result in bogus error messages, because int != char* okay jca@
2017-07-27fix warnings from missing headers.Marc Espie
okay deraadt@
2017-07-24install gcc, g++ as gcc and g++ instead of cc, c++ and create linksRobert Nagy
to the latter on non-clang architectures and make sure we build gcc with itself because clang won't be able to build it ok naddy@
2017-07-19more depends gc / yacc rules overhaulMarc Espie
okay millert@
2017-07-10remove misc. depend and yacc nits that no longer matter.Marc Espie
okay millert@
2017-07-04complete "nodepend" in sourceMarc Espie
- mix-up between .ALLSRC and .IMPSRC, compile the right gc.c file - add explicit targets for pre-generated stuff
2017-06-23Make libiberty test programs compile and run without segfault.Alexander Bluhm
2017-06-16mark files as BUILDFIRST, or write explicit dependencies, so that mostMarc Espie
programs will build even without a make depend first. okay tb@ millert@
2017-06-12destroy lint remnants.Marc Espie
okay millert@ deraadt@
2017-04-17Change build infrastructure to allow building both gcc and clang. ThisMark Kettenis
doesn't actually flip the switch yet, so aarch64 continues to be the only architecture for which we build clang. ok jsg@, deraadt@
2017-02-15gcc4 on m88k still uses sjlj exceptions, as did arm before EABI.Miod Vallat
2017-01-21Only build gcc4 libs if COMPILER_VERSION is gcc4.Jonathan Gray
ok kettenis@ patrick@
2017-01-21Nuke whitespace foolish enough to expose itself during the greatKenneth R Westerback
"warning:" rectification.
2001-03-18GNU readline-4.1Todd C. Miller
2017-01-20Take gcc's suggestions about parenthesis around assignments usedKenneth R Westerback
as truth values. Change a parameter to 'const'. All without making promises about any further cleanup in /gnu/. ok deraadt@
2016-12-19A couple more unused variables.Kenneth R Westerback
tweak & ok kettenis@
2016-10-03Fix ownership for install on a noperm filesystem.Martin Natano
joint work with tb
2016-09-01Re-enable libobjc on arm.Mark Kettenis