summaryrefslogtreecommitdiff
path: root/gnu/lib
AgeCommit message (Collapse)Author
2024-02-06Add risc-v support code for clang -msave-restoreJeremie Courreges-Anglas
ok kettenis@
2024-02-06Fix RTARCH in our Makefile and lets us access riscv-specific implementationsJeremie Courreges-Anglas
This brings us fp_mode.c used in softfloat code, and muldi3.S used when the target ISA doesn't have the Multiply extension. ok kettenis@
2024-02-04Adapt base libstdc++ to the new ctype.h definesJeremie Courreges-Anglas
ctype_base.h is correctly installed by make includes so the transition should be automatic. If you hit a failure with this header, make sure ctype.h and ctype_base.h are in sync. ok miod@ tb@
2024-01-26update libcxx, libcxxabi and libunwind to 16.0.6;Robert Nagy
tested by and input from tb@; ok kettenis@
2023-11-12Fix install path, reminded by otto@Jeremie Courreges-Anglas
2023-10-17Update ncurses and associated libraries (form, panel, menu) toNicholas Marriott
6.4-20230826 (from 5.7-20081102). Based on result from Thomas Dickey's ncu2openbsd script and then modified. Switches to the upstream tput. Major bump for the ncurses libraries and for libedit and libreadline. Help from tb, millert. ok deraadt sthen
2023-09-06Build with -std=gnu89 to fix the build with clang-16Jeremie Courreges-Anglas
This is ancient GNU software that tends to break whenever clang adds more warnings about deprecated features in new languages versions or turns them into errors. Using -std=gnu89 (the defaults for base-gcc) for those packages means we'll probably avoid most new warnings, errors, and possible miscompilations when updating clang. This fixes the build of libiberty and texinfo with clang-16. ok robert@
2023-07-05backport the implementation of ranges::find{, _if, _if_not}Robert Nagy
this will be required by future chromium releases From ee0f8c4010309a25c95115a9f727a02741e2de48 Mon Sep 17 00:00:00 2001 From: Nikolas Klauser <nikolasklauser@berlin.de> Date: Sat, 12 Mar 2022 01:45:35 +0100 Subject: [PATCH] [libc++][ranges] Implement ranges::find{, _if, _if_not} ok tb@
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@