Current-Users archive

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

Re: port amd64 - netbsd32_machdep.c build failure



I think the following patch will fix this problem. Any objection to committing it?

Index: netbsd32_machdep.c
===================================================================
RCS file: /cvsroot/src/sys/arch/amd64/amd64/netbsd32_machdep.c,v
retrieving revision 1.52
diff -u -p -r1.52 netbsd32_machdep.c
--- netbsd32_machdep.c  18 Sep 2008 21:28:45 -0000      1.52
+++ netbsd32_machdep.c  19 Sep 2008 01:30:41 -0000
@@ -350,7 +350,7 @@ netbsd32_sendsig_siginfo(const ksiginfo_

        tf->tf_rip = (uint64_t)catcher;
        tf->tf_cs = GSEL(GUCODE32_SEL, SEL_UPL);
-       tf->tf_rflags &= ~CLEARSIG;
+       tf->tf_rflags &= ~PSL_CLEARSIG;
        tf->tf_rsp = (uint64_t)fp;
        tf->tf_ss = GSEL(GUDATA32_SEL, SEL_UPL);



On Thu, 18 Sep 2008, Paul Goyette wrote:

This from sources just updated minutes ago...

/build/src/sys/arch/amd64/amd64/netbsd32_machdep.c: In function 'netbsd32_sendsig_siginfo': /build/src/sys/arch/amd64/amd64/netbsd32_machdep.c:353: error: 'CLEARSIG' undeclared (first use in this function) /build/src/sys/arch/amd64/amd64/netbsd32_machdep.c:353: error: (Each undeclared identifier is reported only once /build/src/sys/arch/amd64/amd64/netbsd32_machdep.c:353: error: for each function it appears in.)


----------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:   |
| Customer Service | FA29 0E3B 35AF E8AE 6651 |  paul%whooppee.com@localhost   |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette%juniper.net@localhost |
----------------------------------------------------------------------


----------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:   |
| Customer Service | FA29 0E3B 35AF E8AE 6651 |  paul%whooppee.com@localhost   |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette%juniper.net@localhost |
----------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index