<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
It looks like i586 suffices. I checked that in to the LINUXLIBC6 config file.<BR>
Probably I386_DARWIN, FreeBSD4, NetBSD2_i386 etc. need updating.<BR>
We can probably adjust m3cc/m3makefile.<BR>
The platforms.quake file won't do, since native builds don't use it.<BR>
 <BR>
 - Jay<BR> <BR>
<HR id=stopSpelling>
From: hosking@cs.purdue.edu<BR>Date: Sun, 7 Feb 2010 13:55:13 -0500<BR>To: jay.krell@cornell.edu<BR>CC: m3devel@elegosoft.com<BR>Subject: Re: [M3devel] atomic problem<BR><BR><BASE>-march=i686
<DIV><BR>
<DIV>
<DIV><SPAN style="TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: 12px Helvetica; WHITE-SPACE: normal; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px" class=ecxApple-style-span><SPAN style="TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: 12px Helvetica; WHITE-SPACE: normal; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px" class=ecxApple-style-span>
<DIV style="WORD-WRAP: break-word"><SPAN style="TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: 12px Helvetica; WHITE-SPACE: normal; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px" class=ecxApple-style-span><SPAN style="TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: 12px Helvetica; WHITE-SPACE: normal; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px" class=ecxApple-style-span><SPAN style="TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: 12px Helvetica; WHITE-SPACE: normal; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px" class=ecxApple-style-span><SPAN style="TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: 12px Helvetica; WHITE-SPACE: normal; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px" class=ecxApple-style-span><SPAN style="TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: 12px Helvetica; WHITE-SPACE: normal; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px" class=ecxApple-style-span><SPAN style="TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: 12px Helvetica; WHITE-SPACE: normal; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px" class=ecxApple-style-span><SPAN style="TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: 12px Helvetica; WHITE-SPACE: normal; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px" class=ecxApple-style-span><SPAN style="TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: 12px Helvetica; WHITE-SPACE: normal; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px" class=ecxApple-style-span>
<DIV><FONT class=ecxApple-style-span color=#0000ff><FONT class=ecxApple-style-span face="Gill Sans"><SPAN style="FONT-FAMILY: 'Gill Sans'; COLOR: rgb(0,0,255)" class=ecxApple-style-span><SPAN style="FONT-FAMILY: 'Gill Sans'; COLOR: rgb(0,0,255)" class=ecxApple-style-span>Antony Hosking</SPAN></SPAN></FONT></FONT><FONT class=ecxApple-style-span face="Gill Sans"><SPAN style="FONT-FAMILY: 'Gill Sans'" class=ecxApple-style-span><SPAN style="FONT-FAMILY: 'Gill Sans'" class=ecxApple-style-span><SPAN class=ecxApple-converted-space> </SPAN>|<SPAN class=ecxApple-converted-space> </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 'Gill Sans'" class=ecxApple-style-span><SPAN style="FONT-FAMILY: 'Gill Sans'" class=ecxApple-style-span>Associate Professor</SPAN></SPAN><SPAN style="FONT-FAMILY: 'Gill Sans'" class=ecxApple-style-span><SPAN style="FONT-FAMILY: 'Gill Sans'" class=ecxApple-style-span> | Computer Science | Purdue University</SPAN></SPAN></FONT></DIV>
<DIV><FONT class=ecxApple-style-span face=GillSans-Light><SPAN style="FONT-FAMILY: GillSans-Light" class=ecxApple-style-span>305 N. University Street | West Lafayette | IN 47907 | USA</SPAN></FONT></DIV>
<DIV><FONT class=ecxApple-style-span color=#0000ff face="Gill Sans"><SPAN style="FONT-FAMILY: 'Gill Sans'; COLOR: rgb(0,0,255)" class=ecxApple-style-span><SPAN style="FONT-FAMILY: 'Gill Sans'; COLOR: rgb(0,0,255)" class=ecxApple-style-span>Office</SPAN></SPAN></FONT><FONT class=ecxApple-style-span face=GillSans-Light><SPAN style="FONT-FAMILY: GillSans-Light" class=ecxApple-style-span><SPAN style="FONT-FAMILY: GillSans-Light" class=ecxApple-style-span> +1 765 494 6001 |<SPAN class=ecxApple-converted-space> </SPAN></SPAN></SPAN></FONT><FONT class=ecxApple-style-span color=#0000ff face="Gill Sans"><SPAN style="FONT-FAMILY: 'Gill Sans'; COLOR: rgb(0,0,255)" class=ecxApple-style-span><SPAN style="FONT-FAMILY: 'Gill Sans'; COLOR: rgb(0,0,255)" class=ecxApple-style-span>Mobile</SPAN></SPAN></FONT><FONT class=ecxApple-style-span face=GillSans-Light><SPAN style="FONT-FAMILY: GillSans-Light" class=ecxApple-style-span><SPAN style="FONT-FAMILY: GillSans-Light" class=ecxApple-style-span><SPAN class=ecxApple-converted-space> </SPAN>+1 765 427 5484</SPAN></SPAN></FONT></DIV>
<DIV><FONT class=ecxApple-style-span face=GillSans-Light><BR class=ecxkhtml-block-placeholder></FONT></DIV></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN><BR class=ecxApple-interchange-newline></SPAN></DIV></SPAN></SPAN><BR class=ecxApple-interchange-newline></DIV><BR>
<DIV>
<DIV>On 7 Feb 2010, at 08:39, Jay K wrote:</DIV><BR class=ecxApple-interchange-newline>
<BLOCKQUOTE><SPAN style="TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium Helvetica; WHITE-SPACE: normal; LETTER-SPACING: normal; WORD-SPACING: 0px" class=ecxApple-style-span>
<DIV style="FONT-FAMILY: Verdana; FONT-SIZE: 10pt" class=ecxhmmessage>ok, better now, but:<BR> <BR>== package /home/jay/dev2/cm3/m3-sys/m3staloneback ==<BR> +++ /cm3/bin/cm3   -build -DROOT=/home/jay/dev2/cm3 -DCM3_VERSION_TEXT=d5.8.2 -<BR>DCM3_VERSION_NUMBER=050802 -DCM3_LAST_CHANGED=2009-07-15 +++<BR>--- building in LINUXLIBC6 ---<BR>ignoring ../src/m3overrides<BR>new source -> compiling Main.m3<BR> -> linking m3back<BR>/cm3/pkg/m3core/LINUXLIBC6/libm3core.so: undefined reference to `__sync_fetch_an<BR>d_and_8'<BR>/cm3/pkg/m3core/LINUXLIBC6/libm3core.so: undefined reference to `__sync_fetch_an<BR>d_or_4'<BR>/cm3/pkg/m3core/LINUXLIBC6/libm3core.so: undefined reference to `__sync_fetch_an<BR>d_sub_1'<BR>/cm3/pkg/m3core/LINUXLIBC6/libm3core.so: undefined reference to `__sync_bool_com<BR>pare_and_swap_4'<BR>/cm3/pkg/m3core/LINUXLIBC6/libm3core.so: undefined reference to `__sync_fetch_an<BR>d_or_1'<BR>/cm3/pkg/m3core/LINUXLIBC6/libm3core.so: undefined reference to `__sync_fetch_an<BR>d_or_2'<BR>/cm3/pkg/m3core/LINUXLIBC6/libm3core.so: undefined reference to `__sync_fetch_an<BR>d_sub_4'<BR>/cm3/pkg/m3core/LINUXLIBC6/libm3core.so: undefined reference to `__sync_fetch_an<BR>d_add_4'<BR>/cm3/pkg/m3core/LINUXLIBC6/libm3core.so: undefined reference to `__sync_bool_com<BR>pare_and_swap_1'<BR>/cm3/pkg/m3core/LINUXLIBC6/libm3core.so: undefined reference to `__sync_fetch_an<BR>d_add_2'<BR>/cm3/pkg/m3core/LINUXLIBC6/libm3core.so: undefined reference to `__sync_fetch_an<BR>d_xor_1'<BR>/cm3/pkg/m3core/LINUXLIBC6/libm3core.so: undefined reference to `__sync_fetch_an<BR>d_and_4'<BR>/cm3/pkg/m3core/LINUXLIBC6/libm3core.so: undefined reference to `__sync_bool_com<BR>pare_and_swap_8'<BR>/cm3/pkg/m3core/LINUXLIBC6/libm3core.so: undefined reference to `__sync_fetch_an<BR><BR><BR> - Jay<BR><BR> <BR>
<HR id=ecxstopSpelling>
From:<SPAN class=ecxApple-converted-space> </SPAN><A href="mailto:jay.krell@cornell.edu">jay.krell@cornell.edu</A><BR>To:<SPAN class=ecxApple-converted-space> </SPAN><A href="mailto:hosking@cs.purdue.edu">hosking@cs.purdue.edu</A>;<SPAN class=ecxApple-converted-space> </SPAN><A href="mailto:m3devel@elegosoft.com">m3devel@elegosoft.com</A><BR>Date: Sun, 7 Feb 2010 13:16:45 +0000<BR>Subject: Re: [M3devel] atomic problem<BR><BR>Probably an out of date m3cg.<BR>I'll see.<BR> <BR> - Jay<BR> <BR>
<HR id=ecxecxstopSpelling>
From:<SPAN class=ecxApple-converted-space> </SPAN><A href="mailto:jay.krell@cornell.edu">jay.krell@cornell.edu</A><BR>To:<SPAN class=ecxApple-converted-space> </SPAN><A href="mailto:hosking@cs.purdue.edu">hosking@cs.purdue.edu</A>;<SPAN class=ecxApple-converted-space> </SPAN><A href="mailto:m3devel@elegosoft.com">m3devel@elegosoft.com</A><BR>Date: Sun, 7 Feb 2010 13:09:57 +0000<BR>Subject: [M3devel] atomic problem<BR><BR>Could be I'm out of date or building in the wrong order.<BR>I'll maybe dig into it.<BR>Linux/x86:<BR> <BR>new source -> compiling AtomicWideChar.m3<BR>../LINUXLIBC6/AtomicWideChar.m3 => ../src/atomic/Atomic.mg: In function 'AtomicW<BR>ideChar__Load':<BR>../LINUXLIBC6/AtomicWideChar.m3 => ../src/atomic/Atomic.mg:0: internal compiler<BR>error: in expand_expr_real_1, at expr.c:7290<BR>Please submit a full bug report,<BR>with preprocessed source if appropriate.<BR>See <<A href="http://gcc.gnu.org/bugs.html">http://gcc.gnu.org/bugs.html</A>> for instructions.<BR>  m3_backend => 4<BR>m3cc (aka cm3cg) failed compiling: AtomicWideChar.mc<BR>new source -> compiling hand.c<BR>new source -> compiling dtoa.c<BR>new source -> compiling libgcc.c<BR>new source -> compiling RTIOc.c<BR><BR></DIV></SPAN></BLOCKQUOTE></DIV><BR></DIV></DIV>                                    </body>
</html>