Skip to content

misc/cgo/testcarchive: test consistently failing on ios-arm64-corellium #58172

Closed
@bcmills

Description

@bcmills

https://build.golang.org/log/b8d0bb75469e93ca77b9c60715c376ef30dd920d:

##### ../misc/cgo/testcarchive
--- FAIL: TestInstall (4.10s)
    carchive_test.go:463: [go tool cgo -objdir /tmp/workdir-host-ios-arm64-corellium-ios/tmp/carchive_test3668726628/_obj3085089307 -exportheader p.h p/p.go]
    carchive_test.go:465: [go install -buildmode=c-archive ./libgo]
    carchive_test.go:465: [/var/root/bin/clangwrap -fPIC -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/tmp/workdir-host-ios-arm64-corellium-ios/tmp/go-build3731191633=/tmp/go-build -gno-record-gcc-switches -fno-common -I /tmp/workdir-host-ios-arm64-corellium-ios/tmp/carchive_test3668726628/pkg/ios_arm64_shared/testcarchive -o ./testp1 main.c main_unix.c /tmp/workdir-host-ios-arm64-corellium-ios/tmp/carchive_test3668726628/pkg/ios_arm64_shared/testcarchive/libgo.a]
    carchive_test.go:465: Undefined symbols for architecture arm64:
          "_CFBundleCopyResourceURL", referenced from:
              _x_cgo_init in libgo.a(000005.o)
          "_CFBundleGetMainBundle", referenced from:
              _x_cgo_init in libgo.a(000005.o)
          "_CFBundleGetValueForInfoDictionaryKey", referenced from:
              _x_cgo_init in libgo.a(000005.o)
          "_CFRelease", referenced from:
              _x_cgo_init in libgo.a(000005.o)
          "_CFStringGetCString", referenced from:
              _x_cgo_init in libgo.a(000005.o)
          "_CFURLGetString", referenced from:
              _x_cgo_init in libgo.a(000005.o)
          "___CFConstantStringClassReference", referenced from:
              CFString in libgo.a(000005.o)
              CFString in libgo.a(000005.o)
              CFString in libgo.a(000005.o)
        ld: symbol(s) not found for architecture arm64
        Not signing file
        clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
    carchive_test.go:465: exit status 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.OS-DarwinmobileAndroid, iOS, and x/mobile

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions