<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'><a href="http://sourceforge.net/projects/gnuwin32/files/regex/2.7/" target="_blank">http://sourceforge.net/projects/gnuwin32/files/regex/2.7/</a><br><br>Here is the link for regex library.<br><br>There are lib and dll in regex-2.7-bin.zip.<br><br>Kconfig is a seperated tool. If we want to leverage the regex.c in Kconfig, we need to submit a patch.<br><br>Zheng<br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Date: Tue, 7 May 2013 15:30:02 +0200<br>From: wvervoorn@eltan.com<br>To: coreboot@coreboot.org<br>Subject: Re: [coreboot] Building AMD Persimmon in MinGW<br><br><style><!--
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal {
font-size:12.0pt;
font-family:SimSun;
}

.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink {
color:blue;
text-decoration:underline;
}

.ExternalClass span.ecxMsoHyperlinkFollowed {
color:purple;
text-decoration:underline;
}

.ExternalClass p {
font-size:12.0pt;
font-family:SimSun;
}

.ExternalClass p.ecxMsoAcetate, .ExternalClass li.ecxMsoAcetate, .ExternalClass div.ecxMsoAcetate {
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
}

.ExternalClass span.ecxEmailStyle18 {
font-family:"Calibri","sans-serif";
color:#1F497D;
}

.ExternalClass span.ecxBalloonTextChar {
font-family:"Tahoma","sans-serif";
}

.ExternalClass span.ecxEmailStyle21 {
font-family:"Calibri","sans-serif";
color:#1F497D;
}

.ExternalClass .ecxMsoChpDefault {
font-size:10.0pt;
}

.ExternalClass div.ecxWordSection1 {
}

--></style><div class="ecxWordSection1"><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;">Hello,</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;">I noticed that KConfig includes the regex.c and .h files to solve this issue. I did the same for nvramtool.exe and now it seems to work. (At least I can build it and run it without errors). </span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;">Regards,</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"><br>Wim</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm;"><p class="ecxMsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";"> coreboot-bounces@coreboot.org [mailto:coreboot-bounces@coreboot.org] <b>On Behalf Of </b>Wim Vervoorn<br><b>Sent:</b> dinsdag 7 mei 2013 13:09<br><b>To:</b> Zheng Bao; coreboot@coreboot.org<br><b>Subject:</b> Re: [coreboot] Building AMD Persimmon in MinGW</span></p></div></div><p class="ecxMsoNormal"> </p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;">Hello Zheng,</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"><br>Any suggestions where I can find this? I haven¡¯t been able to locate it until now.</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;">Wim</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm;"><p class="ecxMsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";"> Zheng Bao [<a href="mailto:fishbaoz@hotmail.com">mailto:fishbaoz@hotmail.com</a>] <br><b>Sent:</b> dinsdag 7 mei 2013 11:12<br><b>To:</b> Wim Vervoorn; <a href="mailto:coreboot@coreboot.org">coreboot@coreboot.org</a><br><b>Subject:</b> Re: [coreboot] Building AMD Persimmon in MinGW</span></p></div></div><p class="ecxMsoNormal"> </p><div><p class="ecxMsoNormal" style=""><span style="font-family:"Calibri","sans-serif";">You need to find a regex2.dll. Just putting it in folder coreboot is OK.<br><br>Zheng</span></p><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">> Date: Tue, 7 May 2013 09:07:18 +0200<br>> From: <a href="mailto:wvervoorn@eltan.com">wvervoorn@eltan.com</a><br>> To: <a href="mailto:coreboot@coreboot.org">coreboot@coreboot.org</a><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: <a href="mailto:coreboot-bounces@coreboot.org">coreboot-bounces@coreboot.org</a><br>> [<a href="mailto:coreboot-bounces@coreboot.org">mailto:coreboot-bounces@coreboot.org</a>] On Behalf Of Patrick Georgi<br>> Sent: dinsdag 7 mei 2013 8:51<br>> To: <a href="mailto:coreboot@coreboot.org">coreboot@coreboot.org</a><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: <a href="mailto:coreboot@coreboot.org">coreboot@coreboot.org</a><br>> <a href="http://www.coreboot.org/mailman/listinfo/coreboot" target="_blank">http://www.coreboot.org/mailman/listinfo/coreboot</a><br>> <br>> <br>> <br>> -- <br>> coreboot mailing list: <a href="mailto:coreboot@coreboot.org">coreboot@coreboot.org</a><br>> <a href="http://www.coreboot.org/mailman/listinfo/coreboot" target="_blank">http://www.coreboot.org/mailman/listinfo/coreboot</a></span></p></div></div></div><br>-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot</div>                                     </div></body>
</html>