Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ForkExec (0.12 sec)

  1. src/cmd/cgo/internal/testplugin/plugin_test.go

    }
    
    func TestForkExec(t *testing.T) {
    	// Issue 38824: importing the plugin package causes it hang in forkExec on darwin.
    	globalSkip(t)
    
    	t.Parallel()
    	goCmd(t, "build", "-o", "forkexec.exe", "./forkexec/main.go")
    
    	for i := 0; i < 100; i++ {
    		cmd := testenv.Command(t, "./forkexec.exe", "1")
    		err := cmd.Run()
    		if err != nil {
    			if ee, ok := err.(*exec.ExitError); ok && len(ee.Stderr) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/lib.go

    			// -flat_namespace is deprecated on iOS.
    			// It is useful for supporting plugins. We don't support plugins on iOS.
    			// -flat_namespace may cause the dynamic linker to hang at forkExec when
    			// resolving a lazy binding. See issue 38824.
    			// Force eager resolution to work around.
    			argv = append(argv, "-Wl,-flat_namespace", "-Wl,-bind_at_load")
    		}
    		if !combineDwarf {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
Back to top