From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 012FA3858C27; Wed, 20 Apr 2022 14:48:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 012FA3858C27 From: "wcohen at redhat dot com" To: systemtap@sourceware.org Subject: [Bug runtime/29076] user_string_quoted() doesn't properly generate strings in .rodata on x86_64 machines Date: Wed, 20 Apr 2022 14:48:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: runtime X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wcohen at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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 X-BeenThere: systemtap@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Systemtap mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Apr 2022 14:48:06 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29076 --- Comment #1 from William Cohen --- Tried the example on non-x86 platforms such as aarch64 and it gave the expe= cted result: [wcohen@fedora ~]$ uname -a Linux fedora 5.16.20-200.fc35.aarch64 #1 SMP Wed Apr 13 21:49:21 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux [wcohen@fedora ~]$ gcc -o acct2 -O2 acct2.c=20 [wcohen@fedora ~]$ sudo stap -c ./acct2 sys_acct.stp warning: the compiler differs from the one used to build the kernel The kernel was built by: gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9) You are using: gcc (GCC) 11.2.1 20220401 (Red Hat 11.2.1-10) kprobe.function("__arm64_sys_acct")?("foobar") kprobe.function("__arm64_sys_acct")?("foobar") kprobe.function("__arm64_sys_acct")?(0xffffffffffffffff) --=20 You are receiving this mail because: You are the assignee for the bug.=