Bug 8437

Summary: unrecognizable insn in X11R7.1/Mesa-6.5.1/src/mesa/shader/shaderobjects_3dlabs.c
Product: xorg Reporter: Peter Dyballa <Peter_Dyballa>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED NOTOURBUG QA Contact:
Severity: normal    
Priority: high    
Version: 7.1 (2006.05)   
Hardware: PowerPC   
OS: Mac OS X (All)   
Whiteboard:
i915 platform: i915 features:

Description Peter Dyballa 2006-09-27 11:01:55 UTC
When 'Building xserver module component ...':

shaderobjects_3dlabs.c: In function ‘_program_WriteUniform’:
shaderobjects_3dlabs.c:1479: error: unrecognizable insn:
(insn:HI 400 395 401 54 (set (reg:V4SI 284)
        (unspec:V4SI [
                (reg:V4SI 276)
                (reg:V4SF 278)
            ] 54)) -1 (insn_list:REG_DEP_TRUE 393 (nil))
    (expr_list:REG_DEAD (reg:V4SI 276)
        (expr_list:REG_EQUAL (unspec:V4SI [
                    (reg:V4SI 276)
                    (reg:V4SF 278)
                ] 54)
            (nil))))
shaderobjects_3dlabs.c:1479: internal compiler error: in extract_insn, at recog.c:2033
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
{standard input}:1663:FATAL:.abort  detected.  Assembly stopping.
make[4]: *** [shaderobjects_3dlabs.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

It went fine to make the Mesa libraries.

Is there a way to switch off certain parts of the X server, i.e. support for those graphics cards that never 
will be found in my Apple PowerBook?

Mac OS X 10.4.7, GCC 4.0.1
Comment 1 Michel Dänzer 2006-09-28 00:45:48 UTC
(In reply to comment #0)
> shaderobjects_3dlabs.c:1479: internal compiler error: in extract_insn, at
recog.c:2033
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://developer.apple.com/bugreporter> for instructions.

As this states quite clearly, this is a bug in the compiler, not our code.

> Is there a way to switch off certain parts of the X server, i.e. support for
those graphics cards that never 
> will be found in my Apple PowerBook?

You should be able to avoid this with configure --disable-glx.

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.