Skip to content
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

Add 'nweb' as overlay bundle #67

Closed
ivandavidov opened this issue Jun 5, 2017 · 3 comments
Closed

Add 'nweb' as overlay bundle #67

ivandavidov opened this issue Jun 5, 2017 · 3 comments

Comments

@ivandavidov
Copy link
Owner

The nweb project is direct descendant of the original nweb HTTP server developed by Nigel Griffiths.

This HTTP server is so small, easy to compile and easy to use, that it is perfect candidate to become the first overlay bundle enabled by default in the build process since it has no external dependencies and its build process is simple and fast.

As minimum, this should become an overlay bundle. The entire source may be hosted as part of the MLL project since the original license is in the public domain and all other project references that I found either don't explicitly set license or they are in the public domain as well.

@ivandavidov
Copy link
Owner Author

The work has been implemented in PR #68.

@ivandavidov
Copy link
Owner Author

@bauen1 - there is a problem with the sysroot.specs feature that you implemented.

ivan@ubuntu:~/minimal/src/minimal_overlay$ ./overlay_build.sh nweb
Cleaning up the overlay work area. This may take a while...
Ready to continue with the overlay software.
0.01user 0.02system 0:00.06elapsed 59%CPU (0avgtext+0avgdata 2452maxresident)k
0inputs+0outputs (0major+783minor)pagefaults 0swaps
Building overlay bundle 'nweb'...
removing previous work area
+ gcc -specs=/home/ivan/minimal/src/work/sysroot.specs -static-libgcc -Wl,-nostdlib -Os -s -fno-stack-protector -fomit-frame-pointer -U_FORTIFY_SOURCE -Wl,-nostdlib /home/ivan/minimal/src/minimal_overlay/bundles/nweb/nweb23.c -o nweb
/usr/bin/ld: cannot find /lib/libc.so.6
/usr/bin/ld: cannot find /lib/libc_nonshared.a
/usr/bin/ld: cannot find /lib/ld-linux-x86-64.so.2
collect2: error: ld returned 1 exit status
+ set +x
nweb has been build.
install: cannot stat 'nweb': No such file or directory
nweb has been installed.
it will be autostarted on boot
0.26user 0.14system 0:00.46elapsed 86%CPU (0avgtext+0avgdata 23760maxresident)k
0inputs+88outputs (0major+6426minor)pagefaults 0swaps
ivan@ubuntu:~/minimal/src/minimal_overlay$ 

I believe the sysroot.specs feature was introduced in PR #74. Could you please take a look at the above issue? The host machine is Ubuntu 16.04, and the MLL features are:

  • Kernel 4.12.4
  • GNU C library 2.26
  • BusyBox 1.27.1

@ivandavidov
Copy link
Owner Author

I have reverted the -specs change which caused the issue. The nweb bundle works fine. There is separate issue to track the GCC failure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant