[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
https://bugzilla.novell.com/show_bug.cgi?id=408075
Hannes Reinecke
https://bugzilla.novell.com/show_bug.cgi?id=408075
Hannes Reinecke
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
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
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
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
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
https://bugzilla.novell.com/show_bug.cgi?id=408075
Richard Guenther
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
participants (1)
-
bugzilla_noreply@novell.com