<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>You need to find a regex2.dll. Just putting it in folder coreboot is OK.<br><br>Zheng<br><br><div><div id="SkyDrivePlaceholder"></div>> Date: Tue, 7 May 2013 09:07:18 +0200<br>> From: wvervoorn@eltan.com<br>> To: coreboot@coreboot.org<br>> Subject: Re: [coreboot] Building AMD Persimmon in MinGW<br>> <br>> Hello,<br>> <br>> This is the fragment where it fails:<br>> <br>> It seems that the call to regcomp is causing the issue.<br>> <br>> I don't think this has anything to do with direct access to the<br>> hardware. It seems to be some kind of pointer issue, the call seems to<br>> access data it can't reach.<br>> <br>> <br>> /***********************************************************************<br>> *****<br>>  * compile_reg_expr<br>>  *<br>>  * Compile a regular expression.<br>>  <br>> ************************************************************************<br>> ****/<br>> void compile_reg_expr(int cflags, const char *expr, regex_t *reg)<br>> {<br>>         static const size_t ERROR_BUF_SIZE = 256;<br>>         char error_msg[ERROR_BUF_SIZE];<br>>   int result;<br>> <br>> -->>>>     if ((result = regcomp(reg, expr, cflags)) != 0) {  <<---------<br>> <br>>               regerror(result, reg, error_msg, ERROR_BUF_SIZE);<br>>                 fprintf(stderr, "%s: %s\n", prog_name, error_msg);<br>>              exit(1);<br>>  }<br>> <br>>  printf( "compile_reg_expr 3\n");<br>> <br>> }<br>> <br>> <br>> Regards,<br>> <br>> Wim<br>> <br>> -----Original Message-----<br>> From: coreboot-bounces@coreboot.org<br>> [mailto:coreboot-bounces@coreboot.org] On Behalf Of Patrick Georgi<br>> Sent: dinsdag 7 mei 2013 8:51<br>> To: coreboot@coreboot.org<br>> Subject: Re: [coreboot] Building AMD Persimmon in MinGW<br>> <br>> Am 2013-05-07 01:56, schrieb Peter Stuge:<br>> > Sounds right. Would be great to find out more details about why and <br>> > how nvramtool is being used during the build!<br>> During the handling of cmos.layout and cmos.settings (if present and<br>> used).<br>> <br>> We don't need any special hardware access for that and should not use<br>> any such code while building coreboot.<br>> One place to look at is the win32mmap implementation, which _is_ used.<br>> <br>> <br>> Patrick<br>> <br>> -- <br>> coreboot mailing list: coreboot@coreboot.org<br>> http://www.coreboot.org/mailman/listinfo/coreboot<br>> <br>> <br>> <br>> -- <br>> coreboot mailing list: coreboot@coreboot.org<br>> http://www.coreboot.org/mailman/listinfo/coreboot<br></div>                                         </div></body>
</html>