* [Bug translator/13485] New: ARM incorrect parsing of inlined variables
@ 2011-12-08 15:05 wade_farnsworth at mentor dot com
2011-12-08 15:06 ` [Bug translator/13485] " wade_farnsworth at mentor dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: wade_farnsworth at mentor dot com @ 2011-12-08 15:05 UTC (permalink / raw)
To: systemtap
http://sourceware.org/bugzilla/show_bug.cgi?id=13485
Bug #: 13485
Summary: ARM incorrect parsing of inlined variables
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap@sourceware.org
ReportedBy: wade_farnsworth@mentor.com
Classification: Unclassified
Created attachment 6094
--> http://sourceware.org/bugzilla/attachment.cgi?id=6094
inlinedvars.exe debuginfo
The following error occurs when running the test suite on a beagleboard with
Linux 2.6.37.6 and gcc 4.5.1:
Running /home/root/stuff/systemtap/testsuite/systemtap.base/inlinedvars.exp ...
Executing on host: gcc
/home/root/stuff/systemtap/testsuite/systemtap.base/inlinedvars.c -g -lm -o
inlinedvars.exe (timeout = 300)
spawn gcc /home/root/stuff/systemtap/testsuite/systemtap.base/inlinedvars.c -g
-lm -o inlinedvars.exe^M
PASS: inlinedvars-m32 compile
executing: stap
/home/root/stuff/systemtap/testsuite/systemtap.base/inlinedvars.stp
inlinedvars.exe -c ./inlinedvars.exe
PASS: inlinedvars-m32
Executing on host: gcc
/home/root/stuff/systemtap/testsuite/systemtap.base/inlinedvars.c -g -O -lm
-o inlinedvars.exe (timeout = 300)
spawn gcc /home/root/stuff/systemtap/testsuite/systemtap.base/inlinedvars.c -g
-O -lm -o inlinedvars.exe^M
PASS: inlinedvars-m32-O compile
executing: stap
/home/root/stuff/systemtap/testsuite/systemtap.base/inlinedvars.stp
inlinedvars.exe -c ./inlinedvars.exe
FAIL: inlinedvars-m32-O
line 1: expected "call (22,84)"
Got " (84,22)"
Executing on host: gcc
/home/root/stuff/systemtap/testsuite/systemtap.base/inlinedvars.c -g -O2 -lm
-o inlinedvars.exe (timeout = 300)
spawn gcc /home/root/stuff/systemtap/testsuite/systemtap.base/inlinedvars.c -g
-O2 -lm -o inlinedvars.exe^M
PASS: inlinedvars-m32-O2 compile
executing: stap
/home/root/stuff/systemtap/testsuite/systemtap.base/inlinedvars.stp
inlinedvars.exe -c ./inlinedvars.exe
FAIL: inlinedvars-m32-O2
line 1: expected "call (22,84)"
Got " (84,22)"
testcase /home/root/stuff/systemtap/testsuite/systemtap.base/inlinedvars.exp
completed in 109 seconds
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug translator/13485] ARM incorrect parsing of inlined variables
2011-12-08 15:05 [Bug translator/13485] New: ARM incorrect parsing of inlined variables wade_farnsworth at mentor dot com
@ 2011-12-08 15:06 ` wade_farnsworth at mentor dot com
2011-12-08 15:21 ` wade_farnsworth at mentor dot com
2024-01-19 5:04 ` wcohen at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: wade_farnsworth at mentor dot com @ 2011-12-08 15:06 UTC (permalink / raw)
To: systemtap
http://sourceware.org/bugzilla/show_bug.cgi?id=13485
--- Comment #1 from Wade Farnsworth <wade_farnsworth at mentor dot com> 2011-12-08 15:05:19 UTC ---
Created attachment 6095
--> http://sourceware.org/bugzilla/attachment.cgi?id=6095
Disassembled inlinedvars.exe
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug translator/13485] ARM incorrect parsing of inlined variables
2011-12-08 15:05 [Bug translator/13485] New: ARM incorrect parsing of inlined variables wade_farnsworth at mentor dot com
2011-12-08 15:06 ` [Bug translator/13485] " wade_farnsworth at mentor dot com
@ 2011-12-08 15:21 ` wade_farnsworth at mentor dot com
2024-01-19 5:04 ` wcohen at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: wade_farnsworth at mentor dot com @ 2011-12-08 15:21 UTC (permalink / raw)
To: systemtap
http://sourceware.org/bugzilla/show_bug.cgi?id=13485
--- Comment #2 from Wade Farnsworth <wade_farnsworth at mentor dot com> 2011-12-08 15:06:04 UTC ---
Created attachment 6096
--> http://sourceware.org/bugzilla/attachment.cgi?id=6096
C source from inlinedvars.stp
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug translator/13485] ARM incorrect parsing of inlined variables
2011-12-08 15:05 [Bug translator/13485] New: ARM incorrect parsing of inlined variables wade_farnsworth at mentor dot com
2011-12-08 15:06 ` [Bug translator/13485] " wade_farnsworth at mentor dot com
2011-12-08 15:21 ` wade_farnsworth at mentor dot com
@ 2024-01-19 5:04 ` wcohen at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: wcohen at redhat dot com @ 2024-01-19 5:04 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=13485
William Cohen <wcohen at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WORKSFORME
CC| |wcohen at redhat dot com
Status|NEW |RESOLVED
--- Comment #3 from William Cohen <wcohen at redhat dot com> ---
I manually ran inlinedvars.stp on the last version of Fedora that supported
32-bit arm. It appears to work correctly:
[wcohen@fedora systemtap]$ rpm -q gcc kernel
gcc-12.2.1-4.fc36.armv7hl
kernel-6.2.15-100.fc36.armv7hl
[wcohen@fedora systemtap]$ uname -a
Linux fedora 6.2.15-100.fc36.armv7hl #1 SMP Thu May 11 17:07:19 UTC 2023 armv7l
armv7l armv7l GNU/Linux
[wcohen@fedora systemtap]$ gcc
/home/wcohen/systemtap_write/systemtap/testsuite/systemtap.base/inlinedvars.c
-g -lm -o inlinedvars.exe
[wcohen@fedora systemtap]$ sudo ../install/bin/stap
/home/wcohen/systemtap_write/systemtap/testsuite/systemtap.base/inlinedvars.stp
inlinedvars.exe -c ./inlinedvars.exe
WARNING: unused command line option $1/@1
call (22,84)
call2 (128,-22)
main (64,42)
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-01-19 5:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-08 15:05 [Bug translator/13485] New: ARM incorrect parsing of inlined variables wade_farnsworth at mentor dot com
2011-12-08 15:06 ` [Bug translator/13485] " wade_farnsworth at mentor dot com
2011-12-08 15:21 ` wade_farnsworth at mentor dot com
2024-01-19 5:04 ` wcohen at redhat 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).