https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84288

--- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot 
Uni-Bielefeld.DE> ---
> * If DejaGnu is installed into a non-system directory, dejagnu.h isn't found
>   compiling the tests.  I've hacked around this by hardcoding a matching -I
>   option in jit.exp.

  I believe this should be handled like GMPINC: gcc/configure.ac gains an
  --with-dejagnu option which ultimately sets DEJAGNUINC, that's emitted
  to site.exp in gcc/Makefile.in so gcc/testsuite/jit.dg/jit.exp can
  use it.

> * When gcc is configured with Solaris as and ld, a couple of tests FAIL like
>   this:
>
>         NOTE: test-compile-to-assembler.c.exe iteration 2 of 5: writing
> reproducer to ./test-compile-to-assembler.c.exe.reproducer.c
> ./test-compile-to-assembler.c.exe: error: in get, at cgraph.h:404
> 0xfcfd4d3a symtab_node::get(tree_node const*)
>         /vol/gcc/src/hg/trunk/local/gcc/cgraph.h:401
> 0xfcfd4d3a decl_comdat_group(tree_node const*)
>         /vol/gcc/src/hg/trunk/local/gcc/tree.c:708
> 0xfd0ce378 solaris_define_comdat_signature(comdat_entry**, void*)
>         /vol/gcc/src/hg/trunk/local/gcc/config/sol2.c:267
> 0xfd0ce6d6 void hash_table<comdat_entry_hasher,
> xcallocator>::traverse_noresize<void*,
> &(solaris_define_comdat_signature(comdat_entry**, void*))>(void*)
>         /vol/gcc/src/hg/trunk/local/gcc/hash-table.h:969
> 0xfd0ce6d6 void hash_table<comdat_entry_hasher, xcallocator>::traverse<void*,
> &(solaris_define_comdat_signature(comdat_entry**, void*))>(void*)
>         /vol/gcc/src/hg/trunk/local/gcc/hash-table.h:990
> 0xfd0ce6d6 solaris_file_end()
>         /vol/gcc/src/hg/trunk/local/gcc/config/sol2.c:291
> [...]
> FAIL: test-compile-to-assembler.c.exe: non-zero exit code: 7862 exp9 0 4
[...]
>   Haven't yet started debugging how error_mark arrives there.

  That those errors only happen during the second iteration seems to
  point at a GC issue.  In fact, there are problems here, cf. PR
  other/84379), but no solution so far.

Reply via email to