Closed VishnuEaswaran closed 3 years ago
My system settings
Environment: ubuntu:16.04 image-based container with the help of Docker. Additional packages added on top of the base image are
Gave missing lib libsigsegv-dev. Installed the same.
Fresh build: Attempt after pulling and merging the new changes & additions: commit snapshot
Ran setup script from the top-most directory which ran successfully. Then sourced the export script from _from_ajitrepo and further ran the GeneratememMapForAjit.sh script.
Result: still failed at step2. Error hints a missing file called Makefile.lib.
(please click on the image to view it properly)
Log: Log File
this commit ~seems to~ have solved the missing file issue.
New build after fixing the missing Makefile.lib
Result : failed
here, the first cp error is because of the missing _Generated_memorymap directory.
last error is because of the failed step 2.
log file - link
vmlinux.lds.S seems to be the ld script for the kernel. Yet again, that particular file is missing in our source. I noticed there is a gitignore in the directory where script is supposed to be present, that intentionally ignores vmlinux.lds. But the file missing is vmlinux.lds.S which makes makes things more confusing.
path to the script: Ajit_linux_3.16.1/arch/sparc/kernel/ repo link to the path: link
Tried building the image by copying the mentioned file from here.
Result: no errors noticed after fixing the missing _Generated_memorymap directory. Conclusion: Not sure if this is the right solution. Someone should look into this.
I had not been involved in the linux kernel part of the project yet. Hence most of the stuff mentioned here is alien to me. Thanks for the effort to resolve the issue on your own. I will start looking into this and get back soon.
I noticed that here a change in vmlinux.lds is mentioned
I am a bit delayed on this issue. I am trying to get the grip on the three main components of the build process: buildroot-2014.08, ajit_C_system_model, and the supporting build scripts. As I see since this issue is not a show stopper right now, once these three are properly in shape and reliably reproducible (possibly in a docker image), I will get back to this issue.
I am back on this issue and will update soon. Hopefully with a readable build instructions on the marshal branch.
Linux has been building successfully for a long time now.
The Ajit custom Linux build fails; log files attached. Steps followed are
Brief overview running the script:
LOGFILE: link