Bug 9111 - [0.3.10] fails to compile with older gcc
Summary: [0.3.10] fails to compile with older gcc
Status: RESOLVED FIXED
Alias: None
Product: liboil
Classification: Unclassified
Component: unknown (show other bugs)
Version: unspecified
Hardware: x86 (IA32) All
: high normal
Assignee: David Schleef
QA Contact: David Schleef
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-21 11:25 UTC by Jens Granseuer
Modified: 2007-03-17 17:36 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.