public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug jit/100207] New: Error in build()
@ 2021-04-22 12:03 sujay1844 at protonmail dot com
  2021-04-22 12:30 ` [Bug jit/100207] " marxin at gcc dot gnu.org
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: sujay1844 at protonmail dot com @ 2021-04-22 12:03 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 100207
           Summary: Error in build()
           Product: gcc
           Version: 10.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: jit
          Assignee: dmalcolm at gcc dot gnu.org
          Reporter: sujay1844 at protonmail dot com
  Target Milestone: ---

Created attachment 50654
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50654&action=edit
The output when I try to instal libgccjit

I'm getting the following error when I try to install the AUR package using
paru -S libgccjit. I thought the issue was with paru but then I tried using yay
and got the same error. Here are the last few lines of the log.



../../../gcc-10.2.0/libcpp/expr.c: In function ‘unsigned int
cpp_classify_number(cpp_reader*, const cpp_token*, const char**, location_t)’:
../../../gcc-10.2.0/libcpp/expr.c:802:18: error: format not a string literal
and no format arguments [-Werror=format-security]
  802 |        0, message);
      |                  ^
../../../gcc-10.2.0/libcpp/expr.c:805:39: error: format not a string literal
and no format arguments [-Werror=format-security]
  805 |           virtual_location, 0, message);
      |                                       ^
cc1plus: some warnings being treated as errors
make[2]: *** [Makefile:224: expr.o] Error 1
make[2]: Leaving directory
'/home/sujay1844/.cache/paru/clone/libgccjit/src/libgccjit-build/build-x86_64-pc-linux-gnu/libcpp'
make[1]: *** [Makefile:2850: all-build-libcpp] Error 2
make[1]: Leaving directory
'/home/sujay1844/.cache/paru/clone/libgccjit/src/libgccjit-build'
make: *** [Makefile:940: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
:: Packages failed to build: libgccjit-10.2.0-2
sujay1844@Stormbreaker ~ [1]>



This is my system config



System:    Kernel: 5.11.15-arch1-2 x86_64 bits: 64 compiler: gcc v: 10.2.0 
           Desktop: sway 1.6 Distro: Arch Linux 
Machine:   Type: Laptop System: Acer product: Swift SF314-42 v: V1.09 serial:
<filter> 
           Mobo: RO model: Kona_RN v: V1.09 serial: <filter> UEFI: Insyde v:
1.09 
           date: 11/18/2020 
Battery:   ID-1: BAT1 charge: 18.3 Wh (47.3%) condition: 38.7/47.9 Wh (80.8%)
volts: 11.3 
           min: 11.4 model: Murata AP18C4K status: Discharging 
CPU:       Info: 6-Core model: AMD Ryzen 5 4500U with Radeon Graphics bits: 64
type: MCP 
           arch: Zen 2 rev: 1 cache: L2: 3 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3
svm 
           bogomips: 28462 
           Speed: 1397 MHz min/max: 1400/2375 MHz boost: enabled Core speeds
(MHz): 1: 1397 
           2: 1397 3: 1397 4: 1424 5: 1396 6: 1397 
Graphics:  Device-1: AMD Renoir vendor: Acer Incorporated ALI driver: amdgpu v:
kernel 
           bus-ID: 03:00.0 
           Device-2: Quanta HD User Facing type: USB driver: uvcvideo bus-ID:
1-3:2 
           Display: wayland server: X.Org 1.21.1.1 compositor: sway driver:
loaded: amdgpu 
           unloaded: modesetting,vesa resolution: 1920x1080~60Hz 
           Message: Unable to show advanced data. Required tool glxinfo
missing. 
Audio:     Device-1: AMD vendor: Acer Incorporated ALI driver: snd_hda_intel v:
kernel 
           bus-ID: 03:00.1 
           Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor 
           vendor: Acer Incorporated ALI driver: snd_rn_pci_acp3x v: kernel
bus-ID: 03:00.5 
           Device-3: AMD Family 17h HD Audio vendor: Acer Incorporated ALI 
           driver: snd_hda_intel v: kernel bus-ID: 03:00.6 
           Sound Server-1: ALSA v: k5.11.15-arch1-2 running: yes 
           Sound Server-2: sndio v: N/A running: no 
           Sound Server-3: JACK v: 0.125.0 running: no 
           Sound Server-4: PulseAudio v: 14.2 running: yes 
           Sound Server-5: PipeWire v: 0.3.25 running: yes 
Network:   Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel bus-ID:
01:00.0 
           IF: wlp1s0 state: up mac: <filter> 
Bluetooth: Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8
bus-ID: 1-4:3 
           Report: rfkill ID: hci0 rfk-id: 3 state: up address: see
--recommends 
Drives:    Local Storage: total: 476.94 GiB used: 86.2 GiB (18.1%) 
           ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFM512GDJTNI-82A0A size:
476.94 GiB 
           temp: 34.9 C 
Partition: ID-1: / size: 216.88 GiB used: 86.06 GiB (39.7%) fs: ext4 dev:
/dev/nvme0n1p6 
           ID-2: /boot size: 511 MiB used: 149.5 MiB (29.3%) fs: vfat dev:
/dev/nvme0n1p4 
Swap:      ID-1: swap-1 type: partition size: 15.87 GiB used: 768 KiB (0.0%) 
           dev: /dev/nvme0n1p5 
Sensors:   System Temperatures: cpu: 42.2 C mobo: 0 C gpu: amdgpu temp: 41.0 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 239 Uptime: 44m Memory: 7.21 GiB used: 2.51 GiB (34.8%)
Init: systemd 
           Compilers: gcc: 10.2.0 clang: 11.1.0 Packages: 1372 Shell: fish v:
3.2.1 
           inxi: 3.3.04

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

end of thread, other threads:[~2021-05-10  1:39 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-22 12:03 [Bug jit/100207] New: Error in build() sujay1844 at protonmail dot com
2021-04-22 12:30 ` [Bug jit/100207] " marxin at gcc dot gnu.org
2021-04-22 12:31 ` sujay1844 at protonmail dot com
2021-04-22 12:38 ` marxin at gcc dot gnu.org
2021-04-22 13:42 ` dmalcolm at gcc dot gnu.org
2021-04-22 13:46 ` [Bug jit/100207] -Werror=format-security error in AUR build of libgccjit dmalcolm at gcc dot gnu.org
2021-04-22 13:48 ` sujay1844 at protonmail dot com
2021-04-22 13:49 ` sujay1844 at protonmail dot com
2021-04-22 13:49 ` sujay1844 at protonmail dot com
2021-04-22 13:52 ` sujay1844 at protonmail dot com
2021-04-22 14:09 ` dmalcolm at gcc dot gnu.org
2021-04-22 14:12 ` sujay1844 at protonmail dot com
2021-04-22 14:19 ` dmalcolm at gcc dot gnu.org
2021-04-22 14:21 ` sujay1844 at protonmail dot com
2021-04-22 15:04 ` dmalcolm at gcc dot gnu.org
2021-04-22 15:27 ` sujay1844 at protonmail dot com
2021-05-10  0:43 ` jonathon at m2x dot dev
2021-05-10  1:18 ` sujay1844 at protonmail dot com
2021-05-10  1:34 ` jonathon at m2x dot dev
2021-05-10  1:36 ` sujay1844 at protonmail dot com
2021-05-10  1:39 ` sujay1844 at protonmail dot com

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).