-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build_glibc() has nil argument #1
Comments
@WhoisZihan Weird, try running a |
@alyptik Thanks for the quick reply, and I tried your suggestion. Unfortunately, it fails at the same place. Unfortunately again, I tried to replace the value with |
I just saw the update in README file, and I saw
Then I'm a little confused, do I have to installed any pre-requesties before installing Lind? Another question is that how do I compile certain applications with Lind (e.g., wget) while allowing certain system call to pass down to kernel? That means, I'd like to configure what system call to replace and what to not. I saw the instrucitons to compile wget on https://lind.poly.edu/projects/project, but it seems it has been tranferred since the paper was published, so I guess those instructions do not work anymore. Is there any way to compile wget with Lind? Thanks. |
@WhoisZihan No :) Just Another option if you can't get it working is to try the docker images I have uploaded. You can install docker then follow the instructions in the |
Thanks, then I guess I must miss something, could you please point to the exact environment you are using for development? I'd really like to run it on a native linux if possible. I can get more accurate performance statistics in native machine, although container only brings little overhead. I have tried the docker image and I can get a shell, but when I run |
Hi, after looking backward for some lines, I find this error fi; \
rm -rf $backupdir; exit $rc
../../../../SRC/binutils/bfd/doc/bfd.texinfo:326: unknown command `colophon'
../../../../SRC/binutils/bfd/doc/bfd.texinfo:337: unknown command `cygnus'
Makefile:419: recipe for target 'bfd.info' failed
make[5]: *** [bfd.info] Error 1
make[5]: Leaving directory '/home/fma/lind_project/native_client/tools/BUILD/build-binutils-x86_64-nacl/bfd/doc'
Making info in po
make[5]: Entering directory '/home/fma/lind_project/native_client/tools/BUILD/build-binutils-x86_64-nacl/bfd/po' Searching in google gives me possible answer in this issue in riscv-gdb. It seems you are using an older version of texinfo than I do, and new texinfo does not include these 2 commands any more? |
@WhoisZihan Aha, I completely forgot about having to do that, yes, that's correct. I put it in the The subdirectory I'll put that in an issue when I get the chance so we don't forget about it again, thanks for unintentionally reminding me, haha! |
@alyptik I see, I'll try compiling the older texinfo. Do I need to install it on system directory or I can do a local install and specify something like One more little thing I'd like to know is whether I can compile some example applications, for example, applications in the paper? I'd like to measure the performance on my own machine with a newer kernel. I'd appreciate your help. |
@WhoisZihan That should be fine. I installed it to For the second one you should be able to compile most programs, you can check the Some of them are simple one file ones and I also have |
@WhoisZihan said:
Whoops sorry, I completely missed this message! That docker image drops you into a normal View the filesystem:
Copy a file/directory to the filesystem:
Execute a program:
Execute an argument list:
Turn up verbosity (up to seven
Debug a Lind program with
The |
@WhoisZihan As far as my environment goes, I develop on an Arch Linux installation and build most programs by writing a I then copy it over with I can then run it with something like |
@WhoisZihan Sorry again about the lack of documentation with |
@alyptik Wow thank you so much for such a detailed explanation! I will try it as soon as possible. |
@WhoisZihan No problem :) |
Hi @alyptik , It's been a while since our last discussion. I wonder if you are still working on this project? I just replaced the texinfo with the specified version in my Ubuntu 18.04, yet it gives me another error: sh: 1: /home/fma/lind_project/native_client/toolchain/linux_x86/bin/x86_64-nacl-g++: not found
...
**********************************************************************
COMMAND EXECUTION REPORT
**********************************************************************
5 Install
1 g++
6 gcc
2 set
1 x86_64-nacl-g++
3 x86_64-nacl-gcc
**********************************************************************
ENVIRONMENT USAGE REPORT
**********************************************************************
13 dbg-linux-x86-64
5 nacl-x86-64-pic-glibc
**********************************************************************
ERROR REPORT: 1 failures
**********************************************************************
scons-out/nacl-x86-64-pic-glibc/obj/tests/mmap/mmap_test.o failed: Error 127 However, this file does exists $ file /home/fma/lind_project/native_client/toolchain/linux_x86/bin/x86_64-nacl-g++
/home/fma/lind_project/native_client/toolchain/linux_x86/bin/x86_64-nacl-g++: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.15, BuildID[sha1]=bff65d170d29424941159d5dd3a42f5aca309820, stripped
am trying to compile some programs and add some custom tests in the `test_cases` It seems to be 32-bit file, is it expected? Is it the right step if I want to compile the tests under |
Hi
I'm trying to compile your project in Ubuntu 16.04(I tried 18.04 as well). I followed extacly the same instructions in your README file, however, it gives the following errors
It seems to be compiling for
all-bsd
? I don't see how I can specify the architecture. I alreadylibglib2.0-dev
with version 2.48.2-0ubuntu4.1.Here is the extact commands I run (I already installed virtualenv and virtualenvwrapper)
Then I get the error after a while. Did I miss anything? Thanks.
The text was updated successfully, but these errors were encountered: