Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for extldflags (0.21 sec)

  1. src/cmd/link/internal/ld/main.go

    )
    
    func init() {
    	flag.Var(&rpath, "r", "set the ELF dynamic linker search `path` to dir1:dir2:...")
    	flag.Var(&flagExtld, "extld", "use `linker` when linking in external mode")
    	flag.Var(&flagExtldflags, "extldflags", "pass `flags` to external linker")
    	flag.Var(&flagW, "w", "disable DWARF generation")
    }
    
    // Flags used by the linker. The exported flags are used by the architecture-specific packages.
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. src/cmd/dist/test.go

    			// This isn't actually a Go buildmode, just a convenient way to tell
    			// cgoTest we want static linking.
    			gt.buildmode = ""
    			if linkmode == "external" {
    				ldflags = append(ldflags, `-extldflags "-static -pthread"`)
    			} else if linkmode == "auto" {
    				gt.env = append(gt.env, "CGO_LDFLAGS=-static -pthread")
    			} else {
    				panic("unknown linkmode with static build: " + linkmode)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testcshared/cshared_test.go

    	if err := os.WriteFile(srcfile, []byte(prog), 0666); err != nil {
    		t.Fatal(err)
    	}
    	argv := []string{"build", "-buildmode=c-shared"}
    	if exportAllSymbols {
    		argv = append(argv, "-ldflags", "-extldflags=-Wl,--export-all-symbols")
    	}
    	argv = append(argv, "-o", objfile, srcfile)
    	out, err := exec.Command("go", argv...).CombinedOutput()
    	if err != nil {
    		t.Fatalf("build failure: %s\n%s\n", err, string(out))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 21K bytes
    - Viewed (0)
  4. Makefile.core.mk

    fmt: format-go format-python tidy-go
    
    ifeq ($(DEBUG),1)
    # gobuild script uses custom linker flag to set the variables.
    RELEASE_LDFLAGS=''
    else
    RELEASE_LDFLAGS='-extldflags -static -s -w'
    endif
    
    # List of all binaries to build
    # We split the binaries into "agent" binaries and standard ones. This corresponds to build "agent".
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jun 02 19:53:04 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/lib.go

    	// even when linking with -static, causing a linker
    	// error when using GNU ld. So take out -rdynamic if
    	// we added it. We do it in this order, rather than
    	// only adding -rdynamic later, so that -extldflags
    	// can override -rdynamic without using -static.
    	// Similarly for -Wl,--dynamic-linker.
    	checkStatic := func(arg string) {
    		if ctxt.IsELF && arg == "-static" {
    			for i := range argv {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  6. src/cmd/link/link_test.go

    	cmd.Dir = tmpdir
    
    	// Add enough arguments to push cmd/link into creating a response file.
    	var sb strings.Builder
    	sb.WriteString(`'-ldflags=all="-extldflags=`)
    	for i := 0; i < sys.ExecArgLengthLimit/len("-g"); i++ {
    		if i > 0 {
    			sb.WriteString(" ")
    		}
    		sb.WriteString("-g")
    	}
    	sb.WriteString(`"'`)
    	cmd = testenv.CleanCmdEnv(cmd)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:02 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  7. src/cmd/cgo/doc.go

    the host linker. The default value for the host linker is $CC, split
    into fields, or else "gcc". The specific host linker command line can
    be overridden using command line flags: cmd/link -extld=clang
    -extldflags='-ggdb -O3'. If any package in a build includes a .cc or
    other file compiled by the C++ compiler, the go tool will use the
    -extld option to set the host linker to the C++ compiler.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/test/integration/fixtures/server.go

    }
    
    // StartDefaultServerWithClients starts a test server and returns clients for it.
    func StartDefaultServerWithClients(t servertesting.Logger, extraFlags ...string) (func(), clientset.Interface, dynamic.Interface, error) {
    	tearDown, config, _, err := StartDefaultServer(t, extraFlags...)
    	if err != nil {
    		return nil, nil, nil, err
    	}
    
    	apiExtensionsClient, err := clientset.NewForConfig(config)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/swig/swig_test.go

    		// use of lld, which ships with our clang installation.
    		extraLDFlags := ""
    		if strings.Contains(testenv.Builder(), "clang") {
    			extraLDFlags += " -fuse-ld=lld"
    		}
    		const cflags = "-flto -Wno-lto-type-mismatch -Wno-unknown-warning-option"
    		cmd.Env = append(cmd.Environ(),
    			"CGO_CFLAGS="+cflags,
    			"CGO_CXXFLAGS="+cflags,
    			"CGO_LDFLAGS="+cflags+extraLDFlags)
    	}
    	out, err := cmd.CombinedOutput()
    	if string(out) != "OK\n" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:38:14 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. operator/pkg/manifest/shared.go

    	logger clog.Logger,
    ) (*iopv1alpha1.IstioOperator, error) {
    	extraFlags := make([]string, 0)
    	if manifestsPath != "" {
    		extraFlags = append(extraFlags, fmt.Sprintf("installPackagePath=%s", manifestsPath))
    	}
    	if revision != "" {
    		extraFlags = append(extraFlags, fmt.Sprintf("revision=%s", revision))
    	}
    	_, mergedIOP, err := OverlayYAMLStrings(profile, userIOPStr, extraFlags, false, client, logger)
    	if err != nil {
    		return nil, err
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 03 06:27:07 UTC 2024
    - 19.7K bytes
    - Viewed (0)
Back to top