[M3devel] minimal binary d5.5.0 fails on Ubuntu 7.10
Mika Nystrom
mika at async.caltech.edu
Thu Jan 24 15:41:50 CET 2008
I think this is the broken cm3.cfg .
Search for -g in cm3.cfg and replace it with -gstabs+
This thing bites a lot! I think it got me twice to the extent that
I had to ask this mailing list. Several other times that it had
me scratching my head and then thinking "oh it's that cm3.cfg thing
again..."
cm3.cfg in general is pretty weird. I know the compiler looks
in at least two places for it. (Undocumented behavior.)
Mika
Neels Janosch Hofmeyr writes:
>This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
>--------------enigBBB9AF364E0AAD943688858C
>Content-Type: text/plain; charset=UTF-8; format=flowed
>Content-Transfer-Encoding: quoted-printable
>
>Hello m3-support and m3devel,
>
>I tried to bootstrap cm3 on Ubuntu 7.10 using the newer d5.5.0 binaries. =
>
>Upon running
> cd scripts
> ./do-cm3-core.sh buildship
>
>I got a series of errors, ending in a segmentation fault. I am now going =
>
>back to the 5.4.0 minimal binary. For interest, find the error output bel=
>ow.
>
>Regards,
>Neels
>
>
>neels at oubantu:~/cm3-build/scripts
>$ ./do-cm3-core.sh buildship
>CM3C =3D
>/home/neels/cm3-build/scripts/pkgmap.sh -c "cm3 -build =20
>-DROOT=3D'/home/neels/cm3-build' && cm3 -ship=20
>-DROOT=3D'/home/neels/cm3-build' " m3gc-simple m3core libm3=20
>patternmatching m3middle m3linker m3front m3quake m3cc cm3 m3scanner=20
>m3tools m3cgcat m3cggen m3bundle bitvector digraph parseparams=20
>realgeometry set slisp sortedtableextras table-list tempfiles
>=3D=3D=3D package /home/neels/cm3-build/m3-libs/m3gc-simple =3D=3D=3D
> +++ cm3 -build -DROOT=3D'/home/neels/cm3-build' && cm3 -ship=20
>-DROOT=3D'/home/neels/cm3-build' +++
>--- building in LINUXLIBC6 ---
>
>new source -> compiling sysdeps.c
> -> archiving libm3gcdefs.a
>--- shipping from LINUXLIBC6 ---
>
>=2E =3D> /usr/local/cm3/pkg/m3gc-simple/LINUXLIBC6
> .M3EXPORTS libm3gcdefs.so.5 libm3gcdefs.a libm3gcdefs.m3x
> .M3WEB =20
>=2E./src/runtime =3D> /usr/local/cm3/pkg/m3gc-simple/src/runtime
> RTVM.c =20
>=2E./src/runtime/LINUXLIBC6 =3D>=20
>/usr/local/cm3/pkg/m3gc-simple/src/runtime/LINUXLIBC6
> sysdeps.c =20
>=2E =3D> /usr/local/cm3/lib
> libm3gcdefs.a =20
> =3D=3D> /home/neels/cm3-build/m3-libs/m3gc-simple done
>
>=3D=3D=3D package /home/neels/cm3-build/m3-libs/m3core =3D=3D=3D
> +++ cm3 -build -DROOT=3D'/home/neels/cm3-build' && cm3 -ship=20
>-DROOT=3D'/home/neels/cm3-build' +++
>--- building in LINUXLIBC6 ---
>
>ignoring ../src/m3overrides
>
>new source -> compiling RTHooks.i3
>RTHooks.i3: In function 'RTHooks_I3':
>RTHooks.i3:141: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling RT0.i3
>RT0.i3: In function 'RT0_I3':
>RT0.i3:230: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling RuntimeError.i3
>RuntimeError.i3: In function 'RuntimeError_I3':
>RuntimeError.i3:63: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling Word.i3
>Word.i3: In function 'Word_I3':
>Word.i3:67: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling RTException.i3
>RTException.i3: In function 'RTException_I3':
>RTException.i3:34: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling RTHooks.m3
>RTHooks.m3: In function 'RTHooks_M3':
>RTHooks.m3:130: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling RT0.m3
>RT0.m3:10: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling Compiler.i3
>Compiler.i3: In function 'Compiler_I3':
>Compiler.i3:42: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling RuntimeError.m3
>RuntimeError.m3: In function 'RuntimeError_M3':
>RuntimeError.m3:61: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling Compiler.m3
>Compiler.m3: In function 'Compiler_M3':
>Compiler.m3:11: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling RTAllocator.i3
>RTAllocator.i3: In function 'RTAllocator_I3':
>RTAllocator.i3:79: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling RTType.i3
>RTType.i3: In function 'RTType_I3':
>RTType.i3:65: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling Uucontext.i3
>Uucontext.i3: In function 'Uucontext_I3':
>Uucontext.i3:195: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling Utypes.i3
>Utypes.i3: In function 'Utypes_I3':
>Utypes.i3:108: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling BasicCtypes.i3
>BasicCtypes.i3: In function 'BasicCtypes_I3':
>BasicCtypes.i3:33: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling Ctypes.i3
Ctypes.i3: In function 'Ctypes_I3':
>Ctypes.i3:67: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling Usignal.i3
>Usignal.i3: In function 'Usignal_I3':
>Usignal.i3:199: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling Csetjmp.i3
>Csetjmp.i3: In function 'Csetjmp_I3':
>Csetjmp.i3:29: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling RTMachine.i3
>RTMachine.i3: In function 'RTMachine_I3':
>RTMachine.i3:87: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling Upthread.i3
>Upthread.i3: In function 'Upthread_I3':
>Upthread.i3:343: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling Utime.i3
>Utime.i3: In function 'Utime_I3':
>Utime.i3:182: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling RTHeapDep.i3
>RTHeapDep.i3: In function 'RTHeapDep_I3':
>RTHeapDep.i3:74: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling RTHeapRep.i3
>RTHeapRep.i3: In function 'RTHeapRep_I3':
>RTHeapRep.i3:310: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling Thread.i3
>Thread.i3: In function 'Thread_I3':
>Thread.i3:120: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling FloatMode.i3
>FloatMode.i3: In function 'FloatMode_I3':
>FloatMode.i3:123: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling ThreadF.i3
>ThreadF.i3: In function 'ThreadF_I3':
>ThreadF.i3:110: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling RTOS.i3
>RTOS.i3: In function 'RTOS_I3':
>RTOS.i3:44: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling RTMisc.i3
>RTMisc.i3: In function 'RTMisc_I3':
>RTMisc.i3:29: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling RTHeap.i3
>RTHeap.i3: In function 'RTHeap_I3':
>RTHeap.i3:44: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling Cstdlib.i3
>Cstdlib.i3: In function 'Cstdlib_I3':
>Cstdlib.i3:34: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling Cstddef.i3
>Cstddef.i3: In function 'Cstddef_I3':
>Cstddef.i3:14: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling RTAllocCnts.i3
>RTAllocCnts.i3: In function 'RTAllocCnts_I3':
>RTAllocCnts.i3:22: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling RTAllocator.m3
>RTAllocator.m3: In function 'RTAllocator_M3':
>RTAllocator.m3:387: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling RTAllocStats.i3
>RTAllocStats.i3: In function 'RTAllocStats_I3':
>RTAllocStats.i3:39: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling Convert.i3
>Convert.i3: In function 'Convert_I3':
>Convert.i3:111: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling TextClass.i3
>TextClass.i3: In function 'TextClass_I3':
>TextClass.i3:46: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling Text.i3
>Text.i3: In function 'Text_I3':
>Text.i3:81: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling RTProcedureSRC.i3
>RTProcedureSRC.i3: In function 'RTProcedureSRC_I3':
>RTProcedureSRC.i3:28: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling Fingerprint.i3
>Fingerprint.i3: In function 'Fingerprint_I3':
>Fingerprint.i3:63: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling RTProcedure.i3
>RTProcedure.i3: In function 'RTProcedure_I3':
>RTProcedure.i3:32: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling RTStack.i3
>RTStack.i3: In function 'RTStack_I3':
>RTStack.i3:53: internal compiler error: Segmentation fault
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>new source -> compiling RTAllocStats.m3
>"../src/runtime/common/RTAllocStats.m3", line 46: undefined runtime=20
>symbol !! (RTHooks.AllocateTracedRef)
>
>
>***
>*** runtime error:
>*** Segmentation violation - possible attempt to dereference NIL
>*** pc =3D 0x811e7ff =3D StartCall + 0x19 in ../src/values/Procedure.m=
>3
>***
>
>Aborted (core dumped)
> *** execution of failed ***
>
>
>--=20
>Neels Janosch Hofmeyr
>Software Developer
>
>neels at elego.de
>Public Key: http://binarchy.net/neels/neels.hofmeyr.public.key.asc
>
>elego Software Solutions GmbH http://www.elegosoft.com
>Gustav-Meyer-Allee 25, Geb=C3=A4ude 12 HRB 77719
>13355 Berlin, Germany Amtsgericht Charlottenburg
>Tel.: +49 30 23 45 86 96 Sitz der Gesellschaft: Berlin
>Fax: +49 30 23 45 86 95 Gesch=C3=A4ftsf=C3=BChrer: Olaf W=
>agner
>
>
>
>--------------enigBBB9AF364E0AAD943688858C
>Content-Type: application/pgp-signature; name="signature.asc"
>Content-Description: OpenPGP digital signature
>Content-Disposition: attachment; filename="signature.asc"
>
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.4.6 (GNU/Linux)
>
>iD8DBQFHmJbkRpHEG7B8Y+ARAtjGAJ47SAvF3xSFUuQT0gd5ZF2OLbOX9wCg12+B
>bD8Jx13qOgK+5OasBdztrYg=
>=IPcA
>-----END PGP SIGNATURE-----
>
>--------------enigBBB9AF364E0AAD943688858C--
More information about the M3devel
mailing list