gm2
[Top][All Lists]
Advanced

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

Re: Portability Considerations


From: Rudolf Schubert
Subject: Re: Portability Considerations
Date: Thu, 21 Mar 2024 18:23:05 +0100 (CET)

Hi Alice,

your request was not too big but I just can confirm the ICE you see.
A few minutes ago I updated to this version of gm2:

gm2 (GCC) 14.0.1 20240321 (experimental)

So this message might not be of too much help for you I fear.

But perhaps I may tell you my experience with GM2 thus far:

I was/am about porting a decade old progam written with
Gardens Pint Modula (GPM). I also had several questions/
problems in the beginning. But Gaius was quite busy resolving these
issues. Right now I can compile with both compilers and the
code generated is running. So perhaps you should give Gaius
some time to have a look into things? But of course I cannot speak
for Gaius. Just wanted to share my experience.


BR

Rudolf

--
Rudolf Schubert                 \
Kirchstr. 18a                    \  mailto:rudolf@muc.de
82054 Sauerlach                   > http://www.dose.muc.de
Deutschland                      /   (alpine archkiste)
Tel. 08104/908311               /


On Thu, 21 Mar 2024, Alice Osako wrote:

I ended up entirely deleting and replacing the local git repo, and that solved the problem with building gm2 v.14.0.1 (this was built off of the master trunk, so I don't know if there is a branch with the aforementioned 14.2 version).

I have tried compiling the code for the program ('make portable') with the resulting compiler, but still got an ICE. I am seriously wondering if there is something wrong with my setup.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Target: x86_64-pc-linux-gnu // Configured with: /home/schol-r-lea/Deployments/gm2/gcc/configure --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu --prefix=/home/schol-r-lea/opt --bindir=/home/schol-r-lea/opt/bin --libdir=/home/schol-r-lea/opt/lib --libexecdir=/home/schol-r-lea/opt/lib --enable-threads=posix --enable-clocale=gnu --disable-multilib --disable-bootstrap --enable-checking --enable-languages=m2
// Thread model: posix
// Supported LTO compression algorithms: zlib zstd
// gcc version 14.0.1 20240321 (experimental) (GCC)
//
// -quiet: internal compiler error: illegal symbol
// 0x22a6c27 internal_error(char const*, ...)
//     ???:0
// 0x967432 m2linemap_internal_error
//     ???:0
// 0xa3534b M2Emit_InternalError
//     ???:0
// 0x9930ae M2Error_InternalError
//     ???:0
// 0x9f2c5a SymbolTable_IsProcedure
//     ???:0
// 0x9e6ed9 PCSymBuild_PushConstFunctionType
//     ???:0
// 0xa22723 PCBuild_CompilationUnit
//     ???:0
// 0x9904ae M2Comp_compile
//     ???:0
// Please submit a full bug report, with preprocessed source.
// Please include the complete backtrace with any bug report.
// See <https://gcc.gnu.org/bugs/> for instructions.

// /home/schol-r-lea/opt/lib/gcc/x86_64-pc-linux-gnu/14.0.1/cc1gm2 -quiet -dumpdir objs/ -dumpbase CardBitOps.mod -dumpbase-ext .mod -mtune=generic -march=x86-64 -g -freport-bug -fm2-pathname=- -fm2-pathnameIdefs/ -fm2-pathnameI. -fscaffold-dynamic -flibs=m2cor,m2log,m2pim,m2iso -fm2-pathname=- -fm2-pathnameIdefs/ -fm2-pathnameI. impls/portable/CardBitOps.mod -c -o - -frandom-seed=0 -fdump-noaddr ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I realize it is something of a big request, but could someone please see if they can get this to compile on their system?

https://github.com/Schol-R-LEA/Modula-2-Portable-Bit-Manipulation/tree/main


reply via email to

[Prev in Thread] Current Thread [Next in Thread]