Giter VIP home page Giter VIP logo

Comments (3)

Inokinoki avatar Inokinoki commented on June 21, 2024

Link error:

Undefined symbols for architecture arm64:
  "___firehose_buffer_tracepoint_flush", referenced from:
      __firehose_trace in justlto.o
  "___firehose_kernel_configuration_valid", referenced from:
      _oslog_init in justlto.o
  "___firehose_buffer_create", referenced from:
      _oslog_init in justlto.o
  "_ml_enable_monitor", referenced from:
      _arm_vm_init in justlto.o
  "___firehose_buffer_tracepoint_reserve", referenced from:
      __firehose_trace in justlto.o
  "___firehose_merge_updates", referenced from:
      _oslogioctl in justlto.o
  "_pmap_cs_allow_invalid", referenced from:
      _vm_map_cs_wx_enable in justlto.o
ld: symbol(s) not found for architecture arm64

More errors, which means that our libdispatch/sth else is ARM64

from xnu-bcm2837-hackintosh.

Inokinoki avatar Inokinoki commented on June 21, 2024

Need to re-build libdisptach, etc for ARM64, not ARM64e

ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/local/lib/kernel/libfirehose_kernel.a, building for macOS-arm64 but attempting to link with file built for macOS-arm64e
Undefined symbols for architecture arm64:
  "___firehose_buffer_tracepoint_flush", referenced from:
      __firehose_trace in justlto.o
  "___firehose_buffer_tracepoint_reserve", referenced from:
      __firehose_trace in justlto.o
  "___firehose_merge_updates", referenced from:
      _oslogioctl in justlto.o
  "___firehose_kernel_configuration_valid", referenced from:
      _oslog_init in justlto.o
  "___firehose_buffer_create", referenced from:
      _oslog_init in justlto.o
ld: symbol(s) not found for architecture arm64

from xnu-bcm2837-hackintosh.

Inokinoki avatar Inokinoki commented on June 21, 2024

Need to re-build libdisptach, etc for ARM64, not ARM64e

ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/local/lib/kernel/libfirehose_kernel.a, building for macOS-arm64 but attempting to link with file built for macOS-arm64e
Undefined symbols for architecture arm64:
  "___firehose_buffer_tracepoint_flush", referenced from:
      __firehose_trace in justlto.o
  "___firehose_buffer_tracepoint_reserve", referenced from:
      __firehose_trace in justlto.o
  "___firehose_merge_updates", referenced from:
      _oslogioctl in justlto.o
  "___firehose_kernel_configuration_valid", referenced from:
      _oslog_init in justlto.o
  "___firehose_buffer_create", referenced from:
      _oslog_init in justlto.o
ld: symbol(s) not found for architecture arm64

Done by:

xcodebuild install -sdk macosx ARCHS=arm64 VALID_ARCHS=arm64 -target libfirehose_kernel PRODUCT_NAME=firehose_kern DSTROOT=$PWD/dst

from xnu-bcm2837-hackintosh.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.