Package Details: compiler-rt8 8.0.1-1

Git Clone URL: https://aur.archlinux.org/compiler-rt8.git (read-only, click to copy)
Package Base: compiler-rt8
Description: Compiler runtime libraries for clang (8.x)
Upstream URL: https://compiler-rt.llvm.org/
Licenses: custom:University of Illinois/NCSA Open Source License
Conflicts: compiler-rt
Provides: compiler-rt
Submitter: ftschindler
Maintainer: ftschindler
Last Packager: ftschindler
Votes: 0
Popularity: 0.000000
First Submitted: 2020-09-22 11:14 (UTC)
Last Updated: 2020-09-22 11:14 (UTC)

Required by (9)

Sources (2)

Latest Comments

checkdgt commented on 2022-09-06 10:29 (UTC)

I had some major issues getting this installed as I needed the 8 tools for building (clang/gcc/llvm) and kept getting a build error for compiler-rt8.

Finally found someone with a similar issue here: https://bugs.archlinux.org/task/75695 ^^ The following is mentioned:

linux: Fix sys/mount.h usage with kernel headers

Now that kernel exports linux/mount.h and includes it on linux/fs.h, its definitions might clash with glibc exports sys/mount.h. To avoid the need to rearrange the Linux header to be always after glibc one, the glibc sys/mount.h is changed to:

  1. Undefine the macros also used as enum constants. This covers prior inclusion of <linux/mount.h> (for instance MS_RDONLY).

  2. Include <linux/mount.h> based on the usual __has_include check (needs to use __has_include ("linux/mount.h") to paper over GCC bugs.

  3. Define enum fsconfig_command only if FSOPEN_CLOEXEC is not defined. (FSOPEN_CLOEXEC should be a very close proxy.)

  4. Define struct mount_attr if MOUNT_ATTR_SIZE_VER0 is not defined. (Added in the same commit on the Linux side.)

This patch also adds some tests to check if including linux/fs.h and linux/mount.h after and before sys/mount.h does work.

Checked on x86_64-linux-gnu.