Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Gcflags (0.17 sec)

  1. src/net/netip/inlining_test.go

    	"regexp"
    	"runtime"
    	"strings"
    	"testing"
    )
    
    func TestInlining(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	t.Parallel()
    	out, err := exec.Command(
    		testenv.GoToolPath(t),
    		"build",
    		"--gcflags=-m",
    		"net/netip").CombinedOutput()
    	if err != nil {
    		t.Fatalf("go build: %v, %s", err, out)
    	}
    	got := map[string]bool{}
    	regexp.MustCompile(` can inline (\S+)`).ReplaceAllFunc(out, func(match []byte) []byte {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. doc/next/5-toolchain.md

    a cost of an additional 0.1% text and binary size.  This is currently only implemented
    on 386 and amd64 because it has not shown an improvement on other platforms.
    Hot block alignment can be disabled with `-gcflags=[<packages>=]-d=alignhot=0`
    
    ## Assembler {#assembler}
    
    ## Linker {#linker}
    
    <!-- go.dev/issue/67401, CL 585556, CL 587220, and many more -->
    The linker now disallows using a `//go:linkname` directive to refer to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:18:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. hack/lib/golang.sh

      V=3 kube::log::info "Building binaries with GCFLAGS=${gogcflags} LDFLAGS=${goldflags}"
    
      local -a build_args
      if [[ "${#statics[@]}" != 0 ]]; then
        build_args=(
          -installsuffix=static
          ${goflags:+"${goflags[@]}"}
          -gcflags="${gogcflags}"
          -ldflags="${goldflags}"
          -tags="${gotags:-}"
        )
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 16:43:08 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  4. Makefile.core.mk

    ${TARGET_OUT}/release/istioctl-linux-amd64:
    	GOOS=linux GOARCH=amd64 LDFLAGS=$(RELEASE_LDFLAGS) common/scripts/gobuild.sh $@ ./istioctl/cmd/istioctl
    ${TARGET_OUT}/release/istioctl-linux-armv7:
    	GOOS=linux GOARCH=arm GOARM=7 LDFLAGS=$(RELEASE_LDFLAGS) common/scripts/gobuild.sh $@ ./istioctl/cmd/istioctl
    ${TARGET_OUT}/release/istioctl-linux-arm64:
    	GOOS=linux GOARCH=arm64 LDFLAGS=$(RELEASE_LDFLAGS) common/scripts/gobuild.sh $@ ./istioctl/cmd/istioctl
    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/go/alldocs.go

    //
    //	    // Cgo directives
    //	    CgoCFLAGS    []string // cgo: flags for C compiler
    //	    CgoCPPFLAGS  []string // cgo: flags for C preprocessor
    //	    CgoCXXFLAGS  []string // cgo: flags for C++ compiler
    //	    CgoFFLAGS    []string // cgo: flags for Fortran compiler
    //	    CgoLDFLAGS   []string // cgo: flags for linker
    //	    CgoPkgConfig []string // cgo: pkg-config names
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  6. src/cmd/go/internal/work/exec.go

    	}
    	return args
    }
    
    // CFlags returns the flags to use when invoking the C, C++ or Fortran compilers, or cgo.
    func (b *Builder) CFlags(p *load.Package) (cppflags, cflags, cxxflags, fflags, ldflags []string, err error) {
    	if cppflags, err = buildFlags("CPPFLAGS", "", p.CgoCPPFLAGS, checkCompilerFlags); err != nil {
    		return
    	}
    	if cflags, err = buildFlags("CFLAGS", DefaultCFlags, p.CgoCFLAGS, checkCompilerFlags); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh

    ) >_const.go
    
    # Pull out the error names for later.
    errors=$(
    	echo '#include <errno.h>' | $CC -x c - -E -dM $ccflags |
    	awk '$1=="#define" && $2 ~ /^E[A-Z0-9_]+$/ { print $2 }' |
    	sort
    )
    
    # Pull out the signal names for later.
    signals=$(
    	echo '#include <signal.h>' | $CC -x c - -E -dM $ccflags |
    	awk '$1=="#define" && $2 ~ /^SIG[A-Z0-9]+$/ { print $2 }' |
    	grep -v 'SIGSTKSIZE\|SIGSTKSZ\|SIGRT\|SIGMAX64' |
    	sort
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  8. build/root/Makefile

    .EXPORT_ALL_VARIABLES:
    OUT_DIR ?= _output
    BIN_DIR := $(OUT_DIR)/bin
    
    ifdef KUBE_GOFLAGS
    $(info KUBE_GOFLAGS is now deprecated. Please use GOFLAGS instead.)
    ifndef GOFLAGS
    GOFLAGS := $(KUBE_GOFLAGS)
    unexport KUBE_GOFLAGS
    else
    $(error Both KUBE_GOFLAGS and GOFLAGS are set. Please use just GOFLAGS)
    endif
    endif
    
    # This controls the verbosity of the build.  Higher numbers mean more output.
    KUBE_VERBOSE ?= 1
    
    define ALL_HELP_INFO
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 16:43:08 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testsanitizers/libfuzzer_test.go

    			// build C code (if any) and link with Go code
    			cmd, err := cc(config.cFlags...)
    			if err != nil {
    				t.Fatalf("error running cc: %v", err)
    			}
    			cmd.Args = append(cmd.Args, config.ldFlags...)
    			cmd.Args = append(cmd.Args, "-o", outPath, "-I", dir.Base())
    			if tc.cSrc != "" {
    				cmd.Args = append(cmd.Args, srcPath(tc.cSrc))
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 00:12:03 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. build/common.sh

        --env "KUBE_STATIC_OVERRIDES=' ${KUBE_STATIC_OVERRIDES[*]:-} '"
        --env "FORCE_HOST_GO=${FORCE_HOST_GO:-}"
        --env "GO_VERSION=${GO_VERSION:-}"
        --env "GOTOOLCHAIN=${GOTOOLCHAIN:-}"
        --env "GOFLAGS=${GOFLAGS:-}"
        --env "GOGCFLAGS=${GOGCFLAGS:-}"
        --env "SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH:-}"
      )
    
      # use GOLDFLAGS only if it is set explicitly.
      if [[ -v GOLDFLAGS ]]; then
        docker_run_opts+=(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 26.5K bytes
    - Viewed (0)
Back to top