From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9B5D03858425; Sat, 16 Dec 2023 16:39:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9B5D03858425 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1702744798; bh=Q5M7COX1/XDRa0AQhr40xVtxzRsBNYF/1ocuWTuUzv8=; h=From:To:Subject:Date:From; b=fSBbCNViKXtl2qiHkGlspH63C5ygH6TXpDDELd3VXHWhCSd6ENEiqsCjs0cUCCl/4 W24en0a16kayq8VEuB6Q6g/7IEtPlld+bh9FKyMQaKg9TcZx4uyxUln23xXz6HMnHe inN714O+gOH5B/h8adxR91oplxbu/gHGtqRUckb4= From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/113045] New: armv7l-unknown-linux-gnueabihf: valgrind error during build of libcc1 Date: Sat, 16 Dec 2023 16:39:57 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned 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 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D113045 Bug ID: 113045 Summary: armv7l-unknown-linux-gnueabihf: valgrind error during build of libcc1 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- I just tried a valgrind build of gcc trunk on my Raspberry PI 3B+. It said: echo | /home/dcb/gcc/working/./gcc/xgcc -B/home/dcb/gcc/working/./gcc/=20 -nostdinc -E -dM - | \ sed -n -e 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p' \ -e 's/^#define \(_[^_A-Z][a-zA-Z0-9_]*\).*/\1/p' | \ sort -u > tmp-macro_list =3D=3D9933=3D=3D Invalid read of size 8 =3D=3D9933=3D=3D at 0x151D554: vld1q_u8 (arm_neon.h:10455) =3D=3D9933=3D=3D by 0x151D554: search_line_fast (lex.cc:872) =3D=3D9933=3D=3D by 0x151D554: _cpp_clean_line (lex.cc:960) =3D=3D9933=3D=3D by 0x151DA0F: bool get_fresh_line_impl(cpp_reade= r*) (lex.cc:3747) $ grep -E "^Config|^=3D=3D[0-9]" mk.out=20 Configuring in ./libiberty Configuring in ./fixincludes Configuring in ./lto-plugin Configuring in build-armv7l-unknown-linux-gnueabihf/libiberty Configuring in build-armv7l-unknown-linux-gnueabihf/fixincludes Configuring in build-armv7l-unknown-linux-gnueabihf/libcpp Configuring in ./zlib Configuring in ./libbacktrace Configuring in ./libcody Configuring in ./libdecnumber Configuring in ./c++tools Configuring in ./libcpp Configuring in ./gcc Configuring in ./libcc1 =3D=3D9933=3D=3D Invalid read of size 8 =3D=3D9933=3D=3D at 0x151D554: vld1q_u8 (arm_neon.h:10455) =3D=3D9933=3D=3D by 0x151D554: search_line_fast (lex.cc:872) =3D=3D9933=3D=3D by 0x151D554: _cpp_clean_line (lex.cc:960) =3D=3D9933=3D=3D by 0x151DA0F: bool get_fresh_line_impl(cpp_reade= r*) (lex.cc:3 747) Configure line is ../trunk/configure --disable-multilib \ --disable-bootstrap \ --enable-checking=3Dvalgrind \ --enable-languages=3Dc,c++ And there is some tweeking of the top level Makefile: sed 's;-O2;-O2 -march=3Dnative;' < Makefile > Makefile.tmp diff Makefile Makefile.tmp mv Makefile.tmp Makefile=