public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug modula2/111871] New: invoking gm2 with -pipe and -v does not work
@ 2023-10-19 2:21 gaius at gcc dot gnu.org
2023-11-14 21:37 ` [Bug modula2/111871] " gaius at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: gaius at gcc dot gnu.org @ 2023-10-19 2:21 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111871
Bug ID: 111871
Summary: invoking gm2 with -pipe and -v does not work
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: modula2
Assignee: gaius at gcc dot gnu.org
Reporter: gaius at gcc dot gnu.org
Target Milestone: ---
Forwarding from the gm2 mailing list.
$ gm2 -v -O2 -pipe -o hello hello.mod -Wl,-rpath=/usr/local/gnu/lib`
$ cat hello.mod
MODULE hello;
FROM StrIO IMPORT WriteString, WriteLn;
BEGIN
WriteString('Hello world from M2!');
WriteLn
END hello.
Compiling yields this error:
--8<--
Driving: gm2 -v -O2 -pipe -o hello hello.mod -Wl,-rpath=/usr/local/gnu/lib
-fm2-pathname=- -fm2-pathnameI. -fgen-module-list=- -fscaffold-dynamic -fscaff
old-main -flibs=m2cor,m2log,m2pim,m2iso -fplugin=m2rte -l m2cor -l m2log -l
m2pim -l m2iso -l stdc++ -l m -l pthread
new argc = 21, added_libraries = 7
Using built-in specs.
COLLECT_GCC=gm2
COLLECT_LTO_WRAPPER=/usr/local/gnu/libexec/gcc/x86_64-unknown-openbsd7.3/14.0.0/lto-wrapper
Target: x86_64-unknown-openbsd7.3
Configured with: ../gcc/configure --verbose
--enable-languages=c,c++,d,fortran,lto,m2,objc,obj-c++,rust --enable-libssp
--enable-threads=posix --enable-w char_t --disable-libstdcxx-pch
--enable-default-ssp --enable-default-pie --enable-cpp
--with-as=/usr/local/gnu/bin/as --with-ld=/usr/bin/ld --enable-link
er-build-id --prefix=/usr/local/gnu --with-local-prefix=/usr/local/gnu
--disable-tls --disable-bootstrap
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 14.0.0 20230604 (experimental) (GCC)
COLLECT_GCC_OPTIONS='-v' '-O2' '-pipe' '-o' 'hello' '-fm2-pathname=-'
'-fm2-pathnameI.' '-fgen-module-list=-' '-fscaffold-dynamic' '-fscaffold-main'
'-fl ibs=m2cor,m2log,m2pim,m2iso' '-fplugin=m2rte' '-mtune=generic'
'-march=x86-64'
/usr/local/gnu/libexec/gcc/x86_64-unknown-openbsd7.3/14.0.0/cc1gm2 -v
-iplugindir=/usr/local/gnu/lib/gcc/x86_64-unknown-openbsd7.3/14.0.0/plugin
-quiet -dumpbase hello.mod -dumpbase-ext .mod -mtune=generic -march=x86-64
-O2 -version -fm2-pathname=- -fm2-pathnameI. -fgen-module-list=-
-fscaffold-dynamic - fscaffold-main -flibs=m2cor,m2log,m2pim,m2iso
-fplugin=m2rte -fm2-pathname=- -fm2-pathnameI. hello.mod -o - |
/usr/local/gnu/bin/as -v -o /tmp//cceXRr5c.o -
GNU Modula-2 (GCC) version 14.0.0 20230604 (experimental)
(x86_64-unknown-openbsd7.3)
compiled by GNU C version 14.0.0 20230604 (experimental), GMP version
6.2.1, MPFR version 4.2.0, MPC version 1.3.1, isl version isl-0.25-GMP
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Versions of loaded plugins:
m2rte: Unknown version.
GNU assembler version 2.40.50 (x86_64-unknown-openbsd7.3) using BFD version
(GNU Binutils) 2.40.50.20230604
{standard input}: Assembler messages:
{standard input}:1: Error: no such instruction: `hello.mod'
-->8--
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug modula2/111871] invoking gm2 with -pipe and -v does not work
2023-10-19 2:21 [Bug modula2/111871] New: invoking gm2 with -pipe and -v does not work gaius at gcc dot gnu.org
@ 2023-11-14 21:37 ` gaius at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: gaius at gcc dot gnu.org @ 2023-11-14 21:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111871
Gaius Mulley <gaius at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2023-11-14
Ever confirmed|0 |1
--- Comment #1 from Gaius Mulley <gaius at gcc dot gnu.org> ---
Conformed will fix!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-11-14 21:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-19 2:21 [Bug modula2/111871] New: invoking gm2 with -pipe and -v does not work gaius at gcc dot gnu.org
2023-11-14 21:37 ` [Bug modula2/111871] " gaius at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).