pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc lld: updated to 9.0.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/23e462103715
branches: trunk
changeset: 402996:23e462103715
user: adam <adam%pkgsrc.org@localhost>
date: Sat Oct 19 14:01:36 2019 +0000
description:
lld: updated to 9.0.0
9.0.0:
Non-comprehensive list of changes in this release
ELF Improvements
ld.lld now has typo suggestions for flags: $ ld.lld --call-shared now prints unknown argument '--call-shared', did you mean '--call_shared'.
--allow-shlib-undefined and --no-allow-shlib-undefined options are added. --no-allow-shlib-undefined is the default for executables.
-nmagic and -omagic options are fully supported.
Segment layout has changed. PT_GNU_RELRO, which was previously placed in the middle of readable/writable PT_LOAD segments, is now placed at the beginning of them. This change permits lld-produced ELF
files to be read correctly by GNU strip older than 2.31, which has a bug to discard a PT_GNU_RELRO in the former layout.
-z common-page-size is supported.
Diagnostics messages have improved. A new flag --vs-diagnostics alters the format of diagnostic output to enable source hyperlinks in Microsoft Visual Studio IDE.
Linker script compatibility with GNU BFD linker has generally improved.
The clang --dependent-library form of autolinking is supported.
This feature is added to implement the Windows-style autolinking for Unix. On Unix, in order to use a library, you usually have to include a header file provided by the library and then explicitly
link the library with the linker -l option. On Windows, header files usually contain pragmas that list needed libraries. Compilers copy that information to object files, so that linkers can
automatically link needed libraries. --dependent-library is added for implementing that Windows semantics on Unix.
AArch64 BTI and PAC are supported.
lld now supports replacing JAL with JALX instructions in case of MIPS-microMIPS cross-mode jumps.
lld now creates LA25 thunks for MIPS R6 code.
Put MIPS-specific .reginfo, .MIPS.options, and .MIPS.abiflags sections into corresponding PT_MIPS_REGINFO, PT_MIPS_OPTIONS, and PT_MIPS_ABIFLAGS segments.
The quality of RISC-V and PowerPC ports have greatly improved. Many applications can now be linked by lld. PowerPC64 is now almost production ready.
The Linux kernel for arm32_7, arm64, ppc64le and x86_64 can now be linked by lld.
x86-64 TLSDESC is supported.
DF_STATIC_TLS flag is set for i386 and x86-64 when needed.
The experimental partitioning feature is added to allow a program to be split into multiple pieces.
The feature allows you to semi-automatically split a single program into multiple ELF files called ?partitions?. Since all partitions share the same memory address space and don?t use PLT/GOT, split
programs run as fast as regular programs.
With the mechanism, you can start a program only with a ?main? partition and load remaining partitions on-demand. For example, you can split a web browser into a main partition and a PDF reader
sub-partition and load the PDF reader partition only when a user tries to open a PDF file.
See the documentation for more information.
If ?-? is given as an output filename, lld writes the final result to the standard output. Previously, it created a file ?-? in the current directory.
-z ifunc-noplt option is added to reduce IFunc function call overhead in a freestanding environment such as the OS kernel.
Functions resolved by the IFunc mechanism are usually dispatched via PLT and thus slower than regular functions because of the cost of indirection. With -z ifunc-noplt, you can eliminate it by doing
text relocations at load-time. You need a special loader to utilize this feature. This feature is added for the FreeBSD kernel but can be used by any operating systems.
--undefined-glob option is added. The new option is an extension to --undefined to take a glob pattern instead of a single symbol name.
COFF Improvements
Like the ELF driver, lld-link now has typo suggestions for flags.
lld-link now correctly reports duplicate symbol errors for object files that were compiled with /Gy.
lld-link now correctly reports duplicate symbol errors when several resource (.res) input files define resources with the same type, name and language. This can be demoted to a warning using
/force:multipleres.
lld-link now rejects more than one resource object input files, matching link.exe. Previously, lld-link would silently ignore all but one. If you hit this: Don?t pass resource object files to the
linker, instead pass res files to the linker directly. Don?t put resource files in static libraries, pass them on the command line.
Having more than two /natvis: now works correctly; it used to not work for larger binaries before.
Undefined symbols are now printed only in demangled form. Pass /demangle:no to see raw symbol names instead.
Several speed and memory usage improvements.
lld-link now supports resource object files created by GNU windres and MS cvtres, not only llvm-cvtres.
The generated thunks for delayimports now share the majority of code among thunks, significantly reducing the overhead of using delayimport.
IMAGE_REL_ARM{,64}_REL32 relocations are supported.
Range extension thunks for AArch64 are now supported, so lld can create large executables for Windows/ARM64.
The following flags have been added: /functionpadmin
WebAssembly Improvements
Imports from custom module names are supported.
Symbols that are in llvm.used are now exported by default.
Initial support for PIC and dynamic linking has landed.
wasm-ld now add __start_/__stop_ symbols for data sections.
wasm-ld now doesn?t report an error on archives without a symbol index.
The following flags have been added: --emit-relocs
MinGW Improvements
lld now correctly links crtend.o as the last object file, handling terminators for the sections such as .eh_frame properly, fixing DWARF exception handling with libgcc and gcc?s crtend.o.
lld now also handles DWARF unwind info generated by GCC, when linking with libgcc.
PDB output can be requested without manually specifying the PDB file name, with the new option -pdb= with an empty value to the option. (The old existing syntax -pdb <filename> was more cumbersome to
use with an empty parameter value.)
--no-insert-timestamp option is added as an alias to /timestamp:0.
Many more GNU ld options are now supported, which e.g. allows the lld MinGW frontend to be called by GCC.
The following options are added: --exclude-all-symbols, --appcontainer, --undefined
diffstat:
devel/lld/Makefile | 9 +-
devel/lld/PLIST | 3 +-
devel/lld/distinfo | 17 +-
devel/lld/patches/patch-ELF_Config.h | 37 ---
devel/lldb/Makefile | 8 +-
devel/lldb/PLIST | 122 +--------
devel/lldb/PLIST.Darwin | 8 +-
devel/lldb/distinfo | 15 +-
devel/lldb/patches/patch-cmake_modules_LLDBStandalone.cmake | 18 +-
devel/lldb/patches/patch-scripts_Python_modules_readline_readline.cpp | 13 -
devel/lldb/patches/patch-source_API_CMakeLists.txt | 8 +-
devel/polly/Makefile | 8 +-
devel/polly/PLIST | 5 +-
devel/polly/distinfo | 10 +-
parallel/openmp/Makefile | 9 +-
parallel/openmp/distinfo | 10 +-
16 files changed, 72 insertions(+), 228 deletions(-)
diffs (truncated from 582 to 300 lines):
diff -r a6cc4478be95 -r 23e462103715 devel/lld/Makefile
--- a/devel/lld/Makefile Sat Oct 19 13:59:06 2019 +0000
+++ b/devel/lld/Makefile Sat Oct 19 14:01:36 2019 +0000
@@ -1,12 +1,9 @@
-# $NetBSD: Makefile,v 1.6 2019/09/08 20:49:11 rjs Exp $
+# $NetBSD: Makefile,v 1.7 2019/10/19 14:01:36 adam Exp $
-DISTNAME= lld-8.0.1.src
+DISTNAME= lld-9.0.0.src
PKGNAME= ${DISTNAME:S/.src//}
-PKGREVISION= 1
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GITHUB:=llvm/}
-GITHUB_PROJECT= llvm-project
-GITHUB_RELEASE= llvmorg-${PKGVERSION_NOREV}
+MASTER_SITES= http://releases.llvm.org/${PKGVERSION_NOREV}/
EXTRACT_SUFX= .tar.xz
MAINTAINER= mgorny%NetBSD.org@localhost
diff -r a6cc4478be95 -r 23e462103715 devel/lld/PLIST
--- a/devel/lld/PLIST Sat Oct 19 13:59:06 2019 +0000
+++ b/devel/lld/PLIST Sat Oct 19 14:01:36 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2019/02/01 16:30:00 mgorny Exp $
+@comment $NetBSD: PLIST,v 1.2 2019/10/19 14:01:36 adam Exp $
bin/ld.lld
bin/ld64.lld
bin/lld
@@ -7,6 +7,7 @@
include/lld/Common/Args.h
include/lld/Common/Driver.h
include/lld/Common/ErrorHandler.h
+include/lld/Common/Filesystem.h
include/lld/Common/LLVM.h
include/lld/Common/Memory.h
include/lld/Common/Reproduce.h
diff -r a6cc4478be95 -r 23e462103715 devel/lld/distinfo
--- a/devel/lld/distinfo Sat Oct 19 13:59:06 2019 +0000
+++ b/devel/lld/distinfo Sat Oct 19 14:01:36 2019 +0000
@@ -1,14 +1,7 @@
-$NetBSD: distinfo,v 1.4 2019/09/08 20:49:11 rjs Exp $
+$NetBSD: distinfo,v 1.5 2019/10/19 14:01:36 adam Exp $
-SHA1 (lld-8.0.1.src.tar.xz) = 67d84c054c8b858d29389aa8ad47a25f632e4a3a
-RMD160 (lld-8.0.1.src.tar.xz) = eb28179fe500862f1ccffe1633b6b1af7239d190
-SHA512 (lld-8.0.1.src.tar.xz) = 646418d4a4ce922d1a69e9bf2e472f5d758f25ec21b80a2c66dfe5effc59c9c312fb167cf64ee2d8a2ced986e7474ed3d2996a38be66fbf63c574229d28e0900
-Size (lld-8.0.1.src.tar.xz) = 996440 bytes
+SHA1 (lld-9.0.0.src.tar.xz) = 021a8c38cf27d63db37d939c7cdec46ffd627be2
+RMD160 (lld-9.0.0.src.tar.xz) = d46b068f4de55d174be71e061aa38f7d4d1499dc
+SHA512 (lld-9.0.0.src.tar.xz) = bc4812232840ef5edbd8edf1d1a329e85a4bfd3a7859fe322e11dd053435e722c6f1140a718fd2b3524ee9783a357178d2ba30d12519847bd3acc294698007f3
+Size (lld-9.0.0.src.tar.xz) = 1100608 bytes
SHA1 (patch-CMakeLists.txt) = df8e32f5f23bf2f2615a891177f61dc65359e955
-SHA1 (patch-ELF_Config.h) = de2578f6c447aade843c59f78189da4f1d79b29a
-SHA1 (patch-ELF_Driver.cpp) = 4ea55eb73e29dd90d369487528899d7e5930f2af
-SHA1 (patch-ELF_Driver.h) = e100fb0c86cc7d20b0f64919e73888a81a4836df
-SHA1 (patch-ELF_Options.td) = c8107a2c599b2444e52bdefe5f2dc539d277a092
-SHA1 (patch-ELF_Writer.cpp) = ab4ca25f832f20a5b4c80fe0f5f28822c09fb4ee
-SHA1 (patch-docs_ld.lld.1) = a6865d0099216094422aede3d65f43ee6fee22fe
-SHA1 (patch-test_ELF_gnustack.s) = b3827436dcfc67d51b8d293b11538808537ddeec
diff -r a6cc4478be95 -r 23e462103715 devel/lld/patches/patch-ELF_Config.h
--- a/devel/lld/patches/patch-ELF_Config.h Sat Oct 19 13:59:06 2019 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,37 +0,0 @@
-$NetBSD: patch-ELF_Config.h,v 1.2 2019/06/02 08:37:39 adam Exp $
-
-Add support for customizing LLD behavior on target triple.
-https://reviews.llvm.org/D56650
-
-Add '-z nognustack' option to disable emitting PT_GNU_STACK.
-https://reviews.llvm.org/D56554
-
---- ELF/Config.h.orig 2019-01-17 13:46:36.000000000 +0000
-+++ ELF/Config.h
-@@ -14,6 +14,7 @@
- #include "llvm/ADT/MapVector.h"
- #include "llvm/ADT/StringRef.h"
- #include "llvm/ADT/StringSet.h"
-+#include "llvm/ADT/Triple.h"
- #include "llvm/BinaryFormat/ELF.h"
- #include "llvm/Support/CachePruning.h"
- #include "llvm/Support/CodeGen.h"
-@@ -194,6 +195,7 @@ struct Configuration {
- bool ZNodefaultlib;
- bool ZNodelete;
- bool ZNodlopen;
-+ bool ZNognustack;
- bool ZNow;
- bool ZOrigin;
- bool ZRelro;
-@@ -277,6 +279,10 @@ struct Configuration {
-
- // 4 for ELF32, 8 for ELF64.
- int Wordsize;
-+
-+ // Target triple, inferred from program name or defaulted to LLVM
-+ // default target.
-+ llvm::Triple TargetTriple;
- };
-
- // The only instance of Configuration struct.
diff -r a6cc4478be95 -r 23e462103715 devel/lldb/Makefile
--- a/devel/lldb/Makefile Sat Oct 19 13:59:06 2019 +0000
+++ b/devel/lldb/Makefile Sat Oct 19 14:01:36 2019 +0000
@@ -1,11 +1,9 @@
-# $NetBSD: Makefile,v 1.22 2019/08/05 19:06:50 adam Exp $
+# $NetBSD: Makefile,v 1.23 2019/10/19 14:01:37 adam Exp $
-DISTNAME= lldb-8.0.1.src
+DISTNAME= lldb-9.0.0.src
PKGNAME= ${DISTNAME:S/.src//}
CATEGORIES= lang devel
-MASTER_SITES= ${MASTER_SITE_GITHUB:=llvm/}
-GITHUB_PROJECT= llvm-project
-GITHUB_RELEASE= llvmorg-${PKGVERSION_NOREV}
+MASTER_SITES= http://releases.llvm.org/${PKGVERSION_NOREV}/
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
diff -r a6cc4478be95 -r 23e462103715 devel/lldb/PLIST
--- a/devel/lldb/PLIST Sat Oct 19 13:59:06 2019 +0000
+++ b/devel/lldb/PLIST Sat Oct 19 14:01:36 2019 +0000
@@ -1,9 +1,9 @@
-@comment $NetBSD: PLIST,v 1.10 2019/06/02 08:35:55 adam Exp $
+@comment $NetBSD: PLIST,v 1.11 2019/10/19 14:01:37 adam Exp $
bin/lldb
bin/lldb-argdumper
+bin/lldb-instr
bin/lldb-mi
bin/lldb-server
-bin/lldb-test
bin/lldb-vscode
include/lldb/API/LLDB.h
include/lldb/API/SBAddress.h
@@ -30,7 +30,6 @@
include/lldb/API/SBFrame.h
include/lldb/API/SBFunction.h
include/lldb/API/SBHostOS.h
-include/lldb/API/SBInitializerOptions.h
include/lldb/API/SBInstruction.h
include/lldb/API/SBInstructionList.h
include/lldb/API/SBLanguageRuntime.h
@@ -46,6 +45,7 @@
include/lldb/API/SBProcessInfo.h
include/lldb/API/SBQueue.h
include/lldb/API/SBQueueItem.h
+include/lldb/API/SBReproducer.h
include/lldb/API/SBSection.h
include/lldb/API/SBSourceManager.h
include/lldb/API/SBStream.h
@@ -82,6 +82,7 @@
include/lldb/Breakpoint/BreakpointLocationList.h
include/lldb/Breakpoint/BreakpointName.h
include/lldb/Breakpoint/BreakpointOptions.h
+include/lldb/Breakpoint/BreakpointPrecondition.h
include/lldb/Breakpoint/BreakpointResolver.h
include/lldb/Breakpoint/BreakpointResolverAddress.h
include/lldb/Breakpoint/BreakpointResolverFileLine.h
@@ -125,7 +126,6 @@
include/lldb/Core/Opcode.h
include/lldb/Core/PluginInterface.h
include/lldb/Core/PluginManager.h
-include/lldb/Core/RangeMap.h
include/lldb/Core/RichManglingContext.h
include/lldb/Core/STLUtils.h
include/lldb/Core/SearchFilter.h
@@ -178,13 +178,13 @@
include/lldb/DataFormatters/VectorType.h
include/lldb/Expression/DWARFExpression.h
include/lldb/Expression/DiagnosticManager.h
+include/lldb/Expression/DynamicCheckerFunctions.h
include/lldb/Expression/Expression.h
include/lldb/Expression/ExpressionParser.h
include/lldb/Expression/ExpressionSourceCode.h
include/lldb/Expression/ExpressionTypeSystemHelper.h
include/lldb/Expression/ExpressionVariable.h
include/lldb/Expression/FunctionCaller.h
-include/lldb/Expression/IRDynamicChecks.h
include/lldb/Expression/IRExecutionUnit.h
include/lldb/Expression/IRInterpreter.h
include/lldb/Expression/IRMemoryMap.h
@@ -198,6 +198,7 @@
include/lldb/Host/Debug.h
include/lldb/Host/Editline.h
include/lldb/Host/File.h
+include/lldb/Host/FileAction.h
include/lldb/Host/FileCache.h
include/lldb/Host/FileSystem.h
include/lldb/Host/Host.h
@@ -220,6 +221,7 @@
include/lldb/Host/Pipe.h
include/lldb/Host/PipeBase.h
include/lldb/Host/PosixApi.h
+include/lldb/Host/ProcessLaunchInfo.h
include/lldb/Host/ProcessLauncher.h
include/lldb/Host/ProcessRunLock.h
include/lldb/Host/PseudoTerminal.h
@@ -227,7 +229,6 @@
include/lldb/Host/Socket.h
include/lldb/Host/SocketAddress.h
include/lldb/Host/StringConvert.h
-include/lldb/Host/Symbols.h
include/lldb/Host/TaskPool.h
include/lldb/Host/Terminal.h
include/lldb/Host/ThreadLauncher.h
@@ -333,6 +334,7 @@
include/lldb/Symbol/CompilerDecl.h
include/lldb/Symbol/CompilerDeclContext.h
include/lldb/Symbol/CompilerType.h
+include/lldb/Symbol/CxxModuleHandler.h
include/lldb/Symbol/DWARFCallFrameInfo.h
include/lldb/Symbol/DebugMacros.h
include/lldb/Symbol/DeclVendor.h
@@ -341,8 +343,11 @@
include/lldb/Symbol/Function.h
include/lldb/Symbol/LineEntry.h
include/lldb/Symbol/LineTable.h
+include/lldb/Symbol/LocateSymbolFile.h
include/lldb/Symbol/ObjectContainer.h
include/lldb/Symbol/ObjectFile.h
+include/lldb/Symbol/PostfixExpression.h
+include/lldb/Symbol/SourceModule.h
include/lldb/Symbol/Symbol.h
include/lldb/Symbol/SymbolContext.h
include/lldb/Symbol/SymbolContextScope.h
@@ -360,11 +365,9 @@
include/lldb/Symbol/VariableList.h
include/lldb/Symbol/VerifyDecl.h
include/lldb/Target/ABI.h
-include/lldb/Target/CPPLanguageRuntime.h
include/lldb/Target/DynamicLoader.h
include/lldb/Target/ExecutionContext.h
include/lldb/Target/ExecutionContextScope.h
-include/lldb/Target/FileAction.h
include/lldb/Target/InstrumentationRuntime.h
include/lldb/Target/InstrumentationRuntimeStopInfo.h
include/lldb/Target/JITLoader.h
@@ -375,13 +378,10 @@
include/lldb/Target/MemoryHistory.h
include/lldb/Target/MemoryRegionInfo.h
include/lldb/Target/ModuleCache.h
-include/lldb/Target/ObjCLanguageRuntime.h
include/lldb/Target/OperatingSystem.h
include/lldb/Target/PathMappingList.h
include/lldb/Target/Platform.h
include/lldb/Target/Process.h
-include/lldb/Target/ProcessInfo.h
-include/lldb/Target/ProcessLaunchInfo.h
include/lldb/Target/ProcessStructReader.h
include/lldb/Target/Queue.h
include/lldb/Target/QueueItem.h
@@ -389,6 +389,7 @@
include/lldb/Target/RegisterCheckpoint.h
include/lldb/Target/RegisterContext.h
include/lldb/Target/RegisterNumber.h
+include/lldb/Target/RemoteAwarePlatform.h
include/lldb/Target/SectionLoadHistory.h
include/lldb/Target/SectionLoadList.h
include/lldb/Target/StackFrame.h
@@ -442,6 +443,7 @@
include/lldb/Utility/Endian.h
include/lldb/Utility/Environment.h
include/lldb/Utility/Event.h
+include/lldb/Utility/FileCollector.h
include/lldb/Utility/FileSpec.h
include/lldb/Utility/Flags.h
include/lldb/Utility/IOObject.h
@@ -453,9 +455,12 @@
include/lldb/Utility/Logging.h
include/lldb/Utility/NameMatches.h
include/lldb/Utility/Predicate.h
+include/lldb/Utility/ProcessInfo.h
+include/lldb/Utility/RangeMap.h
include/lldb/Utility/RegisterValue.h
include/lldb/Utility/RegularExpression.h
include/lldb/Utility/Reproducer.h
+include/lldb/Utility/ReproducerInstrumentation.h
include/lldb/Utility/Scalar.h
include/lldb/Utility/SelectHelper.h
include/lldb/Utility/SharedCluster.h
@@ -479,6 +484,7 @@
include/lldb/Utility/UUID.h
include/lldb/Utility/UriParser.h
include/lldb/Utility/UserID.h
+include/lldb/Utility/UserIDResolver.h
include/lldb/Utility/VASPrintf.h
include/lldb/Utility/VMRange.h
include/lldb/lldb-defines.h
@@ -495,99 +501,7 @@
include/lldb/lldb-versioning.h
lib/liblldb.so
lib/liblldb.so.${PKGVERSION}
-${PLIST.posix}lib/liblldb.so.8
-lib/liblldbBase.a
-lib/liblldbBreakpoint.a
-lib/liblldbCommands.a
-lib/liblldbCore.a
-lib/liblldbDataFormatters.a
-lib/liblldbExpression.a
-lib/liblldbHost.a
-lib/liblldbInitialization.a
Home |
Main Index |
Thread Index |
Old Index