NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/57022 CVS commit: src/lib/libc
The following reply was made to PR toolchain/57022; it has been noted by GNATS.
From: "Nia Alarie" <nia%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/57022 CVS commit: src/lib/libc
Date: Wed, 5 Oct 2022 10:28:19 +0000
Module Name: src
Committed By: nia
Date: Wed Oct 5 10:28:19 UTC 2022
Modified Files:
src/lib/libc/arch/aarch64/softfloat: qp.c
src/lib/libc/compiler_rt: Makefile.inc
Log Message:
libc: switch aarch64 to use softfloat functions from compiler_rt
The old definitions in qp.c being all grouped together in one file
causes problems when static linking with libgcc (i.e. cc --static-libgcc)
due to functions like __trunctfdf2 conflicting with libgcc, as seen in
PR 57021
We can also add some missing functions like __fixdfti for converting
a double to an int128_t, the lack of which is currently preventing webkit
from linking on aarch64, as seen in PR 57022
Unclear to me if libc is the right place for these functions, but
we can avoid breaking compatibility right now and maintain the status
quo while avoiding some obvious immediate problems.
nm output for libc shows no functions being removed by this change.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/libc/arch/aarch64/softfloat/qp.c
cvs rdiff -u -r1.40 -r1.41 src/lib/libc/compiler_rt/Makefile.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index