[Bug 1995830] [NEW] sudo gcc -o spidev_test spidev_test.c /gcc: internal compiler error : SEGMENTATION ERROR signal terminated program cc1

JinHyeongIn 1995830 at bugs.launchpad.net
Mon Nov 7 06:23:41 UTC 2022


Public bug reported:

sudo gcc -o spidev_test spidev_test.c
gcc: internal compiler error: SEGMENTATION ERROR signal terminated program cc1 Please submit a full bug report,
with preprocessued source if appropriate.
See <file:///usr/share/doc/gcc-9/README.Bugs> for instructions.

I want to compile the spidev_test.c source file.

When compiling with gcc, the above message occurs and compilation fails.

gcc --version
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Copyright (C) 2019 Free Software Foundation, Inc. All rights reserved.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

sudo apt install build-essential
-> package build-essential is already up to date. (12.8ubuntu1.1).

Please tell me how I can compile spidev_test.c .

** Affects: gcc-9 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-9 in Ubuntu.
https://bugs.launchpad.net/bugs/1995830

Title:
  sudo gcc -o spidev_test spidev_test.c  /gcc: internal compiler error :
  SEGMENTATION ERROR signal terminated program cc1

Status in gcc-9 package in Ubuntu:
  New

Bug description:
  sudo gcc -o spidev_test spidev_test.c
  gcc: internal compiler error: SEGMENTATION ERROR signal terminated program cc1 Please submit a full bug report,
  with preprocessued source if appropriate.
  See <file:///usr/share/doc/gcc-9/README.Bugs> for instructions.

  I want to compile the spidev_test.c source file.

  When compiling with gcc, the above message occurs and compilation
  fails.

  gcc --version
  gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
  Copyright (C) 2019 Free Software Foundation, Inc. All rights reserved.
  This is free software; see the source for copying conditions. There is NO
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

  sudo apt install build-essential
  -> package build-essential is already up to date. (12.8ubuntu1.1).

  Please tell me how I can compile spidev_test.c .

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-9/+bug/1995830/+subscriptions




More information about the foundations-bugs mailing list