NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

toolchain/46442: gcc 4.1 croaks compiling latest seamonkey



>Number:         46442
>Category:       toolchain
>Synopsis:       gcc 4.1 croaks compiling latest seamonkey
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 12 02:25:00 +0000 2012
>Originator:     David A. Holland
>Release:        NetBSD 5.99.55 (just before the gcc update)
>Organization:
>Environment:
System: NetBSD valkyrie 5.99.55 NetBSD 5.99.55 (VALKYRIE) #3: Sat Oct 15 
05:49:55 EDT 2011  dholland@valkyrie:/usr/src/sys/arch/amd64/compile/VALKYRIE 
amd64
Architecture: x86_64
Machine: amd64
>Description:

Building www/seamonkey 2.9 from today's pkgsrc with gcc 4.1 fails as follows:

/usr/pkgsrc/www/seamonkey/work/comm-release/mozilla/gfx/skia/src/opts/SkBlitRow_opts_SSE2.cpp:
 In function 'void SkARGB32_A8_BlitMask_SSE2(void*, size_t, const void*, 
size_t, SkColor, int, int)':
/usr/pkgsrc/www/seamonkey/work/comm-release/mozilla/gfx/skia/src/opts/SkBlitRow_opts_SSE2.cpp:484:
 error: unable to find a register to spill in class 'GENERAL_REGS'
/usr/pkgsrc/www/seamonkey/work/comm-release/mozilla/gfx/skia/src/opts/SkBlitRow_opts_SSE2.cpp:484:
 error: this is the insn:
(insn:HI 250 249 251 14 (parallel [
            (set (subreg:DI (reg:V16QI 22 xmm1 [orig:226 __q06 ] [226]) 0)
                (ior:DI (reg:DI 1 dx [orig:216 __q06 ] [216])
                    (reg:DI 4 si [orig:218 __q02 ] [218])))
            (clobber (reg:CC 17 flags))
        ]) 315 {*iordi_1_rex64} (insn_list:REG_DEP_TRUE 228 (nil))
    (expr_list:REG_UNUSED (reg:CC 17 flags)
        (expr_list:REG_UNUSED (reg:CC 17 flags)
            (expr_list:REG_DEAD (reg:DI 4 si [orig:218 __q02 ] [218])
                (expr_list:REG_DEAD (reg:DI 1 dx [orig:216 __q06 ] [216])
                    (nil))))))
/usr/pkgsrc/www/seamonkey/work/comm-release/mozilla/gfx/skia/src/opts/SkBlitRow_opts_SSE2.cpp:484:
 confused by earlier errors, bailing out

Unless proven otherwise I think we have to assume this affects netbsd-5.

>How-To-Repeat:

Build www/seamonkey-2.9 on amd64 with gcc 4.1.

>Fix:

Dunno.

If this turns out not to affect netbsd-5 we can forget about it, I
guess, but that would surprise me.

(It doesn't affect gcc 4.5.)



Home | Main Index | Thread Index | Old Index