From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 39F3E389367D; Thu, 22 Apr 2021 12:03:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 39F3E389367D From: "sujay1844 at protonmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug jit/100207] New: Error in build() Date: Thu, 22 Apr 2021 12:03:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: jit X-Bugzilla-Version: 10.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sujay1844 at protonmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2021 12:03:04 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100207 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=3D50654&action=3Dedit 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 =E2=80=98unsigned int cpp_classify_number(cpp_reader*, const cpp_token*, const char**, location_t= )=E2=80=99: ../../../gcc-10.2.0/libcpp/expr.c:802:18: error: format not a string literal and no format arguments [-Werror=3Dformat-security] 802 | 0, message); | ^ ../../../gcc-10.2.0/libcpp/expr.c:805:39: error: format not a string literal and no format arguments [-Werror=3Dformat-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 =3D=3D> 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= =20 Desktop: sway 1.6 Distro: Arch Linux=20 Machine: Type: Laptop System: Acer product: Swift SF314-42 v: V1.09 seria= l: =20 Mobo: RO model: Kona_RN v: V1.09 serial: UEFI: Insyde v: 1.09=20 date: 11/18/2020=20 Battery: ID-1: BAT1 charge: 18.3 Wh (47.3%) condition: 38.7/47.9 Wh (80.8= %) volts: 11.3=20 min: 11.4 model: Murata AP18C4K status: Discharging=20 CPU: Info: 6-Core model: AMD Ryzen 5 4500U with Radeon Graphics bits:= 64 type: MCP=20 arch: Zen 2 rev: 1 cache: L2: 3 MiB=20 flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm=20 bogomips: 28462=20 Speed: 1397 MHz min/max: 1400/2375 MHz boost: enabled Core speeds (MHz): 1: 1397=20 2: 1397 3: 1397 4: 1424 5: 1396 6: 1397=20 Graphics: Device-1: AMD Renoir vendor: Acer Incorporated ALI driver: amdgp= u v: kernel=20 bus-ID: 03:00.0=20 Device-2: Quanta HD User Facing type: USB driver: uvcvideo bus-I= D: 1-3:2=20 Display: wayland server: X.Org 1.21.1.1 compositor: sway driver: loaded: amdgpu=20 unloaded: modesetting,vesa resolution: 1920x1080~60Hz=20 Message: Unable to show advanced data. Required tool glxinfo missing.=20 Audio: Device-1: AMD vendor: Acer Incorporated ALI driver: snd_hda_inte= l v: kernel=20 bus-ID: 03:00.1=20 Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor=20 vendor: Acer Incorporated ALI driver: snd_rn_pci_acp3x v: kernel bus-ID: 03:00.5=20 Device-3: AMD Family 17h HD Audio vendor: Acer Incorporated ALI= =20 driver: snd_hda_intel v: kernel bus-ID: 03:00.6=20 Sound Server-1: ALSA v: k5.11.15-arch1-2 running: yes=20 Sound Server-2: sndio v: N/A running: no=20 Sound Server-3: JACK v: 0.125.0 running: no=20 Sound Server-4: PulseAudio v: 14.2 running: yes=20 Sound Server-5: PipeWire v: 0.3.25 running: yes=20 Network: Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel bus-ID: 01:00.0=20 IF: wlp1s0 state: up mac: =20 Bluetooth: Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-4:3=20 Report: rfkill ID: hci0 rfk-id: 3 state: up address: see --recommends=20 Drives: Local Storage: total: 476.94 GiB used: 86.2 GiB (18.1%)=20 ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFM512GDJTNI-82A0A si= ze: 476.94 GiB=20 temp: 34.9 C=20 Partition: ID-1: / size: 216.88 GiB used: 86.06 GiB (39.7%) fs: ext4 dev: /dev/nvme0n1p6=20 ID-2: /boot size: 511 MiB used: 149.5 MiB (29.3%) fs: vfat dev: /dev/nvme0n1p4=20 Swap: ID-1: swap-1 type: partition size: 15.87 GiB used: 768 KiB (0.0%= )=20 dev: /dev/nvme0n1p5=20 Sensors: System Temperatures: cpu: 42.2 C mobo: 0 C gpu: amdgpu temp: 41.= 0 C=20 Fan Speeds (RPM): N/A=20 Info: Processes: 239 Uptime: 44m Memory: 7.21 GiB used: 2.51 GiB (34.8= %) Init: systemd=20 Compilers: gcc: 10.2.0 clang: 11.1.0 Packages: 1372 Shell: fish = v: 3.2.1=20 inxi: 3.3.04=