<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Thanks.<br>
I don't think that CCL cares where the text segment starts on ARM
Linux any more, though it once did<br>
(for fairly bloodcurdling reasons.)<br>
<br>
If you get a chance, could you try:<br>
<tt><br>
</tt>1 running ccl on your tegra, noting the pid of the resulting
process (PID below)<br>
2 in another shell, doing<br>
$ cat /proc/PID/maps<tt><i><br>
</i></tt>and letting me see the output ?<br>
<br>
whatever may be there, there is no reason for the linker script to
clobber it, but I'm<br>
curious.<br>
<br>
As far as I know, we should change or remove the custom linker
script.<br>
<br>
<div class="moz-cite-prefix">On 02/24/2016 01:58 AM, Timothy Moore
wrote:<br>
</div>
<blockquote cite="mid:56CD70B3.20909@bricoworks.com" type="cite">
<pre wrap="">Hi,
I was unable to run ccl on an NVidia Tegra running Arch Linux. The program would be killed immediately on startup; I couldn't even start it using gdb. The problem turned out to be that the start of the executable's text segment was mapped to address 0x0 (or at least to a low address), which is reserved in this configuration. I changed the linker script to initialize the beginning of the text segment in the same way that the default script does; I'm happy to report that ccl works very well on this Acer Chromebook now.
I have no idea if the memory map is particular to Arch Linux, or this version of the kernel (3.10.18 arm7l), the ARM version, or what. Here is the /proc/cpuinfo for one (out of four) processor:
processor : 0
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 22.84
Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part : 0xc0f
CPU revision : 3
Attached is my fix to the linker script. I don't know if this is sufficiently generic to work for Linux on ARM in general.
Thanks,
Tim
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Openmcl-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Openmcl-devel@clozure.com">Openmcl-devel@clozure.com</a>
<a class="moz-txt-link-freetext" href="https://lists.clozure.com/mailman/listinfo/openmcl-devel">https://lists.clozure.com/mailman/listinfo/openmcl-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>