public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cjmh.gt at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/109055] Code generation error when function decorated for execution in SRAM
Date: Tue, 07 Mar 2023 17:40:28 +0000	[thread overview]
Message-ID: <bug-109055-4-D0n6cRioSG@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-109055-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109055

--- Comment #1 from Chris Hodges <cjmh.gt at gmail dot com> ---
I listed the compiler for the native GCC instead of

arm-none-eabi-gcc -v

The RPI400 compiiler for the Cortex M0 is 8.3.1

RPI400:
arm-none-eabi-gcc -v
Using built-in specs.
COLLECT_GCC=arm-none-eabi-gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-none-eabi/8.3.1/lto-wrapper
Target: arm-none-eabi
Configured with: ../configure --build=arm-linux-gnueabihf --prefix=/usr
--includedir='/usr/lib/include' --mandir='/usr/lib/share/man'
--infodir='/usr/lib/share/info' --sysconfdir=/etc --localstatedir=/var
--disable-option-checking --disable-silent-rules
--libdir='/usr/lib/lib/arm-linux-gnueabihf'
--libexecdir='/usr/lib/lib/arm-linux-gnueabihf' --disable-maintainer-mode
--disable-dependency-tracking --mandir=/usr/share/man
--enable-languages=c,c++,lto --enable-multilib --disable-decimal-float
--disable-libffi --disable-libgomp --disable-libmudflap --disable-libquadmath
--disable-libssp --disable-libstdcxx-pch --disable-nls --disable-shared
--disable-threads --enable-tls --build=arm-linux-gnueabihf
--target=arm-none-eabi --with-system-zlib --with-gnu-as --with-gnu-ld
--with-pkgversion=15:8-2019-q3-1+b1 --without-included-gettext
--prefix=/usr/lib --infodir=/usr/share/doc/gcc-arm-none-eabi/info
--htmldir=/usr/share/doc/gcc-arm-none-eabi/html
--pdfdir=/usr/share/doc/gcc-arm-none-eabi/pdf --bindir=/usr/bin
--libexecdir=/usr/lib --libdir=/usr/lib --disable-libstdc++-v3
--host=arm-linux-gnueabihf --with-headers=no --without-newlib
--with-multilib-list=rmprofile CFLAGS='-g -O2
-fdebug-prefix-map=/build/gcc-arm-none-eabi-3BFy9A/gcc-arm-none-eabi-8-2019-q3=.
-fstack-protector-strong' CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2'
CXXFLAGS='-g -O2
-fdebug-prefix-map=/build/gcc-arm-none-eabi-3BFy9A/gcc-arm-none-eabi-8-2019-q3=.
-fstack-protector-strong' FCFLAGS='-g -O2
-fdebug-prefix-map=/build/gcc-arm-none-eabi-3BFy9A/gcc-arm-none-eabi-8-2019-q3=.
-fstack-protector-strong' FFLAGS='-g -O2
-fdebug-prefix-map=/build/gcc-arm-none-eabi-3BFy9A/gcc-arm-none-eabi-8-2019-q3=.
-fstack-protector-strong' GCJFLAGS='-g -O2
-fdebug-prefix-map=/build/gcc-arm-none-eabi-3BFy9A/gcc-arm-none-eabi-8-2019-q3=.
-fstack-protector-strong' LDFLAGS=-Wl,-z,relro OBJCFLAGS='-g -O2
-fdebug-prefix-map=/build/gcc-arm-none-eabi-3BFy9A/gcc-arm-none-eabi-8-2019-q3=.
-fstack-protector-strong' OBJCXXFLAGS='-g -O2
-fdebug-prefix-map=/build/gcc-arm-none-eabi-3BFy9A/gcc-arm-none-eabi-8-2019-q3=.
-fstack-protector-strong' INHIBIT_LIBC_CFLAGS=-DUSE_TM_CLONE_REGISTRY=0
AR_FOR_TARGET=arm-none-eabi-ar AS_FOR_TARGET=arm-none-eabi-as
LD_FOR_TARGET=arm-none-eabi-ld NM_FOR_TARGET=arm-none-eabi-nm
OBJDUMP_FOR_TARGET=arm-none-eabi-objdump RANLIB_FOR_TARGET=arm-none-eabi-ranlib
READELF_FOR_TARGET=arm-none-eabi-readelf STRIP_FOR_TARGET=arm-none-eabi-strip
Thread model: single
gcc version 8.3.1 20190703 (release) [gcc-8-branch revision 273027]
(15:8-2019-q3-1+b1) 


Windows10:
 arm-none-eabi-gcc.exe -v
Using built-in specs.
COLLECT_GCC=C:\msys64\mingw64\bin\arm-none-eabi-gcc.exe
COLLECT_LTO_WRAPPER=c:/msys64/mingw64/bin/../lib/gcc/arm-none-eabi/12.2.0/lto-wrapper.exe
Target: arm-none-eabi
Configured with: ../configure --build=x86_64-w64-mingw32
--host=x86_64-w64-mingw32 --prefix=/mingw64
 --target=arm-none-eabi --with-native-system-header-dir=/mingw64/include
--libexecdir=/mingw64/lib -
-enable-languages=c,c++ --enable-plugins --disable-decimal-float
--disable-libffi --disable-libgomp
--disable-libmudflap --disable-libquadmath --disable-libssp
--disable-libstdcxx-pch --disable-nls --
disable-shared --disable-threads --disable-tls --disable-libada --with-gnu-as
--with-gnu-ld --with-s
ystem-zlib --with-newlib --with-headers=/mingw64/arm-none-eabi/include
--with-python-dir=share/gcc-a
rm-none-eabi --with-gmp --with-mpfr --with-mpc --with-isl --with-libelf
--enable-gnu-indirect_functi
on --with-multilib-list=rmprofile --with-host-libstdcxx='-static-libgcc
-Wl,-Bstatic,-lstdc++,-Bdyna
mic -lm' --enable-linker-plugin-flags='LDFLAGS=-static-libstdc++\
-static-libgcc\ -pipe\ -Wl,--stack
,12582912' LDFLAGS='-pipe -Wl,--disable-dynamicbase'
Thread model: single
Supported LTO compression algorithms: zlib zstd
gcc version 12.2.0 (GCC)

      reply	other threads:[~2023-03-07 17:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-07 16:06 [Bug c/109055] New: " cjmh.gt at gmail dot com
2023-03-07 17:40 ` cjmh.gt at gmail dot com [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-109055-4-D0n6cRioSG@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).