llvm-lld-19/19.1.5 package update #35711
Merged
Octo STS / elastic-build
succeeded
Dec 8, 2024 in 3m 13s
APKs built successfully
Build ID: 5c1ed599-e799-474b-9c19-a374bc474aa1
Details
x86_64
Logs
Click to expand
warn-duplicate-rpath
Do not warn if the same -rpath is specified multiple times
--no-warn-dylib-install-name
Do not warn on -install_name if -dylib is not passed (default)
--no-warn-thin-archive-missing-members
Do not warn on missing object files referenced by thin archives
-no_objc_category_merging
Do not merge Objective-C categories
-objc_category_merging Merge Objective-C categories that share the same base class
--pgo-warn-mismatch turn on warnings about profile cfg mismatch (default)
--print-dylib-search Print which paths lld searched when trying to find dylibs
--print-symbol-order=<value>
Print a symbol order specified by --call-graph-profile-sort into the specified file
--reproduce=<value> Write tar file containing inputs and command to reproduce link
--strict-auto-link Always warn for missing frameworks or libraries if they are loaded via LC_LINKER_OPTIONS
--thinlto-cache-policy=<value>
Pruning policy for the ThinLTO cache
--thinlto-jobs=<value> Number of ThinLTO jobs. Default to --threads=
--threads=<value> Number of threads. '1' disables multi-threading. By default all available hardware threads are used
--time-trace-granularity=<value>
Minimum time granularity (in microseconds) traced by time profiler
--time-trace=<file> Record time trace to <file>
--time-trace Record time trace to file next to output
--version Display the version number and exit
--warn-duplicate-rpath Warn if the same -rpath is specified multiple times (default)
--warn-dylib-install-name
Warn on -install_name if -dylib is not passed
--warn-thin-archive-missing-members
Warn on missing object files referenced by thin archives (default)
MAIN EXECUTABLE:
-export_dynamic Preserve all global symbols during LTO and when dead-stripping executables
-no_pie Do not build a position independent executable
-pagezero_size <size> Size of unreadable segment at address zero is hex <size> (default is 4KB on 32-bit and 4GB on 64-bit)
-pie Build a position independent executable (default)
OBSOLETE:
-lto_library <path> Obsolete. LLD supports LTO directly, without using an external dylib.
-sectorder <segname> <sectname> <orderfile>
Obsolete. Replaced by more general -order_file option
OPTIMIZATIONS:
-dead_strip Remove unreachable functions and data
-no_deduplicate Disable code deduplication (synonym for `--icf=none')
-no_implicit_dylibs Do not optimize public dylib transitive symbol references
-order_file <file> Layout functions and data according to specification in <file>
OPTIONS:
-demangle Demangle symbol names in diagnostics
--end-lib End a grouping of objects that should be treated as if they were together in an archive
-O <value> Optimize output file size
--start-lib Start a grouping of objects that should be treated as if they were together in an archive
OUTPUT KIND:
-arch <arch_name> The architecture (e.g. ppc, ppc64, i386, x86_64)
-bundle Produce a bundle
-dylib Produce a shared library
-dynamic Link dynamically (default)
-execute Produce a main executable (default)
-o <path> The name of the output file (default: `a.out')
RARELY USED:
-adhoc_codesign Write an ad-hoc code signature to the output file (default for arm64 binaries)
-application_extension Mark output as safe for use in an application extension, and validate that linked dylibs are safe
-arch_errors_fatal Escalate to errors any warnings about inputs whose architecture does not match the -arch option
-arch_multiple Augment error and warning messages with the architecture name
-cache_path_lto <path> Use <path> as a directory for the incremental LTO cache
-data_const Force migration of readonly data into __DATA_CONST segment
-dead_strip_dylibs Remove dylibs that are unreachable by the entry point or exported symbols
-dyld_env <dyld_env_var>
Specifies a LC_DYLD_ENVIRONMENT variable value pair.
-e <symbol> Make <symbol> the entry point of an executable (default is "start" from crt1.o)
-fatal_warnings Treat warnings as errors
-final_output <name> Specify dylib install name if -install_name is not used; used by compiler driver for multiple -arch arguments
-headerpad_max_install_names
Allocate extra space so all load-command paths can expand to MAXPATHLEN via install_name_tool
-headerpad <size> Allocate hex <size> extra space for future expansion of the load commands via install_name_tool (default is 0x20)
-ignore_auto_link Ignore LC_LINKER_OPTIONs
-max_relative_cache_size_lto <percent>
Limit the incremental LTO cache growth to <percent> of free disk, space
-mcpu <value> Processor family target for LTO code generation
-mllvm <value> Options to pass to LLVM
-no_adhoc_codesign Do not write an ad-hoc code signature to the output file (default for x86_64 binaries)
-no_application_extension
Disable application extension functionality (default)
-no_data_const Block migration of readonly data away from __DATA segment
-no_dtrace_dof Disable dtrace-dof processing (default).
-no_function_starts Do not create table of function start addresses
-no_uuid Do not generate the LC_UUID load command
-objc_stubs_fast Produce larger stubs for Objective-C method calls with fewer jumps (default).
-objc_stubs_small Produce smaller stubs for Objective-C method calls with more jumps.
-object_path_lto <path> Retain any temporary mach-o file in <path> that would otherwise be deleted during LTO
-prune_after_lto <seconds>
Remove LTO cache entries after <seconds>
-prune_interval_lto <seconds>
Prune the incremental LTO cache after <seconds> (-1 disables pruning)
-rename_section <from_segment> <from_section> <to_segment> <to_section>
Rename <from_segment>/<from_section> as <to_segment>/<to_section>
-rename_segment <from_segment> <to_segment>
Rename <from_segment> as <to_segment>
-reproducible Make the output reproducible by removing timestamps and other non-deterministic data. This is the default behavior.
-sectalign <segment> <section> <boundary>
Align <section> within <segment> to hex power-of-2 <boundary>
-segprot <segment> <max> <init>
Specifies the <max> and <init> virtual memory protection of <segment> as r/w/x/-seg_addr_table path
-sub_library <name> Re-export the dylib as <name>
-sub_umbrella <name> Re-export the framework as <name>
-umbrella <name> Re-export this dylib through the umbrella framework <name>
-v Print the linker version and search paths in addition to linking
-w Suppress all warnings
SYMBOL RESOLUTION:
-alias <symbol_name> <alternate_name>
Create a symbol alias with default global visibility
-exported_symbols_list <file>
Symbols specified in <file> remain global, while others become private externs
-exported_symbol <symbol>
<symbol> remains global, while others become private externs
-flat_namespace Resolve symbols from all dylibs, both direct and transitive. Do not record source libraries: dyld must re-search at runtime and use the first definition found
-no_exported_symbols Don't export any symbols from the binary, useful for main executables that don't have plugins
-rpath <path> Add <path> to dyld search list for dylibs with load path prefix `@rpath/'
-twolevel_namespace Make dyld look up symbols by (dylib,name) pairs (default)
-undefined <treatment> Handle undefined symbols according to <treatment>: error, warning, suppress, or dynamic_lookup (default is error)
-unexported_symbols_list <file>
Global symbols specified in <file> become private externs
-unexported_symbol <symbol>
Global <symbol> becomes private extern
-U <symbol> Allow <symbol> to have no definition
-u <symbol> Require that <symbol> be defined for the link to succeed
SYMBOL TABLE:
-add_ast_path <path> AST paths will be emitted as STABS
-non_global_symbols_no_strip_list <path>
Specify in <path> the non-global symbols that should remain in the output symbol table
-non_global_symbols_strip_list <path>
Specify in <path> the non-global symbols that should be removed from the output symbol table
-oso_prefix <path> Remove the prefix <path> from OSO symbols in the debug map
-S Strip debug information (STABS or DWARF) from the output
-x Exclude non-global symbols from the output symbol table
UNDOCUMENTED:
-data_in_code_info Emit data-in-code information (default)
-encryptable Generate the LC_ENCRYPTION_INFO load command
-fixup_chains Emit chained fixups
-function_starts Create table of function start addresses (default)
-ignore_optimization_hints
Ignore Linker Optimization Hints
-init_offsets Store __TEXT segment offsets of static initializers
-no_data_in_code_info Do not emit data-in-code information
-no_encryption Do not generate the LC_ENCRYPTION_INFO load command
-no_fixup_chains Emit fixup information as classic dyld opcodes
-no_objc_relative_method_lists
Don't emit relative method lists (use traditional representation)
-objc_relative_method_lists
Emit relative method lists (more compact representation)
VERSION TARGETING:
aarch64
Logs
Click to expand
pact representation)
VERSION TARGETING:
-macos_version_min <version>
Oldest macOS version for which linked output is usable
-platform_version <platform> <min_version> <sdk_version>
Platform (e.g., macos, ios, tvos, watchos, xros, bridgeos, mac-catalyst, ios-sim, tvos-sim, watchos-sim, xros-sim, driverkit) and version numbers
LLD 19.1.5
LLD 19.1.5
OVERVIEW: LLVM Linker
USAGE: wasm-ld [options] file...
OPTIONS:
--allow-undefined-file=<value>
Allow symbols listed in <file> to be undefined in linked binary
--allow-undefined Allow undefined symbols in linked binary. This options is equivalent to --import-undefined and --unresolved-symbols=ignore-all
--Bdynamic Link against shared libraries
--Bstatic Do not link against shared libraries (default)
--Bsymbolic Bind defined symbols locally
--build-id=[fast,sha1,uuid,0x<hexstring>]
Generate build ID note
--build-id Alias for --build-id=fast
--call_shared Alias for --Bdynamic
--check-features Check feature compatibility of linked objects (default)
--color-diagnostics=[auto,always,never]
Use colors in diagnostics (default: auto)
--color-diagnostics Alias for --color-diagnostics=always
--compress-relocations Compress the relocation targets in the code section.
--demangle Demangle symbol names (default)
--dn Alias for --Bstatic
--dy Alias for --Bdynamic
--emit-relocs Generate relocations in output
--end-lib End a grouping of objects that should be treated as if they were together in an archive
--entry <entry> Name of entry point symbol
--error-limit=<value> Maximum number of errors to emit before stopping (0 = no limit)
--error-unresolved-symbols
Report unresolved symbols as errors
--experimental-pic Enable Experimental PIC
--export-all Export all symbols (normally combined with --no-gc-sections)
--export-dynamic Put symbols in the dynamic symbol table
--export-if-defined=<value>
Force a symbol to be exported, if it is defined in the input
--export-memory=<value> Export the module's memory with the passed name
--export-memory Export the module's memory with the default name of "memory"
--export-table Export function table to the environment
--export=<value> Force a symbol to be exported
--extra-features=<value>
Comma-separated list of features to add to the default set of features inferred from input objects.
-E Alias for --export-dynamic
--fatal-warnings Treat warnings as errors
--features=<value> Comma-separated used features, inferred from input objects by default.
--gc-sections Enable garbage collection of unused sections (defualt)
--global-base=<value> Memory offset at which to place global data (Defaults to 1024)
--growable-table Remove maximum size from function table, allowing table to grow
--help Print option help
--import-memory=<module>,<name>
Import the module's memory from the passed module with the passed name.
--import-memory Import the module's memory from the default module of "env" with the name "memory".
--import-table Import function table from the environment
--import-undefined Turn undefined symbols into imports where possible
--initial-heap=<value> Initial size of the heap
--initial-memory=<value>
Initial size of the linear memory
--keep-section=<value> Preserve a section even when --strip-all is given. This is useful for compiler drivers such as clang or emcc that, for example, depend on the features section for post-link processing. Can be specified multiple times to keep multiple sections
--lto-CGO<cgopt-level> Codegen optimization level for LTO
--lto-debug-pass-manager
Debug new pass manager
--lto-O<opt-level> Optimization level for LTO
--lto-partitions=<value>
Number of LTO codegen partitions
-L <dir> Add a directory to the library search path
-l <libName> Root name of library to use
--Map=<value> Print a link map to the specified file
--max-memory=<value> Maximum size of the linear memory
--merge-data-segments Enable merging data segments (default)
--mllvm=<value> Additional arguments to forward to LLVM's option processing
-M Alias for --print-map
-m <value> Set target emulation
--no-check-features Ignore feature compatibility of linked objects
--no-color-diagnostics Alias for --color-diagnostics=never
--no-demangle Do not demangle symbol names
--no-entry Do not output any entry point
--no-export-dynamic Do not put symbols in the dynamic symbol table (default)
--no-fatal-warnings Do not treat warnings as errors (default)
--no-gc-sections Disable garbage collection of unused sections
--no-growable-memory Set maximum size of the linear memory to its initial size
--no-merge-data-segments
Disable merging data segments
--no-pie Do not create a position independent executable (default)
--no-print-gc-sections Do not list removed unused sections (default)
--no-shlib-sigcheck Do not check signatures of functions defined in shared libraries.
--no-whole-archive Do not force load of all members in a static library (default)
--non_shared Alias for --Bstatic
-O <value> Optimize output file size
-o <path> Path to file to write output
--pie Create a position independent executable
--print-gc-sections List removed unused sections
--print-map Print a link map to the standard output
--relocatable Create relocatable object file
--reproduce=<value> Dump linker invocation and input files for debugging
--rsp-quoting=[posix,windows]
Quoting style for response files
--save-temps Save intermediate LTO compilation results
--shared-memory Use shared linear memory
--shared Build a shared object
--soname=<value> Set the module name in the generated name section
--stack-first Place stack at start of linear memory rather than after data
--start-lib Start a grouping of objects that should be treated as if they were together in an archive
--static Alias for --Bstatic
--strip-all Strip all symbols
--strip-debug Strip debugging information
-S Alias for --strip-debug
-s Alias for --strip-all
--table-base=<value> Table offset at which to place address taken functions (Defaults to 1)
--thinlto-cache-dir=<value>
Path to ThinLTO cached object file directory
--thinlto-cache-policy=<value>
Pruning policy for the ThinLTO cache
--thinlto-jobs=<value> Number of ThinLTO jobs. Default to --threads=
--threads=<value> Number of threads. '1' disables multi-threading. By default all available hardware threads are used
--trace-symbol=<value> Trace references to symbols
--trace Print the names of the input files
-t Alias for --trace
--undefined=<value> Force undefined symbol during linking
--unresolved-symbols=<value>
Determine how to handle unresolved symbols
--verbose Verbose mode
--version Display the version number and exit
-v Display the version number
--warn-unresolved-symbols
Report unresolved symbols as warnings
--whole-archive Force load of all members in a static library
--why-extract=<value> Print to a file about why archive members are extracted
--wrap=<symbol>=<symbol>
Use wrapper functions for symbol
-y <value> Alias for --trace-symbol
-z <option> Linker option extensions
running test pipeline for subpackage llvm-lld-19-dev
building test workspace in: '/tmp/melange-guest-84169317-llvm-lld-19-dev' with apko
setting apk repositories: [https://apk.cgr.dev/wolfi-presubmit/83337b261a23d4f293106262539e096b1e25d3d6 https://packages.wolfi.dev/os]
image configuration:
contents:
build repositories: []
runtime repositories: []
keyring: []
packages: [llvm-lld-19-dev]
installing ca-certificates-bundle (20241010-r2)
installing wolfi-baselayout (20230201-r15)
installing glibc (2.40-r3)
installing libgcc (14.2.0-r6)
installing ld-linux (2.40-r3)
installing glibc-locale-posix (2.40-r3)
installing libffi (3.4.6-r5)
installing zlib (1.3.1-r4)
installing libstdc++ (14.2.0-r6)
installing xz (5.6.3-r2)
installing libxml2 (2.13.5-r0)
installing libLLVM-19 (19.1.5-r0)
installing llvm-lld-19 (19.1.5-r0)
installing llvm-lld-19-dev (19.1.5-r0)
installing wolfi-keys (1-r8)
installing libcrypto3 (3.4.0-r3)
installing libssl3 (3.4.0-r3)
installing apk-tools (2.14.4-r1)
installing libxcrypt (4.4.36-r8)
installing libcrypt1 (2.40-r3)
installing busybox (1.37.0-r0)
installing wolfi-base (1-r6)
built image layer tarball as /tmp/apko-temp-134103211/apko-aarch64.tar.gz
using /tmp/apko-temp-134103211/apko-aarch64.tar.gz for image layer
OCI layer digest: sha256:74e22960058b45d7cb8b07ddbc7adb185709a9b6c0d682699bd47c645e5463e4
OCI layer diffID: sha256:5b76fa736a1a2fa88a0ff7f58cd762f60003050db84145535a2fd6e55ac6e851
saving OCI image locally: apko.local/cache:6881dcf737875dcebce199a55b2171a3b151229956afdd8fc18b5bab01f2d944
skipping local domain tagging apko.local/cache:6881dcf737875dcebce199a55b2171a3b151229956afdd8fc18b5bab01f2d944 as index.docker.io/library/melange:latest
ImgRef = apko.local/cache:6881dcf737875dcebce199a55b2171a3b151229956afdd8fc18b5bab01f2d944
Indexes
https://apk.cgr.dev/wolfi-presubmit/83337b261a23d4f293106262539e096b1e25d3d6
Packages
- ✅ llvm-lld-19 (success | 1m24s | x86_64 logs | aarch64 logs)
Tests
- ✅ llvm-lld-19 (success | 20s | x86_64 logs | aarch64 logs)
More Observability
Command
cg build log \
--build-id 5c1ed599-e799-474b-9c19-a374bc474aa1 \
--project prod-wolfi-os \
--cluster elastic-pre \
--namespace pre-wolfi \
--start 2024-12-08T17:48:08Z \
--end 2024-12-08T18:01:23Z \
--attrs pkg,arch
Loading