[Bug 408075] New: New build failures with inline assembly on s390x
https://bugzilla.novell.com/show_bug.cgi?id=408075 Summary: New build failures with inline assembly on s390x Product: openSUSE 11.1 Version: Factory Platform: S/390-64 OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: jeffm@novell.com QAContact: qa@suse.de CC: hare@novell.com Found By: Development The following code hasn't changed since Sep 2006, but started failing to build in Factory (kernel-vanilla) after the July 3 update of gcc43. The build failures only occur on s390x. s390 is fine. We've seen breakages in the past where the code was wrong but just happened to work anyway. If this is one of those cases, I'd appreciate suggestions on what's wrong with it so I can submit a fix upstream. static inline __u32 ___arch__swab32p(const __u32 *x) { __u32 result; asm volatile( #ifndef __s390x__ " icm %0,8,3(%1)\n" " icm %0,4,2(%1)\n" " icm %0,2,1(%1)\n" " ic %0,0(%1)" : "=&d" (result) : "a" (x), "m" (*x) : "cc"); #else /* __s390x__ */ " lrv %0,%1" : "=d" (result) : "m" (*x)); #endif /* __s390x__ */ return result; } include/asm/byteorder.h:43: error: invalid 'asm': cannot decompose address include/asm/byteorder.h:43: error: invalid 'asm': invalid expression as operand include/asm/byteorder.h:43: error: invalid 'asm': unrecoverable error include/asm/byteorder.h:43: Error: missing operand -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=408075 Philipp Thomas <pth@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pth@novell.com AssignedTo|pth@novell.com |hare@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=408075 Hannes Reinecke <hare@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|hare@novell.com |LDPSUSE@de.ibm.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=408075 Hannes Reinecke <hare@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|LDPSUSE@de.ibm.com |schwidefsky@de.ibm.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=408075 User schwidefsky@de.ibm.com added comment https://bugzilla.novell.com/show_bug.cgi?id=408075#c1 --- Comment #1 from Martin Schwidefsky <schwidefsky@de.ibm.com> 2008-07-11 05:56:26 MDT --- The inline assembly is correct as far as I can tell. Is this plain gcc 4.3 or a special SLES variant? And could you please provide a preprocessed *.i file that shows the proble? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=408075 User bugproxy@us.ibm.com added comment https://bugzilla.novell.com/show_bug.cgi?id=408075#c2 LTC BugProxy <bugproxy@us.ibm.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugproxy@us.ibm.com --- Comment #2 from LTC BugProxy <bugproxy@us.ibm.com> 2008-07-11 08:45:44 MDT --- To confirm, does this bug need reverse mirrored into IBM's bugzilla? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=408075 User hare@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=408075#c5 Hannes Reinecke <hare@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenther@novell.com AssignedTo|schwidefsky@de.ibm.com |rguenther@novell.com --- Comment #5 from Hannes Reinecke <hare@novell.com> 2008-07-14 02:27:22 MDT --- Richard says he knows about it ... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=408075 User rguenther@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=408075#c6 --- Comment #6 from Richard Guenther <rguenther@novell.com> 2008-07-14 06:08:37 MDT --- It's a different issue than that we know already. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=408075 User rguenther@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=408075#c7 Richard Guenther <rguenther@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #7 from Richard Guenther <rguenther@novell.com> 2008-07-14 06:24:32 MDT --- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36822 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=408075 Richard Guenther <rguenther@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=408075 User rguenther@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=408075#c8 Richard Guenther <rguenther@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #8 from Richard Guenther <rguenther@novell.com> 2008-07-21 03:01:20 MDT --- Fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com