Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#64125 closed defect (fixed)

linrad @20211125-996_0+airspy+airspyhf+rtlsdr: building for macOS-arm64 but attempting to link with file built for unknown-x86_64

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: ra1nb0w
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: arm64 Cc: mascguy (Christopher Nielsen)
Port: linrad

Description

linrad fails to link on arm64 because it appears to be built for x86_64.

https://build.macports.org/builders/ports-12_arm64-builder/builds/31093/steps/install-port/logs/stdio

ld: warning: ignoring file getiq.om, building for macOS-arm64 but attempting to link with file built for unknown-x86_64
ld: warning: ignoring file fft2mmxa.om, building for macOS-arm64 but attempting to link with file built for unknown-x86_64
ld: warning: ignoring file fft2mmxb.om, building for macOS-arm64 but attempting to link with file built for unknown-x86_64
ld: warning: ignoring file fft2mmxc.om, building for macOS-arm64 but attempting to link with file built for unknown-x86_64
ld: warning: ignoring file fftasm.om, building for macOS-arm64 but attempting to link with file built for unknown-x86_64
ld: warning: ignoring file simdasm.om, building for macOS-arm64 but attempting to link with file built for unknown-x86_64
ld: warning: ignoring file split.om, building for macOS-arm64 but attempting to link with file built for unknown-x86_64
Undefined symbols for architecture arm64:
  "_compress_rawdat_disk", referenced from:
      _write_raw_file in rxin.om
  "_compress_rawdat_net", referenced from:
      _do_network_send in rxin.om
  "_expand_rawdat", referenced from:
      _raw2wav in modesub.om
      _rx_file_input in rxin.om
      _thread_rx_raw_netinput in network.om
  "_fft1back_mmx_finish", referenced from:
      _make_timf2 in timf2.om
  "_fft2_mmx_b1hi", referenced from:
      _make_fft2 in fft2.om
  "_fft2_mmx_b1low", referenced from:
      _make_fft2 in fft2.om
  "_fft2_mmx_b1med", referenced from:
      _make_fft2 in fft2.om
  "_fft2_mmx_b2hi", referenced from:
      _make_fft2 in fft2.om
  "_fft2_mmx_b2low", referenced from:
      _make_fft2 in fft2.om
  "_fft2_mmx_b2med", referenced from:
      _make_fft2 in fft2.om
  "_fft2_mmx_c1", referenced from:
      _make_fft2 in fft2.om
  "_fft2_mmx_c2", referenced from:
      _make_fft2 in fft2.om
  "_fft2mmx_a1_nowin", referenced from:
      _make_fft2 in fft2.om
  "_fft2mmx_a1_win", referenced from:
      _make_fft2 in fft2.om
  "_fft2mmx_a2_nowin", referenced from:
      _make_fft2 in fft2.om
  "_fft2mmx_a2_win", referenced from:
      _make_fft2 in fft2.om
  "_mmx_fft1back_one", referenced from:
      _make_timf2 in timf2.om
  "_mmx_fft1back_two", referenced from:
      _make_timf2 in timf2.om
  "_simdbulk_of_dual_dit", referenced from:
      _fft1_b in fft1.om
  "_split_one", referenced from:
      _make_timf2 in timf2.om
  "_split_two", referenced from:
      _make_timf2 in timf2.om
ld: symbol(s) not found for architecture arm64

Change History (3)

comment:1 Changed 3 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:2 Changed 3 years ago by Davide Gerhard <ra1nb0w@…>

Resolution: fixed
Status: assignedclosed

In 49a67b5afdd68b8a8c948a3d4f37448b939a9f23/macports-ports (master):

linrad: fix arch64 build

Closes: #64125

comment:3 Changed 3 years ago by ra1nb0w

Not fixed yet. I will try to build on arm64 machine from a friend.

Note: See TracTickets for help on using tickets.