Tiny Core Base > Corepure64
xfsprogs is very old
ajschorr:
I managed to build inih-r49, like so (possibly totally incorrectly):
meson --prefix=/usr/local . redhat-linux-build -Ddefault_library=shared -Ddistro_install=true
meson compile -C redhat-linux-build --verbose
su root
meson install -C redhat-linux-build --no-rebuild
I then reran in xfsprogs-6.4.0:
./configure --prefix=/usr/local
But it crapped out again:
checking for uuid_compare... no
checking for uuid_compare in -luuid... yes
checking for pthread.h... yes
checking for pthread_mutex_init in -lpthread... yes
checking for urcu.h... no
checking for urcu.h... (cached) no
FATAL ERROR: could not find a valid urcu header. It seems like I'll need that as well, unless there's
a configure option to avoid the requirement. But I don't see one...
Regards,
Andy
Rich:
Hi ajschorr
Build notes for urcu:
http://tinycorelinux.net/13.x/aarch64/tcz/src/urcu/
Once again, modify the flags.
I thought you were working 64 bit, not 32 bit.
The flags for 32 bit should be:
--- Code: ---CFLAGS='-march=i486 -mtune=i686 -Os -pipe -flto -fuse-linker-plugin -fno-exceptions'
CXXFLAGS='-march=i486 -mtune=i686 -Os -pipe -flto -fuse-linker-plugin -fno-exceptions -fno-rtti'
LDFLAGS='-Wl,-O1'
export CFLAGS CXXFLAGS LDFLAGS
--- End code ---
This:
--- Code: ---P=/usr/local/libexec/gcc/aarch64-unknown-linux-gnu/10.2.0/liblto_plugin.so.0.0.0
--- End code ---
should probably be changed to:
--- Code: ---P=/usr/local/lib/gcc/i486-pc-linux-gnu/13.2.0/liblto_plugin.so
--- End code ---
Rich:
Hi ajschorr
--- Quote from: Rich on December 10, 2024, 05:10:39 PM --- ... This:
--- Code: ---P=/usr/local/libexec/gcc/aarch64-unknown-linux-gnu/10.2.0/liblto_plugin.so.0.0.0
--- End code ---
should probably be changed to:
--- Code: ---P=/usr/local/lib/gcc/i486-pc-linux-gnu/13.2.0/liblto_plugin.so
--- End code ---
--- End quote ---
Forget that. It looks like gcc has that library in the right location in TC15 x86.
So skip this part:
--- Code: ---# fix lto
P=/usr/local/libexec/gcc/aarch64-unknown-linux-gnu/10.2.0/liblto_plugin.so.0.0.0
sudo mkdir -p /usr/local/lib/bfd-plugins
sudo ln -sfv $P /usr/local/lib/bfd-plugins/liblto_plugin.so
--- End code ---
ajschorr:
Oops, I am 64-bit, not 32-bit. What did I do wrong that implied 32 bits?
I basically have no idea what I'm doing. I generally don't use TC
except as a rescue shell. Normally, I use RHEL 9. So I'm fairly
clueless and probably making lots of mistakes.
Regards,
andy
Rich:
Hi ajschorr
In your original post you mentioned Core Pure 64.
Then when you mentioned "tinycore 15.0 running inside qemu-kvm"
I somehow got it in my head you were running 32 bit. Sorry, my mistake.
The flags for 64 bit should be:
--- Code: ---CFLAGS='-mtune=generic -Os -pipe -flto -fuse-linker-plugin -fno-exceptions'
CXXFLAGS='-mtune=generic -Os -pipe -flto -fuse-linker-plugin -fno-exceptions -fno-rtti'
LDFLAGS='-Wl,-O1'
export CFLAGS CXXFLAGS LDFLAGS
--- End code ---
Skip this part of the build notes:
--- Code: ---# fix lto
P=/usr/local/libexec/gcc/aarch64-unknown-linux-gnu/10.2.0/liblto_plugin.so.0.0.0
sudo mkdir -p /usr/local/lib/bfd-plugins
sudo ln -sfv $P /usr/local/lib/bfd-plugins/liblto_plugin.so
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version