<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="DejaVu Sans">Looks like the problem is
only specific to ..<br>
./os/src/drivers/audio_out<br>
./os/src/drivers/nic<br>
<br>
everything else builds 32bit version on 64bit host platform.<br>
<br>
Sorry for the excess traffic. I'll be getting black balled from
this list.<br>
<br>
Daniel<br>
<br>
</font></font><br>
On 03/14/2011 09:46 AM, Daniel Waddington wrote:
<blockquote cite="mid:4D7E466F.4080506@...60..." type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<font size="-1"><font face="DejaVu Sans">It looks like I need to
add -m32 -L/usr/lib32 to the linux-compiled build flags - not
sure how to do this, CC_OPT doesn't seem to percolate through.<br>
<br>
Daniel</font></font><br>
<br>
On 03/12/2011 04:11 AM, Norman Feske wrote:
<blockquote cite="mid:4D7B62D8.9020304@...1..."
type="cite">
<pre wrap="">Hi David,
as outlined by Stefan, the 'linux_x86' platform looks for the host
system and automatically decides whether to build for 32bit or 64bit. If
the host system is 64bit, then Genode is built for 64bit. This is
because our only current use case for the linux version is running
Genode on the host. However, in your case, this causes trouble.
I'll try to briefly describe what is going on: You can find the
detection-magic at 'base-linux/etc/specs.conf'. Depending on the host
system, the 'spec.conf' file will set the 'linux_x86_64' or
'linux_x86_32' spec value, which triggers the inclusion of
'base-linux/mk/spec-linux_x86_32.mk' or
'base-linux/mk/spec-linux_x86_64.mk' respectively. In these files, the
spec value 'x86_32' (or 'x86_64') get defined, which gets further broken
up in 'base/mk/spec-x86_32.mk' (analogously for 64bit). This spec file
adds the '32bit' spec value. If you like to peek onto the result of the
successive spec decomposition, you might add the following line to
'<build-dir>/Makefile' (right after the 'export SPECS' line:
$(warning SPECS=$(SPECS))
As Stefan already mentioned, you can override the default SPECS
definition by a custom '<build-dir>/etc/specs.conf' file. Note the use
of the assignment in contrast to the version found in
'base-linux/etc/specs.conf'.
</pre>
<blockquote type="cite">
<pre wrap="">I tried to force LIB_MK to the right syscall.mk but it then followed
with a load of redefinition errors. Below is the make VERBOSE_DIR= output.
...
/home/dwaddington/git/omnios/genode/base-linux/../base-linux/sr
</pre>
</blockquote>
<pre wrap="">/platform/x86_64/lx_clone.S:21:
</pre>
<blockquote type="cite">
<pre wrap="">Error: bad register name `%rsi'
</pre>
</blockquote>
<pre wrap="">It seems that the build system has not picked up your custom SPECS
definition and still tries to use the SPECS as defined in
'base-linux/etc/specs.conf'. Hence, the build system keeps trying to
build the 64bit code with the 32bit compiler. As a quick work-around,
just to see if the code works, you may modify the
'base-linux/etc/specs.conf' file. But we should investigate why the
build system ignores your '<build-dir>/etc/specs.conf' file. Could I
have a look at your version of the file?
Best regards
Norman
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<p class="MsoNormal" style=""><b><span style="font-size: 9pt;">Daniel
G. Waddington Ph.D. C.Sci. </span></b><b><span
style="font-size: 9pt;">| </span></b><b><span
style="font-size: 9pt;">Samsung Information Systems
America (SISA)</span></b><span style=""><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span style="font-size: 7.5pt;">Principal
Engineer/Research Manager, Systems Research Group, Computer
Science Lab<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span style="font-size: 7.5pt;
font-family: "Tahoma","sans-serif";
color: gray;" lang="FR">t: 408-544-5675 f: 408-544-5540
c: 408-890-0479</span><span style="font-size: 12pt;
font-family: "Times New Roman","serif";"
lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span style="font-size: 7.5pt;
font-family: "Tahoma","sans-serif";
color: gray;"><a moz-do-not-send="true"
href="mailto:d.waddington@...60..."><span style="color:
blue;" lang="FR">d.waddington@...60...</span></a></span><span
lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-right: 0in; margin-bottom:
5pt; margin-left: 0in;"><span lang="FR"> </span><b><span
styl=""
e="font-size:10.0pt;font-family:"Arial","sans-serif";color:black"
lang="FR"> </span></b><b><span style="color: navy;"
lang="FR"> </span></b><b><span style="font-size: 18pt;
font-family: Webdings; color: green;">P</span></b><span
style="color: navy;"> </span><span style="font-size: 7.5pt;
font-family: "Arial","sans-serif";
color: green;">lease consider the environment before
printing this email.</span><span style="color: navy;"> </span><span
style="font-size: 8pt; font-family:
"Arial","sans-serif";"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-right: 0in; margin-bottom:
5pt; margin-left: 0in;"><span style="font-size: 10pt;
font-family: "Arial","sans-serif";"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-right: 0in; margin-bottom:
5pt; margin-left: 0in;"><span style="font-size: 7pt;
font-family: "Century
Gothic","sans-serif";">This message is
intended only for the named recipient(s) above and may
contain confidential or privileged informat ion or protected
attorney work product. If you are not the intended
recipient, any review, dissemination, distribution or
copying is strictly prohibited. If you have received
this message in error, please immediately notify the sender
and delete this message and its attachments from your
computer and dispose of all other copies or printouts.
Thank you.</span><span style="font-size: 7pt;"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
<a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/internap-sfd2d">http://p.sf.net/sfu/internap-sfd2d</a></pre>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Genode-main mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Genode-main@...12...ceforge.net">Genode-main@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/genode-main">https://lists.sourceforge.net/lists/listinfo/genode-main</a>
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<p class="MsoNormal" style=""><b><span style="font-size: 9pt;
font-family: "Century
Gothic","sans-serif"; color: gray;">Daniel G.
Waddington Ph.D. C.Sci. </span></b><b><span
style="font-size: 9pt; font-family: "Century
Gothic","sans-serif"; color: silver;">| </span></b><b><span
style="font-size: 9pt; font-family: "Century
Gothic","sans-serif"; color: rgb(0, 0, 160);">Samsung
Information Systems America (SISA)</span></b><span
style="font-family: "Times New
Roman","serif";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span style="font-size: 7.5pt;
font-family: "Century
Gothic","sans-serif"; color: rgb(0, 0, 160);">Principal
Engineer/Research Manager, Systems Research Group, Computer
Science Lab<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span style="font-size: 7.5pt;
font-family: "Tahoma","sans-serif"; color:
gray;" lang="FR">t: 408-544-5675 f: 408-544-5540 c:
408-890-0479</span><span style="font-size: 12pt; font-family:
"Times New Roman","serif";" lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span style="font-size: 7.5pt;
font-family: "Tahoma","sans-serif"; color:
gray;"><a href="mailto:d.waddington@...60..."><span
style="color: blue;" lang="FR">d.waddington@...60...</span></a></span><span
lang="FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-right: 0in; margin-bottom: 5pt;
margin-left: 0in;"><span lang="FR"> </span><b><span styl=""
e="font-size:10.0pt;font-family:"Arial","sans-serif";color:black"
lang="FR"> </span></b><b><span style="color: navy;"
lang="FR"> </span></b><b><span style="font-size: 18pt;
font-family: Webdings; color: green;">P</span></b><span
style="color: navy;"> </span><span style="font-size: 7.5pt;
font-family: "Arial","sans-serif"; color:
green;">lease consider the environment before printing this
email.</span><span style="color: navy;"> </span><span
style="font-size: 8pt; font-family:
"Arial","sans-serif";"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-right: 0in; margin-bottom: 5pt;
margin-left: 0in;"><span style="font-size: 10pt; font-family:
"Arial","sans-serif";"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-right: 0in; margin-bottom: 5pt;
margin-left: 0in;"><span style="font-size: 7pt; font-family:
"Century Gothic","sans-serif";">This
message is intended only for the named recipient(s) above and
may contain confidential or privileged informat
ion or protected attorney work product. If you are not the
intended recipient, any review, dissemination, distribution or
copying is strictly prohibited. If you have received
this message in error, please immediately notify the sender
and delete this message and its attachments from your computer
and dispose of all other copies or printouts. Thank you.</span><span
style="font-size: 7pt; font-family: "Century
Gothic","sans-serif";"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>