public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/97377] New: Segmentation fault while compiling Marlin code
@ 2020-10-12  6:20 laurent_barthelemy at protonmail dot com
  2020-10-12  7:55 ` [Bug c++/97377] " marxin at gcc dot gnu.org
  2021-10-01  9:58 ` pinskia at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: laurent_barthelemy at protonmail dot com @ 2020-10-12  6:20 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 97377
           Summary: Segmentation fault while compiling Marlin code
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: laurent_barthelemy at protonmail dot com
  Target Milestone: ---

Created attachment 49345
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49345&action=edit
Compiler output as an .ii file

Hi,

I'm having an issue compiling Marlin code for my 3D printer.

The general error is a segmentation fault.

Gcc version: gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
System: Linux Mint 20 Ulyana
Platform: HP EliteBook 8740W (not sure it is relevant)

The message (and compiler options) is below:

/usr/share/arduino/hardware/tools/avr/bin/avr-g++ -MMD -c -mmcu=atmega2560
-DF_CPU=16000000L -DARDUINO=105  -D__PROG_TYPES_COMPAT__
-I/usr/share/arduino/hardware/arduino//cores/arduino
-I/usr/share/arduino/hardware/arduino//variants/standard   
-I/usr/share/arduino/libraries/SPI   
-I/usr/share/arduino/libraries/SoftwareSerial   
-I/usr/share/arduino/libraries/U8glib/src   
-I/usr/share/arduino/libraries/Wire -I/usr/share/arduino/libraries/Wire/utility
  -Wall -ffunction-sections -fdata-sections -Os -save-temps
-fno-strict-aliasing -fwrapv -fno-aggressive-loop-optimizations
-fsanitize=undefined -DF_CPU=16000000L  -I . -I /home/laurent/Marlin/build -I
/usr/share/arduino/hardware/arduino/avr/cores/arduino -I
/usr/share/arduino/hardware/arduino/avr/libraries/SPI -I
/usr/share/arduino/hardware/arduino/avr/libraries/SPI/src -I
/usr/share/arduino/libraries/LiquidCrystal/src -I
/usr/share/arduino/libraries/U8glib -I
/usr/share/arduino/libraries/U8glib/utility -I
/usr/share/arduino/hardware/arduino/variants/mega -Os -Wall   
-fno-use-cxa-atexit -fno-threadsafe-statics -w -fsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -ffunction-sections
-fdata-sections -flto -DARDUINO=105 -DMOTHERBOARD=405  -std=gnu++11
ultralcd.cpp -o build-uno/ultralcd.cpp.o
In file included from /usr/share/arduino/libraries/U8glib/src/U8glib.h:42:0,
                 from ultralcd_impl_DOGM.h:46,
                 from ultralcd.cpp:96:
/usr/share/arduino/libraries/U8glib/src/clib/u8g.h:123:24: erreur interne du
compilateur: dans type_hash_canon, à tree.c:6953
typedef uint8_t PROGMEM u8g_pgm_uint8_t;
                        ^


/usr/share/arduino/libraries/U8glib/src/clib/u8g.h:123:24: erreur interne du
compilateur: Erreur de segmentation
avr-g++: erreur interne du compilateur: Erreur de segmentation (program
cc1plus)
Veuillez soumettre un rapport d’anomalies complet,
avec la sortie du préprocesseur si nécessaire.
Voir <http://gcc.gnu.org/bugs.html> pour les instructions.
make: *** [/usr/share/arduino/Arduino.mk:1234 : build-uno/ultralcd.cpp.o]
Erreur 4




Sorry, can't get my locale to point en English, I hope the messages are
understandable by themselves

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-10-01  9:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-12  6:20 [Bug c++/97377] New: Segmentation fault while compiling Marlin code laurent_barthelemy at protonmail dot com
2020-10-12  7:55 ` [Bug c++/97377] " marxin at gcc dot gnu.org
2021-10-01  9:58 ` pinskia 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).