Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 283 for linking (0.21 sec)

  1. src/cmd/go/testdata/script/link_external_undef.txt

    # Test case for issue 47993, in which the linker crashes
    # on a bad input instead of issuing an error and exiting.
    
    # This test requires external linking, so use cgo as a proxy 
    [!cgo] skip
    
    ! go build -ldflags='-linkmode=external' .
    ! stderr 'panic'
    stderr '^.*undefined symbol in relocation.*'
    
    -- go.mod --
    
    module issue47993
    
    go 1.16
    
    -- main.go --
    
    package main
    
    type M struct {
    	b bool
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 21 18:44:09 UTC 2023
    - 806 bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/execarchive.go

    	"path/filepath"
    	"syscall"
    )
    
    const syscallExecSupported = true
    
    // execArchive invokes the archiver tool with syscall.Exec(), with
    // the expectation that this is the last thing that takes place
    // in the linking operation.
    func (ctxt *Link) execArchive(argv []string) {
    	var err error
    	argv0 := argv[0]
    	if filepath.Base(argv0) == argv0 {
    		argv0, err = exec.LookPath(argv0)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 876 bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/outbuf_mmap.go

    		out.munmap()
    	}
    
    	for {
    		if err = out.fallocate(filesize); err != syscall.EINTR {
    			break
    		}
    	}
    	if err != nil {
    		// Some file systems do not support fallocate. We ignore that error as linking
    		// can still take place, but you might SIGBUS when you write to the mmapped
    		// area.
    		if err != syscall.ENOTSUP && err != syscall.EPERM && err != errNoFallocate {
    			return err
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:20:31 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. src/runtime/rt0_linux_ppc64.s

    	// argv as argc string pointers followed by a NULL, envv as a
    	// sequence of string pointers followed by a NULL, and auxv.
    	// There is no TLS base pointer.
    	//
    	// TODO(austin): Support ABI v1 dynamic linking entry point
    	XOR	R0, R0 // Note, newer kernels may not always set R0 to 0.
    	MOVD	$runtime·rt0_go(SB), R12
    	MOVD	R12, CTR
    	MOVBZ	runtime·iscgo(SB), R5
    	CMP	R5, $0
    	BEQ	nocgo
    	BR	(CTR)
    nocgo:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 22:20:51 UTC 2023
    - 847 bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/link_syso_issue33139.txt

    # embedded in a package, that is referenced by a Go assembly function.
    # See issue 33139.
    
    [!compiler:gc] skip
    [!cgo] skip
    [short] skip 'invokes system C compiler'
    
    # External linking is not supported on linux/ppc64.
    # See: https://github.com/golang/go/issues/8912
    [GOOS:linux] [GOARCH:ppc64] skip
    
    cc -c -o syso/objTestImpl.syso syso/src/objTestImpl.c
    go build -ldflags='-linkmode=external' ./cmd/main.go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 1K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/next_pluggable_device/BUILD

            "@local_xla//xla/pjrt/c:pjrt_c_api_helpers",
            "@local_xla//xla/tsl/distributed_runtime/coordination:coordination_service_agent",
        ],
    )
    
    # Plugin should include this target to avoid linking the C API implementation.
    cc_library(
        name = "c_api_hdrs",
        hdrs = ["c_api.h"],
        visibility = ["//visibility:public"],
        deps = [
            "//tensorflow/c:c_api_macros_hdrs",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 23:52:39 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. platforms/native/platform-native/build.gradle.kts

    plugins {
        id("gradlebuild.distribution.api-java")
    }
    
    description = "Plugins, tasks and compiler infrastructure for compiling/linking code"
    
    errorprone {
        disabledChecks.addAll(
            "DefaultCharset", // 2 occurrences
            "EqualsUnsafeCast", // 1 occurrences
            "GetClassOnClass", // 1 occurrences
            "HidingField", // 1 occurrences
            "ImmutableEnumChecker", // 2 occurrences
            "ReferenceEquality", // 2 occurrences
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/tasks/AbstractLinkTask.java

    import org.gradle.nativeplatform.toolchain.internal.PlatformToolProvider;
    import org.gradle.work.DisableCachingByDefault;
    
    import javax.inject.Inject;
    
    /**
     * Base task for linking a native binary from object files and libraries.
     */
    @DisableCachingByDefault(because = "Abstract super-class, not to be instantiated directly")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/gcc/GccLinker.java

        @Override
        protected Action<BuildOperationQueue<CommandLineToolInvocation>> newInvocationAction(final LinkerSpec spec, List<String> args) {
            final CommandLineToolInvocation invocation = newInvocation(
                "linking " + spec.getOutputFile().getName(), args, spec.getOperationLogger());
    
            return new Action<BuildOperationQueue<CommandLineToolInvocation>>() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/swift/SwiftLinker.java

        @Override
        protected Action<BuildOperationQueue<CommandLineToolInvocation>> newInvocationAction(final LinkerSpec spec, List<String> args) {
            final CommandLineToolInvocation invocation = newInvocation(
                "linking " + spec.getOutputFile().getName(), spec.getOutputFile().getParentFile(), args, spec.getOperationLogger());
    
            return new Action<BuildOperationQueue<CommandLineToolInvocation>>() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top