Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 453 for syso (0.1 sec)

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

    # Test that syso in deps is available to cgo.
    
    [!compiler:gc] skip 'requires syso support'
    [!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/x.syso syso/x.c
    cc -c -o syso2/x.syso syso2/x.c
    go build m/cgo
    
    -- go.mod --
    module m
    
    go 1.18
    -- cgo/x.go --
    package cgo
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 742 bytes
    - Viewed (0)
  2. src/crypto/internal/boring/build.sh

    esac
    
    docker build $platform $buildargs --build-arg GOARCH=$GOARCH -t goboring:$GOARCH .
    id=$(docker create $platform goboring:$GOARCH)
    docker cp $id:/boring/godriver/goboringcrypto_linux_$GOARCH.syso ./syso
    docker rm $id
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. src/runtime/race/mkcgo.sh

    // Code generated by mkcgo.sh. DO NOT EDIT.
    
    //go:build race
    
    '
    
    convert() {
    	(echo "$hdr"; go tool cgo -dynpackage race -dynimport $1) | gofmt
    }
    
    convert race_darwin_arm64.syso >race_darwin_arm64.go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 21:38:55 UTC 2022
    - 444 bytes
    - Viewed (0)
  4. src/crypto/internal/boring/README.md

    ---
    
    This directory holds the core of the BoringCrypto implementation
    as well as the build scripts for the module itself: syso/*.syso.
    
    syso/goboringcrypto_linux_amd64.syso is built with:
    
    	GOARCH=amd64 ./build.sh
    
    syso/goboringcrypto_linux_arm64.syso is built with:
    
    	GOARCH=arm64 ./build.sh
    
    Both run on an x86 Debian Linux system using Docker.
    For the arm64 build to run on an x86 system, you need
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. src/cmd/link/testdata/pe-llvm/main.go

    //
    // rsrc.syso is created using llvm with:
    //    {i686,x86_64,armv7,arm64}-w64-mingw32-windres -i a.rc -o rsrc_$GOARCH.syso -O coff
    // where this windres calls into llvm-rc and llvm-cvtres. The source file,
    // a.rc, simply contains a reference to its own bytes:
    //
    //    resname RCDATA a.rc
    //
    // Object dumping the resultant rsrc.syso, we can see the split sections and
    // the @feat.00 SEH symbol:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 26 18:15:09 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  6. src/runtime/race/race.go

    // this in turn ensures that runtime uses pthread_create to create threads.
    // The prebuilt race runtime lives in race_GOOS_GOARCH.syso.
    // Calls to the runtime are done directly from src/runtime/race.go.
    
    // On darwin we always use system DLLs to create threads,
    // so we use race_darwin_$GOARCH.go to provide the syso-derived
    // symbol information without needing to invoke cgo.
    // This allows -race to be used on Mac systems without a C toolchain.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 21:38:55 UTC 2022
    - 868 bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/cgo_syso_issue29253.txt

    env GO111MODULE=off
    [short] skip
    
    # This test tests that we can link in-package syso files that provides symbols
    # for cgo. See issue 29253.
    [!cgo] stop
    [!compiler:gc] stop
    cc -c -o pkg/o.syso ext.c
    go build main.go
    
    -- ext.c --
    // +build ignore
    
    int f() { return 42; }
    -- pkg/pkg.go --
    package pkg
    
    // extern int f(void);
    import "C"
    
    func init() {
    	if v := C.f(); v != 42 {
    		panic(v)
    	}
    }
    -- main.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 450 bytes
    - Viewed (0)
  8. src/cmd/link/testdata/pe-binutils/main.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test that a PE rsrc section is handled correctly (issue 39658).
    //
    // rsrc.syso is created using binutils with:
    //	{x86_64,i686}-w64-mingw32-windres -i a.rc -o rsrc_$GOARCH.syso -O coff
    // where a.rc is a text file with the following content:
    //
    // resname RCDATA {
    //   "Hello Gophers!\0",
    //   "This is a test.\0",
    // }
    
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 26 18:15:09 UTC 2021
    - 515 bytes
    - Viewed (0)
  9. src/runtime/race/syso_test.go

    //go:build race
    
    package race
    
    import (
    	"bytes"
    	"os/exec"
    	"path/filepath"
    	"runtime"
    	"testing"
    )
    
    func TestIssue37485(t *testing.T) {
    	files, err := filepath.Glob("./*.syso")
    	if err != nil {
    		t.Fatalf("can't find syso files: %s", err)
    	}
    	for _, f := range files {
    		cmd := exec.Command(filepath.Join(runtime.GOROOT(), "bin", "go"), "tool", "nm", f)
    		res, err := cmd.CombinedOutput()
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 725 bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/cgo_undef.txt

    # Issue 52863.
    
    # We manually create a .syso and a .a file in package a,
    # such that the .syso file only works when linked against the .a file.
    # Package a has #cgo LDFLAGS to make this happen.
    #
    # Package c imports package a, and uses cgo itself.
    # The generation of the _cgo_import.go for package c will fail,
    # because it won't know that it has to link against a/libb.a
    # (because we don't gather the #cgo LDFLAGS from all transitively
    # imported packages).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 22 20:56:07 UTC 2022
    - 1.6K bytes
    - Viewed (0)
Back to top