Ticket #235 (closed defect: fixed)

Opened 5 months ago

Last modified 3 months ago

Engine test suite fails to build

Reported by: max Owned by: jwharington
Priority: low Milestone: XCSoar 6.0
Component: Airfield Version:
Keywords: Cc:

Description

When you build XCSoar right before building the engine test suite, the build fails:

LINK output/UNIX/bin/test_replay

/usr/bin/ld: output/UNIX/harness.a(test_debug.o): in function distance_counts():test/src/test_debug.cpp:40: error: undefined reference to 'count_distbearing'
/usr/bin/ld: output/UNIX/harness.a(test_debug.o): in function distance_counts():test/src/test_debug.cpp:41: error: undefined reference to 'count_mc'
/usr/bin/ld: output/UNIX/harness.a(test_debug.o): in function distance_counts():test/src/test_debug.cpp:42: error: undefined reference to 'n_queries'
/usr/bin/ld: output/UNIX/harness.a(test_debug.o): in function distance_counts():test/src/test_debug.cpp:43: error: undefined reference to 'n_queries'
/usr/bin/ld: output/UNIX/harness.a(test_debug.o): in function distance_counts():test/src/test_debug.cpp:44: error: undefined reference to 'n_queries'
/usr/bin/ld: output/UNIX/harness.a(test_debug.o): in function distance_counts():test/src/test_debug.cpp:61: error: undefined reference to 'n_queries'
/usr/bin/ld: output/UNIX/harness.a(test_debug.o): in function distance_counts():test/src/test_debug.cpp:62: error: undefined reference to 'count_distbearing'
/usr/bin/ld: output/UNIX/harness.a(test_debug.o): in function distance_counts():test/src/test_debug.cpp:63: error: undefined reference to 'count_mc'
collect2: ld returned 1 exit status
make: *** [output/UNIX/bin/test_replay] Error 1

Change History

Changed 3 months ago by max

  • priority changed from high to low

This happens because the "test engine" is not ABI compatible with the "real engine" (built with different CPP parameters). Decreasing priority, but we should eventually do this properly.

Changed 3 months ago by Turbo

  • owner changed from jwharington@… to jwharington
  • status changed from new to assigned

Changed 3 months ago by jwharington

  • status changed from assigned to closed
  • resolution set to fixed

retain globals now so ABI compatible.

Note: See TracTickets for help on using tickets.