Port-amiga archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: More toolchain issues



frank%phoenix.owl.de@localhost (Frank Wille) writes:

>For me, on my A3k + CSPPC/060-50/128MB + CV64, the problem is 100%
>reproduceable by either:

I just tried this on an emulated system (looks like an A1200 with a 040
and 128MB RAM) running 5.99.18.

>- compiling pkgsrc/sysutils/fam
>  (the freeze happens during compiling the first one or two files)

No problem to build.

Information for fam-2.7.0nb9:

Files:
/usr/pkg/include/fam.h
/usr/pkg/lib/libfam.la
/usr/pkg/lib/libfam.a
/usr/pkg/lib/libfam.so
/usr/pkg/lib/libfam.so.0
/usr/pkg/lib/libfam.so.0.0.0
/usr/pkg/man/man3/fam.3
/usr/pkg/man/man5/famd.conf.5
/usr/pkg/man/man8/famd.8
/usr/pkg/sbin/famd
/usr/pkg/share/examples/fam/fam.conf
/usr/pkg/share/examples/rc.d/famd

>- running "nmap -A -T4 <addr>" segfaults in a jemalloc function after
>  a few seconds
>  (nmap was compiled with phk-alloc here, to make it work. I have to
>   check if also an nmap compiled with 4.0 or older produces the same
>   effect.)

nmap depends on pcre. Building pcre failed with

c++ -DHAVE_CONFIG_H -I.      -O2 -MT pcrecpp_unittest.o -MD -MP -MF 
.deps/pcrecpp_unittest.Tpo -c -o pcrecpp_unittest.o pcrecpp_unittest.cc
pcrecpp_unittest.cc: In function 'int main(int, char**)':
pcrecpp_unittest.cc:1276: internal compiler error: Segmentation fault

The system is still running, the failed cc1plus process churns CPU at 100%.
An attached gdb shows:

(gdb) where
#0  0x0848f8a4 in ?? ()
#1  0x08427a80 in exit () from /usr/lib/libc.so.12
#2  0x002c650c in fancy_abort ()
#3  0x002c62ae in diagnostic_report_diagnostic ()
#4  0x002c6442 in internal_error ()
#5  0x0012c310 in wrapup_global_declaration_1 ()
#6  0x083f58b0 in opendir () from /usr/lib/libc.so.12
#7  0x001b7e96 in can_copy_p ()
#8  0x001b8bee in gcse_main ()
#9  0x001b960c in gcse_main ()
#10 0x000c7ca8 in rest_of_type_compilation ()
#11 0x000c7dc4 in execute_pass_list ()
#12 0x000c7dd8 in execute_pass_list ()
#13 0x001095d8 in tree_rest_of_compilation ()
#14 0x0006d970 in expand_body ()
#15 0x000b71a6 in cgraph_preserve_function_body_p ()
#16 0x000b7f7c in cgraph_optimize ()
#17 0x0003deac in cp_finish_file ()
#18 0x00003de4 in finish_file ()
#19 0x000abb3e in c_common_parse_file ()
#20 0x0012d482 in toplev_main ()
#21 0x000b45b6 in main ()

This might be still a problem of the emulation..

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index