Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Zenker (1.28 sec)

  1. doc/initial/5-toolchain.md

    ## Compiler {#compiler}
    
    ## Assembler {#assembler}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 18:07:49 UTC 2024
    - 74 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/ldflag.txt

    env CGO_LDFLAGS=-Wno-such-warning -Wno-unknown-warning-option
    cd ../ok
    go build
    
    # Build a main program that actually uses LDFLAGS.
    cd ..
    go build -ldflags=-v
    
    # Because we passed -v the Go linker should print the external linker
    # command which should include the flag we passed in CGO_LDFLAGS.
    stderr no-such-warning
    
    -- go.mod --
    module ldflag
    
    -- bad/bad.go --
    package bad
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 14 14:11:56 UTC 2020
    - 762 bytes
    - Viewed (0)
  3. src/README.vendor

    imported normally and vendored by the standard library.
    
    Vendored packages are internally renamed with a "vendor/" prefix
    to preserve the invariant that all packages have distinct paths.
    This is necessary to avoid compiler and linker conflicts. Adding
    a "vendor/" prefix also maintains the invariant that standard
    library packages begin with a dotless path element.
    
    The module requirements of std and cmd do not influence version
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/build_cache_output.txt

    # Building a trivial main package should run the compiler and linker the first time.
    go build -x -gcflags=-m -ldflags='-v -w' main.go
    stderr 'compile( |\.exe"?)'
    stderr 'main.go:2.* can inline main' # from compiler
    stderr 'link(\.exe"?)? -'
    stderr '\d+ symbols' # from linker
    
    # ... but not the second, even though it still prints the compiler and linker output.
    go build -x -gcflags=-m -ldflags='-v -w' main.go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 2K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/cgo_undef.txt

    # When generating _cgo_import.go for package c fails, an ordinary
    # external link should still work. But an internal link is expected
    # to fail, because the failure to create _cgo_import.go should cause
    # the linker to report an inability to internally link.
    
    [short] skip
    [!cgo] skip
    [!exec:ar] skip
    
    cc -c -o a/b.syso b/b.c
    cc -c -o b/lib.o b/lib.c
    exec ar rc a/libb.a b/lib.o
    go build
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 22 20:56:07 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  6. doc/next/5-toolchain.md

    ## 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
    internal symbols in the standard library (including the runtime) that
    are not marked with `//go:linkname` on their definitions.
    Similarly, the linker disallows references to such symbols from assembly
    code.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:18:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/linkname.txt

    env GO111MODULE=off
    
    # check for linker name in error message about linker crash
    [!compiler:gc] skip
    ! go build -ldflags=-crash_for_testing x.go
    stderr [\\/]tool[\\/].*[\\/]link
    
    -- x.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 219 bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/cgo_suspect_flag_force_external.txt

    [short] skip
    
    # In the remaining tests below we do actual builds (without -n) to
    # verify that the Go linker is going the right thing in addition to the
    # Go command. Here the idea is to pass "-tmpdir" to the linker, then
    # check after the link is done for the presence of the file
    # <tmpdir>/go.o, which the Go linker creates prior to kicking off the
    # external linker.
    
    mkdir tmp1
    mkdir tmp2
    mkdir tmp3
    mkdir tmp4
    mkdir tmp5
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 25 18:16:01 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/list_find_nodeps.txt

    # Issue #46092
    # go list -find should always return a package with an empty Deps list
    
    # The linker loads implicit dependencies
    go list -find -f {{.Deps}} ./cmd
    stdout '\[\]'
    
    # Cgo translation may add imports of "unsafe", "runtime/cgo" and "syscall"
    go list -find -f {{.Deps}} ./cgo
    stdout '\[\]'
    
    # SWIG adds imports of some standard packages
    go list -find -f {{.Deps}} ./swig
    stdout '\[\]'
    
    -- go.mod --
    module listfind
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 12 14:43:27 UTC 2021
    - 737 bytes
    - Viewed (0)
  10. 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)
Back to top