Tiny Core Base > Alpha Releases
Tiny Core 9.0 Alpha 1 Testing
andyj:
OK, I had to ldconfig in the new fs first. But now it can't login, complaining it can't set groups. There's another step?
andyj:
Got it to work, didn't fix the problem making open-vm-tools, so maybe it's a difference in gcc 7.2 behavior. Anyway, I discovered that /lib/udev owner is 755 instead of root. Also, would it be possible to have ldd to give a version string when asked by adding this as the first option:
--- Code: --- --version) echo 'ldd (GNU libc) 2.26'
break
;;
--- End code ---
This would make a few glibc version detection tricks in configure happier.
Juanito:
Maybe it would be better to take the version from /lib/libc.so.6 so that the ldd script would not need to be changed every glibc update?
--- Code: ---$ /lib/libc.so.6
GNU C Library (GNU libc) stable release version 2.26, by Roland McGrath et al.
...
--- End code ---
Juanito:
--- Quote from: andyj on January 11, 2018, 04:53:17 PM ---Got it to work, didn't fix the problem making open-vm-tools, so maybe it's a difference in gcc 7.2 behavior.
--- End quote ---
rpc has been obsolete in glibc for a while now - using open-vm-tools-stable-10.2.0 with:
--- Code: ---LIBS="-ltirpc" CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++-flto -fuse-linker-plugin -mtune=generic -Os -pipe" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --sysconfdir=/etc --without-kernel-modules --disable-glibc-check --without-pam --without-xerces --without-dnet
--- End code ---
..seems to work?
Edit:
--- Code: ---$ nm -D /lib/libnsl-2.26.so | grep -i xdrmem_create
U xdrmem_create
$ nm -D /usr/local/lib/libtirpc.so.3.0.0 | grep -i xdrmem_create
0000000000012e04 T xdrmem_create
--- End code ---
..with LIBS="-lnsl" it fails with:
--- Code: ---/tmp/ccFyMhli.ltrans0.ltrans.o: In function `XdrUtil_Deserialize':
<artificial>:(.text+0xf52): undefined reference to `xdrmem_create'
--- End code ---
andyj:
Tried that already. The problem is that the configure scripts I've come across expect the version to be at the end:
--- Code: ---ldd (GNU libc) 2.26
--- End code ---
which gives 2.26, versus
--- Code: ---GNU C Library (GNU libc) stable release version 2.26, by Roland McGrath et al.
--- End code ---
which gives "al." when then breaks the math. Besides, it's how the full ldd GNU script does it so it seems they change it for every glibc update. How about this instead? A little long but it does the job:
--- Code: --- --version) echo "ldd (GNU libc)" $(ls /lib/libc-*.so | sed -e 's/^.*-//' -e 's/\.so//')
break
;;
--- End code ---
I believe having dnet allows the guest to know if the host's network is disconnected, which might be desirable in some cases. Using TI-RPC it does compile, so I'm going to go with that for now, and add it as a dependency.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version