whizard is hosted by Hepforge, IPPP Durham

Opened 12 years ago

Closed 12 years ago

#475 closed defect (fixed)

Test suite failure with 4.8.0 svn in 2 tests

Reported by: Juergen Reuter Owned by: kilian
Priority: P1 Milestone: v2.2.0
Component: core Version: 2.1.1
Severity: major Keywords:
Cc:

Description

The two tests qedtest.run and static.run fail, both for the same reason:

Undefined symbols for architecture x86_64:
  "___diagnostics_MOD_int2fixed", referenced from:
      ___analysis_MOD_graph_get_header in libwhizard.a(analysis.o)
      ___analysis_MOD_plot_get_header in libwhizard.a(analysis.o)
      ___analysis_MOD_histogram_get_header in libwhizard.a(analysis.o)
      ___blha_config_MOD_blha_configuration_write in libwhizard.a(blha_config.o)
      ___commands_MOD_cmd_un_polarized_compile in libwhizard.a(commands.o)
      ___commands_MOD_cmd_beam_polarization_execute in libwhizard.a(commands.o)
      ___expressions_MOD_pow_ii in libwhizard.a(expressions.o)
      ...
  "___diagnostics_MOD_real2fixed", referenced from:
      ___analysis_MOD_histogram_write_gml_reader in libwhizard.a(analysis.o)
      ___beam_polarizations_MOD_beam_polarization_write in libwhizard.a(beam_polarizations.o)
      ___nlo_setup_MOD_nlo_setup_write in libwhizard.a(nlo_setup.o)
      ___dipoles_integrated_qed_MOD_dipole_integrated_qed_write in libwhizard.a(dipoles_integrated_qed.o)
      ___photon_recombination_MOD_photon_recombination_write in libwhizard.a(photon_recombination.o)
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status

and

###############################################################################
# Observable: a_fb
average     = -0.20000000    
error[abs]  =  0.32659863    
error[rel]  =  -1.6329932    
n_entries   =           10
$out_file = "qedtest.dat"
 calling file_list_open from cmd_write_analysis_execute
| Writing analysis data to file 'qedtest.dat'
dyld: lazy symbol binding failed: Symbol not found: ___diagnostics_MOD_real2fixed
  Referenced from: /Users/reuter/local/packages/whizard/trunk/build/src/.libs/libwhizard.0.dylib
  Expected in: flat namespace

dyld: Symbol not found: ___diagnostics_MOD_real2fixed
  Referenced from: /Users/reuter/local/packages/whizard/trunk/build/src/.libs/libwhizard.0.dylib
  Expected in: flat namespace


Program received signal SIGTRAP: Trace/breakpoint trap.

Backtrace for this error:
#0  0x17dd8455e
#1  0x17dd84d12
#2  0x7fff90ee2cf9
/Users/reuter/local/packages/whizard/trunk/build/test/run_whizard.sh: line 24: 94639 Trace/BPT trap: 5       ../src/whizard --logfile $basename.log --library lib$libname --rebuild $* $script.sin

Change History (2)

comment:1 Changed 12 years ago by Juergen Reuter

Just checked: with gcc 4.7.2 this error does not occur (?). Any ideas?

comment:2 Changed 12 years ago by Juergen Reuter

Resolution: fixed
Status: newclosed

This was a trivial one: CS forgot to declare the two functions int2fixed and real2fixed as public. gcc 4.6 and 4.7 were fine with this, gcc 4.8 correctly stumbled over it. Done in r3994.

Note: See TracTickets for help on using tickets.