Segmentation faul when building R13B on FreeBSD 4.11 with gcc 2.95.4

Akira Kitada <>
Sat May 30 18:51:18 CEST 2009


Hi,

I got the following error when compiling R13B on FreeBSD 4.11 with gcc  2.95.4.

"""
gmake[4]: Leaving directory `/usr/home/build/dev/otp_src_R13B/erts/etc/common'
gmake[3]: Leaving directory `/usr/home/build/dev/otp_src_R13B/erts/etc/common'
gmake[2]: Leaving directory `/usr/home/build/dev/otp_src_R13B/erts/etc'
gmake[2]: Entering directory `/usr/home/build/dev/otp_src_R13B/erts/epmd'
gmake[3]: Entering directory `/usr/home/build/dev/otp_src_R13B/erts/epmd/src'
gmake -f i386-unknown-freebsd4.11/Makefile TYPE=opt
gmake[4]: Entering directory `/usr/home/build/dev/otp_src_R13B/erts/epmd/src'
gcc -g -O2 -I/usr/home/build/dev/otp_src_R13B/erts/i386-unknown-freebsd4.11
  -DHAVE_CONFIG_H -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes
-DEPMD_PORT_NO=4369 -o
/usr/home/build/dev/otp_src_R13B/erts/obj/i386-unknown-freebsd4.11/epmd.o
-c epmd.c
gcc -g -O2 -I/usr/home/build/dev/otp_src_R13B/erts/i386-unknown-freebsd4.11
  -DHAVE_CONFIG_H -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes
-DEPMD_PORT_NO=4369 -o
/usr/home/build/dev/otp_src_R13B/erts/obj/i386-unknown-freebsd4.11/epmd_cli.o
-c epmd_cli.c
gcc -g -O2 -I/usr/home/build/dev/otp_src_R13B/erts/i386-unknown-freebsd4.11
  -DHAVE_CONFIG_H -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes
-DEPMD_PORT_NO=4369 -o
/usr/home/build/dev/otp_src_R13B/erts/obj/i386-unknown-freebsd4.11/epmd_srv.o
-c epmd_srv.c
gcc  -o /usr/home/build/dev/otp_src_R13B/bin/i386-unknown-freebsd4.11/epmd
/usr/home/build/dev/otp_src_R13B/erts/obj/i386-unknown-freebsd4.11/epmd.o
/usr/home/build/dev/otp_src_R13B/erts/obj/i386-unknown-freebsd4.11/epmd_cli.o
/usr/home/build/dev/otp_src_R13B/erts/obj/i386-unknown-freebsd4.11/epmd_srv.o
 -lutil -lm
gmake[4]: Leaving directory `/usr/home/build/dev/otp_src_R13B/erts/epmd/src'
gmake[3]: Leaving directory `/usr/home/build/dev/otp_src_R13B/erts/epmd/src'
gmake[2]: Leaving directory `/usr/home/build/dev/otp_src_R13B/erts/epmd'
gmake[2]: Entering directory `/usr/home/build/dev/otp_src_R13B/erts/lib_src'
gmake -f i386-unknown-freebsd4.11/Makefile TYPE=opt
gmake[3]: Entering directory `/usr/home/build/dev/otp_src_R13B/erts/lib_src'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/usr/home/build/dev/otp_src_R13B/erts/lib_src'
gmake[2]: Leaving directory `/usr/home/build/dev/otp_src_R13B/erts/lib_src'
gmake[1]: Leaving directory `/usr/home/build/dev/otp_src_R13B/erts'
cd lib && \
         ERL_TOP=/usr/home/build/dev/otp_src_R13B
PATH=/usr/home/build/dev/otp_src_R13B/bootstrap/bin:${PATH} \
               gmake opt SECONDARY_BOOTSTRAP=true
gmake[1]: Entering directory `/usr/home/build/dev/otp_src_R13B/lib'
gmake[2]: Entering directory `/usr/home/build/dev/otp_src_R13B/lib/parsetools'
=== Entering application parsetools
gmake[3]: Entering directory
`/usr/home/build/dev/otp_src_R13B/lib/parsetools/src'
erlc -W  +debug_info +warn_obsolete_guard
-I/usr/home/build/dev/otp_src_R13B/lib/stdlib/include -o../ebin
yecc.erl
gmake[3]: *** [../ebin/yecc.beam] Segmentation fault (core dumped)
gmake[3]: Leaving directory
`/usr/home/build/dev/otp_src_R13B/lib/parsetools/src'
gmake[2]: *** [opt] Error 2
gmake[2]: Leaving directory `/usr/home/build/dev/otp_src_R13B/lib/parsetools'
gmake[1]: *** [opt] Error 2
gmake[1]: Leaving directory `/usr/home/build/dev/otp_src_R13B/lib'
gmake: *** [secondary_bootstrap_build] Error 2
"""

You can reproduce this simply by doing "./configure && gmake".
Note that I do not get this error when building R12B5 on the same environment.

Best regards


More information about the erlang-bugs mailing list