FreeBSD Bugzilla – Attachment 216494 Details for
Bug 237427
lang/ldc: update to 1.22.0, unbreak on aarch64
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
v1
ldc.diff (text/plain), 29.79 KB, created by
Mikael Urankar
on 2020-07-16 17:52:37 UTC
(
hide
)
Description:
v1
Filename:
MIME Type:
Creator:
Mikael Urankar
Created:
2020-07-16 17:52:37 UTC
Size:
29.79 KB
patch
obsolete
>Index: lang/ldc/Makefile >=================================================================== >--- lang/ldc/Makefile (revision 542268) >+++ lang/ldc/Makefile (working copy) >@@ -1,49 +1,48 @@ > # $FreeBSD$ > > PORTNAME= ldc >-PORTVERSION= 1.14.0 >+PORTVERSION= 1.22.0 > DISTVERSIONPREFIX= v > CATEGORIES= lang > > MAINTAINER= acm@FreeBSD.org >-COMMENT= The LLVM-based D compiler >+COMMENT= LLVM-based D compiler > > LICENSE= BSD3CLAUSE > >-BUILD_DEPENDS= llvm70>0:devel/llvm70 >-RUN_DEPENDS= llvm70>0:devel/llvm70 >+BROKEN_armv6= fails to compile: Error: undefined identifier _jmp_buf, did you mean alias jmp_buf? >+BROKEN_armv7= fails to compile: Error: undefined identifier _jmp_buf, did you mean alias jmp_buf? >+BROKEN_i386= function core.bitop.bsf (uint v) is not callable using argument types (ulong) >+ >+LLVM_VERSION= 10 >+BUILD_DEPENDS= llvm70>0:devel/llvm70 \ >+ llvm${LLVM_VERSION}>0:devel/llvm${LLVM_VERSION} >+RUN_DEPENDS= llvm70>0:devel/llvm70 \ >+ llvm${LLVM_VERSION}>0:devel/llvm${LLVM_VERSION} > LIB_DEPENDS= libconfig.so:devel/libconfig > >-BROKEN_aarch64= fails to compile: Error: undefined identifier _jmp_buf, did you mean alias jmp_buf? >-BROKEN_armv6= fails to compile: Error: undefined identifier _jmp_buf, did you mean alias jmp_buf? >-BROKEN_armv7= fails to compile: Error: undefined identifier _jmp_buf, did you mean alias jmp_buf? >-BROKEN_i386= function core.bitop.bsf (uint v) is not callable using argument types (ulong) >-BROKEN_powerpc64= fails to compile: cc1plus: error: unrecognized command line option "-std=c++11" >+USES= ninja cmake:insource > >-USES= cmake:insource >-USE_GITHUB= yes >-GH_ACCOUNT= ldc-developers >-GH_PROJECT= ldc >-GH_TUPLE= ldc-developers:ldc:911589c:tree/ltsmaster \ >- ldc-developers:druntime:694089c:druntimelts/ltsmaster/runtime/druntime \ >+USE_GITHUB= yes >+GH_ACCOUNT= ldc-developers >+GH_PROJECT= ldc >+GH_TUPLE= ldc-developers:ldc:911589c:tree/ltsmaster \ >+ ldc-developers:druntime:13b1ccf:druntimelts/ltsmaster/runtime/druntime \ > ldc-developers:phobos:1d758b2:phoboslts/ltsmaster/runtime/phobos \ >- ldc-developers:druntime:54cb25c:druntime/runtime/druntime \ >- ldc-developers:phobos:71cf74f:phobos/runtime/phobos >+ ldc-developers:druntime:cc97ccd:druntime/runtime/druntime \ >+ ldc-developers:phobos:8ae121c:phobos/runtime/phobos > >-CMAKE_ARGS+= -DD_COMPILER:STRING="${WRKSRC}/ltsmaster/bin/ldmd2" \ >- -DBUILD_SHARED_LIBS:STRING="BOTH" >+USE_LDCONFIG= yes > >-CC= clang70 >-CXX= clang++70 >- >-BOOTVER= 0.17.6 >-LLVM_CONFIG= llvm-config70 >+CC= ${LOCALBASE}/bin/clang${LLVM_VERSION} >+CXX= ${LOCALBASE}/bin/clang++${LLVM_VERSION} >+LLVM_CONFIG= ${LOCALBASE}/bin/llvm-config${LLVM_VERSION} > LDCVER= ${PORTVERSION} > > .include <bsd.port.pre.mk> > >-.if ${ARCH} == "amd64" >-CFLAGS+= -fPIC >+.if ${ARCH} == "aarch64" || ${ARCH} == "amd64" >+CFLAGS+= -fPIC > .endif > > .if ${OPSYS} == FreeBSD && ${OSVERSION} > 1200029 >@@ -50,15 +49,17 @@ > EXTRA_PATCHES= ${PATCHDIR}/fbsd12-* > .endif > >-post-patch: >- ${REINPLACE_CMD} -e 's|$${llvm_config_names}|${LLVM_CONFIG}|g' \ >- ${WRKSRC}/ltsmaster/cmake/Modules/FindLLVM.cmake \ >- ${WRKSRC}/cmake/Modules/FindLLVM.cmake >+CMAKE_ARGS+= -DLDC_INSTALL_PREFIX="${PREFIX}" \ >+ -DD_COMPILER:STRING="${WRKSRC}/ltsmaster/bin/ldmd2" \ >+ -DCMAKE_C_COMPILER:STRING="${CC}" \ >+ -DCMAKE_CXX_COMPILER:STRING="${CXX}" \ >+ -DLLVM_CONFIG:PATH=${LLVM_CONFIG} \ >+ -DBUILD_SHARED_LIBS:STRING="BOTH" > > pre-configure: > @cd ${WRKSRC}/ltsmaster && \ >- ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} . >+ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} -GNinja . > @cd ${WRKSRC}/ltsmaster && \ >- ${SETENV} ${MAKE_ENV} ${MAKE} >+ ${SETENV} ${MAKE_ENV} ninja > > .include <bsd.port.post.mk> >Index: lang/ldc/distinfo >=================================================================== >--- lang/ldc/distinfo (revision 542268) >+++ lang/ldc/distinfo (working copy) >@@ -1,13 +1,13 @@ >-TIMESTAMP = 1551800863 >-SHA256 (ldc-developers-ldc-v1.14.0_GH0.tar.gz) = daa7876ce846861cd9feb92f35dc0ca537a845492ca8a3eebecc9d166bc324b3 >-SIZE (ldc-developers-ldc-v1.14.0_GH0.tar.gz) = 1664660 >+TIMESTAMP = 1594630513 >+SHA256 (ldc-developers-ldc-v1.22.0_GH0.tar.gz) = d6b3b336a165a2153c268fd1d71f3c0b0377a0450bc3e2aac6d80a6fdda3b375 >+SIZE (ldc-developers-ldc-v1.22.0_GH0.tar.gz) = 1900581 > SHA256 (ldc-developers-ldc-911589c_GH0.tar.gz) = c10ee47d857358ea97eccd14b49b4152c7b2621c0129eee1e8f98988f1d13f5e > SIZE (ldc-developers-ldc-911589c_GH0.tar.gz) = 1231073 >-SHA256 (ldc-developers-druntime-694089c_GH0.tar.gz) = 29b1a27f767ac9c8a0c30926991d9abcda119aaf923b05caa686a6c396ac0a83 >-SIZE (ldc-developers-druntime-694089c_GH0.tar.gz) = 953726 >+SHA256 (ldc-developers-druntime-13b1ccf_GH0.tar.gz) = 0be26cb90b540e972eae3660e1b865f97d5b1cb6c7ffe76e2ec4eae89ed63f4a >+SIZE (ldc-developers-druntime-13b1ccf_GH0.tar.gz) = 953762 > SHA256 (ldc-developers-phobos-1d758b2_GH0.tar.gz) = af70f2d4b09e0062ba986e215677f484c1cec2977a74ca1a73d3534a120992e9 > SIZE (ldc-developers-phobos-1d758b2_GH0.tar.gz) = 1923043 >-SHA256 (ldc-developers-druntime-54cb25c_GH0.tar.gz) = 47a71942f9f6d4c36d867eb2526a72aece36fb959cf99619e525cacb4951e864 >-SIZE (ldc-developers-druntime-54cb25c_GH0.tar.gz) = 1665530 >-SHA256 (ldc-developers-phobos-71cf74f_GH0.tar.gz) = fe01cb3decccde3c5aa0defcba715c283a1f11bf2bed6aedd0e33e43030c9c72 >-SIZE (ldc-developers-phobos-71cf74f_GH0.tar.gz) = 2355367 >+SHA256 (ldc-developers-druntime-cc97ccd_GH0.tar.gz) = 3ab1e2560c640bb0e77f0a5f91a84c9b464bdc461b8bcf84827b5644e505d64e >+SIZE (ldc-developers-druntime-cc97ccd_GH0.tar.gz) = 1829988 >+SHA256 (ldc-developers-phobos-8ae121c_GH0.tar.gz) = 32aaaf8c8f6578840a7c802962eba1cfb0814c94a6bce854c0b6cd82cb466f43 >+SIZE (ldc-developers-phobos-8ae121c_GH0.tar.gz) = 2415254 >Index: lang/ldc/files/fbsd12-runtime-druntime-src-core-sys-freebsd-sys_event.d >=================================================================== >--- lang/ldc/files/fbsd12-runtime-druntime-src-core-sys-freebsd-sys_event.d (revision 542268) >+++ lang/ldc/files/fbsd12-runtime-druntime-src-core-sys-freebsd-sys_event.d (nonexistent) >@@ -1,14 +0,0 @@ >---- runtime/druntime/src/core/sys/freebsd/sys/event.d 2019-02-15 17:20:40.000000000 +0000 >-+++ runtime/druntime/src/core/sys/freebsd/sys/event.d 2019-03-05 17:57:03.552667000 +0000 >-@@ -49,8 +49,9 @@ >- short filter; /* filter for event */ >- ushort flags; >- uint fflags; >-- intptr_t data; >-- void *udata; /* opaque user data identifier */ >-+ long data; >-+ void* udata; /* opaque user data identifier */ >-+ ulong[4] ext; >- } >- >- enum > >Property changes on: lang/ldc/files/fbsd12-runtime-druntime-src-core-sys-freebsd-sys_event.d >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-fbsd12-ltsmaster-runtime-druntime-src-core-sys-freebsd-sys_event.d >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: lang/ldc/files/fbsd12-runtime-druntime-src-core-sys-freebsd-sys_mount.d >=================================================================== >--- lang/ldc/files/fbsd12-runtime-druntime-src-core-sys-freebsd-sys_mount.d (revision 542268) >+++ lang/ldc/files/fbsd12-runtime-druntime-src-core-sys-freebsd-sys_mount.d (nonexistent) >@@ -1,13 +0,0 @@ >---- runtime/druntime/src/core/sys/freebsd/sys/mount.d 2019-03-05 17:38:00.882617000 +0000 >-+++ runtime/druntime/src/core/sys/freebsd/sys/mount.d 2019-03-05 17:38:53.720464000 +0000 >-@@ -32,8 +32,8 @@ >- } >- >- enum MFSNAMELEN = 16; >--enum MNAMELEN = 88; >--enum STATFS_VERSION = 0x20030518; >-+enum MNAMELEN = 1024; >-+enum STATFS_VERSION = 0x20140518; >- >- struct statfs_t >- { > >Property changes on: lang/ldc/files/fbsd12-runtime-druntime-src-core-sys-freebsd-sys_mount.d >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-fbsd12-ltsmaster-runtime-druntime-src-core-sys-freebsd-sys_event.d >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: lang/ldc/files/fbsd12-runtime-druntime-src-core-sys-posix-sys_stat.d >=================================================================== >--- lang/ldc/files/fbsd12-runtime-druntime-src-core-sys-posix-sys_stat.d (revision 542268) >+++ lang/ldc/files/fbsd12-runtime-druntime-src-core-sys-posix-sys_stat.d (nonexistent) >@@ -1,58 +0,0 @@ >---- runtime/druntime/src/core/sys/posix/sys/stat.d 2019-02-15 17:20:40.000000000 +0000 >-+++ runtime/druntime/src/core/sys/posix/sys/stat.d 2019-03-05 17:49:41.528876000 +0000 >-@@ -930,32 +930,41 @@ >- >- struct stat_t >- { >-- dev_t st_dev; >-- ino_t st_ino; >-- mode_t st_mode; >-- nlink_t st_nlink; >-- uid_t st_uid; >-- gid_t st_gid; >-- dev_t st_rdev; >-+ dev_t st_dev; >-+ ino_t st_ino; >-+ nlink_t st_nlink; >-+ mode_t st_mode; >-+ short st_padding0; >-+ uid_t st_uid; >-+ gid_t st_gid; >-+ int st_padding1; >-+ dev_t st_rdev; >- >-+ version(X86) int st_atim_ext; >- time_t st_atime; >- c_long __st_atimensec; >-+ >-+ version(X86) int st_mtim_ext; >-+ >- time_t st_mtime; >- c_long __st_mtimensec; >-+ >-+ version(X86) int st_ctim_ext; >-+ >- time_t st_ctime; >- c_long __st_ctimensec; >- >-- off_t st_size; >-- blkcnt_t st_blocks; >-- blksize_t st_blksize; >-- fflags_t st_flags; >-- uint st_gen; >-- int st_lspare; >-+ version(X86) int st_btim_ext; >- >- time_t st_birthtime; >- c_long st_birthtimensec; >- >-- ubyte[16 - timespec.sizeof] padding; >-+ off_t st_size; >-+ blkcnt_t st_blocks; >-+ blksize_t st_blksize; >-+ fflags_t st_flags; >-+ ulong st_gen; >-+ ulong[10] st_spare; >- } >- >- enum S_IRUSR = 0x100; // octal 0000400 > >Property changes on: lang/ldc/files/fbsd12-runtime-druntime-src-core-sys-posix-sys_stat.d >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-fbsd12-ltsmaster-runtime-druntime-src-core-sys-freebsd-sys_event.d >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: lang/ldc/files/fbsd12-runtime-druntime-src-core-sys-posix-sys_types.d >=================================================================== >--- lang/ldc/files/fbsd12-runtime-druntime-src-core-sys-posix-sys_types.d (revision 542268) >+++ lang/ldc/files/fbsd12-runtime-druntime-src-core-sys-posix-sys_types.d (nonexistent) >@@ -1,21 +0,0 @@ >---- runtime/druntime/src/core/sys/posix/sys/types.d 2019-02-15 17:20:40.000000000 +0000 >-+++ runtime/druntime/src/core/sys/posix/sys/types.d 2019-03-05 17:51:58.972306000 +0000 >-@@ -145,14 +145,13 @@ >- } >- else version (FreeBSD) >- { >-- // https://github.com/freebsd/freebsd/blob/master/sys/sys/_types.h >- alias long blkcnt_t; >-- alias uint blksize_t; >-- alias uint dev_t; >-+ alias ulong blksize_t; >-+ alias ulong dev_t; >- alias uint gid_t; >-- alias uint ino_t; >-+ alias ulong ino_t; >- alias ushort mode_t; >-- alias ushort nlink_t; >-+ alias ulong nlink_t; >- alias long off_t; >- alias int pid_t; >- //size_t (defined in core.stdc.stddef) > >Property changes on: lang/ldc/files/fbsd12-runtime-druntime-src-core-sys-posix-sys_types.d >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-fbsd12-ltsmaster-runtime-druntime-src-core-sys-freebsd-sys_event.d >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: lang/ldc/files/fbsd12-runtime-druntime-src-core-sys-posix_dirent.d >=================================================================== >--- lang/ldc/files/fbsd12-runtime-druntime-src-core-sys-posix_dirent.d (revision 542268) >+++ lang/ldc/files/fbsd12-runtime-druntime-src-core-sys-posix_dirent.d (nonexistent) >@@ -1,21 +0,0 @@ >---- runtime/druntime/src/core/sys/posix/dirent.d 2019-03-05 17:39:54.822687000 +0000 >-+++ runtime/druntime/src/core/sys/posix/dirent.d 2019-03-05 17:41:19.267583000 +0000 >-@@ -152,11 +152,13 @@ >- align(4) >- struct dirent >- { >-- uint d_fileno; >-- ushort d_reclen; >-- ubyte d_type; >-- ubyte d_namlen; >-- char[256] d_name; >-+ ino_t d_fileno; >-+ off_t d_off; >-+ ushort d_reclen; >-+ ubyte d_type; >-+ ushort d_namlen; >-+ ushort d_pad1; >-+ char[256] d_name; >- } >- >- alias void* DIR; > >Property changes on: lang/ldc/files/fbsd12-runtime-druntime-src-core-sys-posix_dirent.d >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-fbsd12-ltsmaster-runtime-druntime-src-core-sys-freebsd-sys_event.d >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: lang/ldc/files/patch-cmake_Modules_FindLLVM.cmake >=================================================================== >--- lang/ldc/files/patch-cmake_Modules_FindLLVM.cmake (nonexistent) >+++ lang/ldc/files/patch-cmake_Modules_FindLLVM.cmake (working copy) >@@ -0,0 +1,11 @@ >+--- cmake/Modules/FindLLVM.cmake.orig 2020-07-15 20:25:23 UTC >++++ cmake/Modules/FindLLVM.cmake >+@@ -30,7 +30,7 @@ >+ # We also want an user-specified LLVM_ROOT_DIR to take precedence over the >+ # system default locations such as /usr/local/bin. Executing find_program() >+ # multiples times is the approach recommended in the docs. >+-set(llvm_config_names llvm-config-10.0 llvm-config100 llvm-config-10 >++set(llvm_config_names llvm-config-10.0 llvm-config100 llvm-config-10 llvm-config10 >+ llvm-config-9.0 llvm-config90 llvm-config-9 >+ llvm-config-8.0 llvm-config80 llvm-config-8 >+ llvm-config-7.0 llvm-config70 llvm-config-7 > >Property changes on: lang/ldc/files/patch-cmake_Modules_FindLLVM.cmake >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: lang/ldc/files/patch-driver_linker-gcc.cpp >=================================================================== >--- lang/ldc/files/patch-driver_linker-gcc.cpp (nonexistent) >+++ lang/ldc/files/patch-driver_linker-gcc.cpp (working copy) >@@ -0,0 +1,11 @@ >+--- driver/linker-gcc.cpp.orig 2020-06-16 16:15:55 UTC >++++ driver/linker-gcc.cpp >+@@ -647,6 +647,8 @@ void ArgsBuilder::addDefaultPlatformLibs() { >+ args.push_back("-ldl"); >+ // fallthrough >+ case llvm::Triple::FreeBSD: >++ args.push_back("-lexecinfo"); // for static druntime >++ // fallthrough >+ case llvm::Triple::NetBSD: >+ case llvm::Triple::OpenBSD: >+ case llvm::Triple::DragonFly: > >Property changes on: lang/ldc/files/patch-driver_linker-gcc.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: lang/ldc/files/patch-driver_targetmachine.cpp >=================================================================== >--- lang/ldc/files/patch-driver_targetmachine.cpp (nonexistent) >+++ lang/ldc/files/patch-driver_targetmachine.cpp (working copy) >@@ -0,0 +1,13 @@ >+--- driver/targetmachine.cpp.orig 2020-06-16 18:15:55 UTC >++++ driver/targetmachine.cpp >+@@ -444,6 +444,10 @@ createTargetMachine(const std::string targetTriple, co >+ // these OSes. >+ // On Android, PIC is default as well. >+ relocModel = llvm::Reloc::PIC_; >++ } else if (triple.isOSFreeBSD()) { >++ // We default to PIC code to avoid linking issues on FreeBSD, especially >++ // on aarch64. >++ relocModel = llvm::Reloc::PIC_; >+ } else { >+ // ARM for other than Darwin or Android defaults to static >+ switch (triple.getArch()) { > >Property changes on: lang/ldc/files/patch-driver_targetmachine.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: lang/ldc/files/patch-ltsmaster_cmake_Modules_FindLLVM.cmake >=================================================================== >--- lang/ldc/files/patch-ltsmaster_cmake_Modules_FindLLVM.cmake (nonexistent) >+++ lang/ldc/files/patch-ltsmaster_cmake_Modules_FindLLVM.cmake (working copy) >@@ -0,0 +1,12 @@ >+--- ltsmaster/cmake/Modules/FindLLVM.cmake.orig 2020-07-13 18:03:33 UTC >++++ ltsmaster/cmake/Modules/FindLLVM.cmake >+@@ -27,7 +27,8 @@ >+ # We also want an user-specified LLVM_ROOT_DIR to take precedence over the >+ # system default locations such as /usr/local/bin. Executing find_program() >+ # multiples times is the approach recommended in the docs. >+-set(llvm_config_names llvm-config-6.0 llvm-config60 >++set(llvm_config_names llvm-config-7.0 llvm-config70 >++ llvm-config-6.0 llvm-config60 >+ llvm-config-5.0 llvm-config50 >+ llvm-config-4.0 llvm-config40 >+ llvm-config-3.9 llvm-config39 > >Property changes on: lang/ldc/files/patch-ltsmaster_cmake_Modules_FindLLVM.cmake >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: lang/ldc/files/patch-runtime_CMakeLists.txt >=================================================================== >--- lang/ldc/files/patch-runtime_CMakeLists.txt (nonexistent) >+++ lang/ldc/files/patch-runtime_CMakeLists.txt (working copy) >@@ -0,0 +1,11 @@ >+--- runtime/CMakeLists.txt.orig 2020-07-13 17:43:03 UTC >++++ runtime/CMakeLists.txt >+@@ -134,6 +134,8 @@ if("${C_SYSTEM_LIBS}" STREQUAL "AUTO") >+ set(C_SYSTEM_LIBS m c) >+ elseif("${TARGET_SYSTEM}" MATCHES "Linux") >+ set(C_SYSTEM_LIBS m pthread rt dl) >++ elseif("${TARGET_SYSTEM}" MATCHES "FreeBSD") >++ set(C_SYSTEM_LIBS m pthread execinfo) >+ else() >+ set(C_SYSTEM_LIBS m pthread) >+ endif() > >Property changes on: lang/ldc/files/patch-runtime_CMakeLists.txt >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: lang/ldc/pkg-descr >=================================================================== >--- lang/ldc/pkg-descr (revision 542268) >+++ lang/ldc/pkg-descr (working copy) >@@ -1,10 +1,10 @@ >-The LDC project aims to provide a portable D programming language compiler >+The LDC project aims to provide a portable D programming language compiler > with modern optimization and code generation capabilities. > >-The compiler uses the official DMD frontends to support the latest version of >+The compiler uses the official DMD frontends to support the latest version of > D2, and relies on the LLVM Core libraries for code generation. > >-LDC is fully Open Source; the parts of the code not taken/adapted from other >+LDC is fully Open Source; the parts of the code not taken/adapted from other > projects are BSD-licensed (see the LICENSE file for details). > > WWW: http://wiki.dlang.org/LDC >Index: lang/ldc/pkg-plist >=================================================================== >--- lang/ldc/pkg-plist (revision 542268) >+++ lang/ldc/pkg-plist (working copy) >@@ -3,7 +3,7 @@ > bin/ldc-prune-cache > bin/ldc2 > bin/ldmd2 >-%%ETCDIR%%2.conf >+etc/ldc2.conf > include/d/core/atomic.d > include/d/core/attribute.d > include/d/core/bitop.d >@@ -11,15 +11,42 @@ > include/d/core/cpuid.d > include/d/core/demangle.d > include/d/core/exception.d >+include/d/core/gc/config.d >+include/d/core/gc/gcinterface.d >+include/d/core/gc/registry.d > include/d/core/internal/abort.d >-include/d/core/internal/arrayop.d >+include/d/core/internal/array/appending.d >+include/d/core/internal/array/capacity.d >+include/d/core/internal/array/casting.d >+include/d/core/internal/array/comparison.d >+include/d/core/internal/array/concatenation.d >+include/d/core/internal/array/construction.d >+include/d/core/internal/array/equality.d >+include/d/core/internal/array/operations.d >+include/d/core/internal/array/utils.d >+include/d/core/internal/atomic.d >+include/d/core/internal/attributes.d > include/d/core/internal/convert.d >+include/d/core/internal/dassert.d >+include/d/core/internal/destruction.d >+include/d/core/internal/elf/dl.d >+include/d/core/internal/elf/io.d >+include/d/core/internal/entrypoint.d >+include/d/core/internal/execinfo.d > include/d/core/internal/hash.d >+include/d/core/internal/lifetime.d >+include/d/core/internal/moving.d > include/d/core/internal/parseoptions.d >+include/d/core/internal/postblit.d > include/d/core/internal/spinlock.d > include/d/core/internal/string.d >+include/d/core/internal/switch_.d > include/d/core/internal/traits.d > include/d/core/internal/utf.d >+include/d/core/internal/util/array.d >+include/d/core/internal/vararg/aarch64.d >+include/d/core/internal/vararg/sysv_x64.d >+include/d/core/lifetime.d > include/d/core/math.d > include/d/core/memory.d > include/d/core/runtime.d >@@ -46,22 +73,32 @@ > include/d/core/stdc/time.d > include/d/core/stdc/wchar_.d > include/d/core/stdc/wctype.d >+include/d/core/stdcpp/allocator.d > include/d/core/stdcpp/array.d > include/d/core/stdcpp/exception.d >+include/d/core/stdcpp/memory.d >+include/d/core/stdcpp/new_.d >+include/d/core/stdcpp/string.d > include/d/core/stdcpp/string_view.d >+include/d/core/stdcpp/type_traits.d > include/d/core/stdcpp/typeinfo.d >+include/d/core/stdcpp/vector.d > include/d/core/stdcpp/xutility.d > include/d/core/sync/barrier.d > include/d/core/sync/condition.d > include/d/core/sync/config.d >+include/d/core/sync/event.d > include/d/core/sync/exception.d > include/d/core/sync/mutex.d > include/d/core/sync/rwmutex.d > include/d/core/sync/semaphore.d >+include/d/core/sys/bionic/err.d > include/d/core/sys/bionic/fcntl.d >+include/d/core/sys/bionic/string.d > include/d/core/sys/bionic/unistd.d > include/d/core/sys/darwin/crt_externs.d > include/d/core/sys/darwin/dlfcn.d >+include/d/core/sys/darwin/err.d > include/d/core/sys/darwin/execinfo.d > include/d/core/sys/darwin/mach/dyld.d > include/d/core/sys/darwin/mach/getsect.d >@@ -72,13 +109,16 @@ > include/d/core/sys/darwin/mach/thread_act.d > include/d/core/sys/darwin/netinet/in_.d > include/d/core/sys/darwin/pthread.d >+include/d/core/sys/darwin/string.d > include/d/core/sys/darwin/sys/cdefs.d > include/d/core/sys/darwin/sys/event.d > include/d/core/sys/darwin/sys/mman.d > include/d/core/sys/dragonflybsd/dlfcn.d >+include/d/core/sys/dragonflybsd/err.d > include/d/core/sys/dragonflybsd/execinfo.d > include/d/core/sys/dragonflybsd/netinet/in_.d > include/d/core/sys/dragonflybsd/pthread_np.d >+include/d/core/sys/dragonflybsd/string.d > include/d/core/sys/dragonflybsd/sys/_bitset.d > include/d/core/sys/dragonflybsd/sys/_cpuset.d > include/d/core/sys/dragonflybsd/sys/cdefs.d >@@ -89,11 +129,14 @@ > include/d/core/sys/dragonflybsd/sys/event.d > include/d/core/sys/dragonflybsd/sys/link_elf.d > include/d/core/sys/dragonflybsd/sys/mman.d >+include/d/core/sys/dragonflybsd/sys/socket.d > include/d/core/sys/dragonflybsd/time.d > include/d/core/sys/freebsd/dlfcn.d >+include/d/core/sys/freebsd/err.d > include/d/core/sys/freebsd/execinfo.d > include/d/core/sys/freebsd/netinet/in_.d > include/d/core/sys/freebsd/pthread_np.d >+include/d/core/sys/freebsd/string.d > include/d/core/sys/freebsd/sys/_bitset.d > include/d/core/sys/freebsd/sys/_cpuset.d > include/d/core/sys/freebsd/sys/cdefs.d >@@ -111,6 +154,7 @@ > include/d/core/sys/linux/dlfcn.d > include/d/core/sys/linux/elf.d > include/d/core/sys/linux/epoll.d >+include/d/core/sys/linux/err.d > include/d/core/sys/linux/errno.d > include/d/core/sys/linux/execinfo.d > include/d/core/sys/linux/fcntl.d >@@ -120,12 +164,12 @@ > include/d/core/sys/linux/netinet/tcp.d > include/d/core/sys/linux/sched.d > include/d/core/sys/linux/stdio.d >+include/d/core/sys/linux/string.d > include/d/core/sys/linux/sys/auxv.d > include/d/core/sys/linux/sys/eventfd.d > include/d/core/sys/linux/sys/file.d > include/d/core/sys/linux/sys/inotify.d > include/d/core/sys/linux/sys/mman.d >-include/d/core/sys/linux/sys/netinet/tcp.d > include/d/core/sys/linux/sys/prctl.d > include/d/core/sys/linux/sys/signalfd.d > include/d/core/sys/linux/sys/socket.d >@@ -138,16 +182,29 @@ > include/d/core/sys/linux/tipc.d > include/d/core/sys/linux/unistd.d > include/d/core/sys/netbsd/dlfcn.d >+include/d/core/sys/netbsd/err.d > include/d/core/sys/netbsd/execinfo.d >+include/d/core/sys/netbsd/string.d > include/d/core/sys/netbsd/sys/elf.d > include/d/core/sys/netbsd/sys/elf32.d > include/d/core/sys/netbsd/sys/elf64.d > include/d/core/sys/netbsd/sys/elf_common.d > include/d/core/sys/netbsd/sys/event.d >+include/d/core/sys/netbsd/sys/featuretest.d > include/d/core/sys/netbsd/sys/link_elf.d > include/d/core/sys/netbsd/sys/mman.d > include/d/core/sys/netbsd/time.d > include/d/core/sys/openbsd/dlfcn.d >+include/d/core/sys/openbsd/err.d >+include/d/core/sys/openbsd/string.d >+include/d/core/sys/openbsd/sys/cdefs.d >+include/d/core/sys/openbsd/sys/elf.d >+include/d/core/sys/openbsd/sys/elf32.d >+include/d/core/sys/openbsd/sys/elf64.d >+include/d/core/sys/openbsd/sys/elf_common.d >+include/d/core/sys/openbsd/sys/link_elf.d >+include/d/core/sys/openbsd/sys/mman.d >+include/d/core/sys/openbsd/time.d > include/d/core/sys/posix/aio.d > include/d/core/sys/posix/arpa/inet.d > include/d/core/sys/posix/config.d >@@ -158,6 +215,7 @@ > include/d/core/sys/posix/iconv.d > include/d/core/sys/posix/inttypes.d > include/d/core/sys/posix/libgen.d >+include/d/core/sys/posix/locale.d > include/d/core/sys/posix/mqueue.d > include/d/core/sys/posix/net/if_.d > include/d/core/sys/posix/netdb.d >@@ -173,6 +231,8 @@ > include/d/core/sys/posix/spawn.d > include/d/core/sys/posix/stdio.d > include/d/core/sys/posix/stdlib.d >+include/d/core/sys/posix/string.d >+include/d/core/sys/posix/strings.d > include/d/core/sys/posix/sys/filio.d > include/d/core/sys/posix/sys/ioccom.d > include/d/core/sys/posix/sys/ioctl.d >@@ -200,6 +260,7 @@ > include/d/core/sys/posix/utime.d > include/d/core/sys/solaris/dlfcn.d > include/d/core/sys/solaris/elf.d >+include/d/core/sys/solaris/err.d > include/d/core/sys/solaris/execinfo.d > include/d/core/sys/solaris/libelf.d > include/d/core/sys/solaris/link.d >@@ -330,6 +391,7 @@ > include/d/core/sys/windows/rpcnsip.d > include/d/core/sys/windows/rpcnterr.d > include/d/core/sys/windows/schannel.d >+include/d/core/sys/windows/sdkddkver.d > include/d/core/sys/windows/secext.d > include/d/core/sys/windows/security.d > include/d/core/sys/windows/servprov.d >@@ -379,9 +441,12 @@ > include/d/core/sys/windows/winver.d > include/d/core/sys/windows/wtsapi32.d > include/d/core/sys/windows/wtypes.d >-include/d/core/thread.d >+include/d/core/thread/fiber.d >+include/d/core/thread/osthread.d >+include/d/core/thread/package.d > include/d/core/time.d > include/d/core/vararg.d >+include/d/core/volatile.d > include/d/etc/c/curl.d > include/d/etc/c/odbc/sql.d > include/d/etc/c/odbc/sqlext.d >@@ -396,12 +461,13 @@ > include/d/ldc/dynamic_compile.d > include/d/ldc/eh_msvc.d > include/d/ldc/gccbuiltins_aarch64.di >+include/d/ldc/gccbuiltins_amdgcn.di > include/d/ldc/gccbuiltins_arm.di > include/d/ldc/gccbuiltins_mips.di >+include/d/ldc/gccbuiltins_nvvm.di > include/d/ldc/gccbuiltins_ppc.di > include/d/ldc/gccbuiltins_s390.di > include/d/ldc/gccbuiltins_x86.di >-include/d/ldc/internal/vararg.di > include/d/ldc/intrinsics.di > include/d/ldc/libfuzzer.di > include/d/ldc/llvmasm.di >@@ -452,7 +518,6 @@ > include/d/std/digest/sha.d > include/d/std/encoding.d > include/d/std/exception.d >-include/d/std/experimental/all.d > include/d/std/experimental/allocator/building_blocks/affix_allocator.d > include/d/std/experimental/allocator/building_blocks/aligned_block_list.d > include/d/std/experimental/allocator/building_blocks/allocator_list.d >@@ -517,6 +582,7 @@ > include/d/std/net/isemail.d > include/d/std/numeric.d > include/d/std/outbuffer.d >+include/d/std/package.d > include/d/std/parallelism.d > include/d/std/path.d > include/d/std/process.d >@@ -554,23 +620,23 @@ > include/d/std/zip.d > include/d/std/zlib.d > lib/libdruntime-ldc-debug-shared.so >-lib/libdruntime-ldc-debug-shared.so.2.0.84 >-lib/libdruntime-ldc-debug-shared.so.84 >+lib/libdruntime-ldc-debug-shared.so.2.0.92 >+lib/libdruntime-ldc-debug-shared.so.92 > lib/libdruntime-ldc-debug.a > lib/libdruntime-ldc-shared.so >-lib/libdruntime-ldc-shared.so.2.0.84 >-lib/libdruntime-ldc-shared.so.84 >+lib/libdruntime-ldc-shared.so.2.0.92 >+lib/libdruntime-ldc-shared.so.92 > lib/libdruntime-ldc.a > lib/libldc-jit-rt.a > lib/libldc-jit.so >-lib/libldc-jit.so.2.0.84 >-lib/libldc-jit.so.84 >+lib/libldc-jit.so.2.0.92 >+lib/libldc-jit.so.92 > lib/libphobos2-ldc-debug-shared.so >-lib/libphobos2-ldc-debug-shared.so.2.0.84 >-lib/libphobos2-ldc-debug-shared.so.84 >+lib/libphobos2-ldc-debug-shared.so.2.0.92 >+lib/libphobos2-ldc-debug-shared.so.92 > lib/libphobos2-ldc-debug.a > lib/libphobos2-ldc-shared.so >-lib/libphobos2-ldc-shared.so.2.0.84 >-lib/libphobos2-ldc-shared.so.84 >+lib/libphobos2-ldc-shared.so.2.0.92 >+lib/libphobos2-ldc-shared.so.92 > lib/libphobos2-ldc.a > @dir include/d/etc/c/zlib
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 237427
:
203847
|
203864
|
205239
|
205633
|
209422
|
210633
|
216494
|
217446