From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 32FB83858C20; Tue, 16 May 2023 06:22:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 32FB83858C20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1684218136; bh=tQg9aP4EfLuw1qiQC9jvU1YnkYNND9zvb0VUrSFuZ3Y=; h=From:To:Subject:Date:From; b=fg9+g/Wc92I6hIl1SDQSz0II6pSF9x23snO+bJFU2a/a6FKzms5qrlSnZL9xHpVRD yD4+ajmsqLWgmtr6Vg0m3/6dRg8pAghpkZKmaw0wDiQWkjJRLWIU39uyQIFo+XTBjt 173SK4ziNUvNC5VE5YyyBVaUjtaoFb69huBi2dKg= From: "sam at gentoo dot org" To: gdb-prs@sourceware.org Subject: [Bug build/30450] New: Build failure (linux-low.cc:5393:45: error: expected ':' before ')' token) with musl-1.2.4 Date: Tue, 16 May 2023 06:22:15 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: build X-Bugzilla-Version: 13.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sam at gentoo dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot 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 cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30450 Bug ID: 30450 Summary: Build failure (linux-low.cc:5393:45: error: expected ':' before ')' token) with musl-1.2.4 Product: gdb Version: 13.1 Status: NEW Severity: normal Priority: P2 Component: build Assignee: unassigned at sourceware dot org Reporter: sam at gentoo dot org CC: brobecke at sourceware dot org Target Milestone: --- musl-1.2.4 drops LFS shims (see https://bugs.gentoo.org/903611#c0). I get the following with musl-1.2.4: ``` [...] x86_64-gentoo-linux-musl-g++ -I. -I. -I./../gdb/regformats -I./.. -I./../include -I./../gdb -I./../gnulib/import -I../gnulib/import -I./.. -I= ..=20=20 -pthread -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-variable -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=3Dmaybe-uninitialized -Wno-mismatched-tags -Ws uggest-override -Wimplicit-fallthrough=3D3 -Wduplicated-cond -Wshadow=3Dloc= al -Wdeprecated-copy -Wdeprecated-copy-dtor -Wredundant-move -Wmissing-declarations -Wstrict-null-sentinel -Wformat -Wformat-nonliteral -DGDBSERVER -O2 -pipe -march=3Dnative -fdiagnostics-color=3Dalways -frecord-gcc-switches -D_GLIBCXX_ASSERTIONS -c -o linux-low.o -MT linux-low.o -MMD -MP -MF ./.deps/linux-low.Tpo linux-low.cc linux-low.cc: In function 'int proc_xfer_memory(CORE_ADDR, unsigned char*, const gdb_byte*, int)': linux-low.cc:5393:45: error: expected ':' before ')' token 5393 | ? write (fd, writebuf, len)); | ^ | : linux-low.cc:5393:45: error: expected primary-expression before ')' token linux-low.cc:5393:45: error: expected ':' before ')' token 5393 | ? write (fd, writebuf, len)); | ^ | : linux-low.cc:5393:45: error: expected primary-expression before ')' token make[2]: *** [Makefile:545: linux-low.o] Error 1 ``` This is already fixed on master in https://sourceware.org/git/?p=3Dbinutils-gdb.git;a=3Dcommit;h=3D2e977d99013= 93ea1bacbe1896af0929e968bc811. Could this be backported to the 13 branch? Thanks! --=20 You are receiving this mail because: You are on the CC list for the bug.=