Bug 9111

Summary: [0.3.10] fails to compile with older gcc
Product: liboil Reporter: Jens Granseuer <jensgr>
Component: unknownAssignee: David Schleef <ds>
Status: RESOLVED FIXED QA Contact: David Schleef <ds>
Severity: normal    
Priority: high    
Version: unspecified   
Hardware: x86 (IA32)   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Jens Granseuer 2006-11-21 11:25:04 UTC
Building liboil 0.3.10 using gcc 2.95 fails with

wavelet.c: In function `mas2_across_add_s16_mmx':
wavelet.c:1343: more than 10 operands in `asm'
wavelet.c: In function `multiply_and_acc_12xn_s16_u8_mmx':
wavelet.c:1556: more than 10 operands in `asm'
make[3]: *** [libi386_la-wavelet.lo] Error 1
make[3]: Leaving directory `/usr/src/packages/BUILD/liboil-0.3.10/liboil/i386'
Comment 1 David Schleef 2007-01-01 01:11:03 UTC
GCC versions prior to 3.4 are not supported.  I'll leave this open, because
configure should fail with a decent error message.
Comment 2 David Schleef 2007-03-17 17:36:54 UTC
I added a check for gcc prior to 3.4.  configure prints out a tiny warning to tell you that GCC inline assembly isn't enabled, instead of failing completely.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.