Tiny Core Base > Corepure64
gcc-15.1.0 installation error
chikunjiho920@gmail.com:
running TinyCorePure64 version 16.12.11 in
Oracle VirtualBox Version 7.1.10 r169112 (Qt6.5.3) in
Windows 11 Home 24H2 - 26100.4351 on
AMD Ryzen 5 5625U Acer Aspire Thin & Light Laptop with 48GB RAM (16GB + 32GB) & 512GB SSD NVMe M.2 2280 PCIe3.0
I am installing gcc-15.1.0 and I am getting this error:
--- Code: ---checking for long long... yes
checking size of long long... configure: error: in `/home/tc/gcc-15.1.0/build/gcc':
configure: error: cannot compute sizeof (long long)
See `config.log' for more details
make[2]: *** [Makefile:4424: configure-stage1-gcc] Error 77
make[2]: Leaving directory '/home/tc/gcc-15.1.0/build'
make[1]: *** [Makefile:26661: stage1-bubble] Error 2
make[1]: Leaving directory '/home/tc/gcc-15.1.0/build'
make: *** [Makefile:1103: all] Error 2
--- End code ---
Similar error while installing ruby-3.4.4
Any help to resolve would be appreciated. Thanks.
Rich:
Hi chikunjiho920@gmail.com
That's not an installation error, that's a build error. TC16 x86_64 has
gcc 14.2.0 available. For some reason you are attempting to build
version 15.1.0.
When compiling anything on Tinycore, you should install a proper
toolchain, which is compiletc.tcz.
Did you do that?
Notes related to building gcc are included in here:
http://tinycorelinux.net/16.x/x86_64/release/src/toolchain/compile_tc16_x86_64
You may need to rebuild some gcc dependencies first, I don't know.
Juanito typically builds the toolchain, maybe he has some additional comments.
Notes on how the currently available version of ruby was compiled are here:
http://tinycorelinux.net/15.x/x86_64/tcz/src/ruby/compile_ruby
Why are you attempting to rebuild gcc and ruby?
chikunjiho920@gmail.com:
Hi Rich,
--- Quote ---That's not an installation error, that's a build error.
--- End quote ---
Yes, build error.
Issue resolved.
installing
--- Code: ---compiletc.tcz
--- End code ---
along with
--- Code: ---perl5 ncursesw-dev bash mpc-dev udev-lib-dev texinfo coreutils glibc_apps gettext python3.9
--- End code ---
fixed the error and resolved the issue as you mentioned & provided the relevant link to. Thank you so much.
--- Quote ---Why are you attempting to rebuild gcc and ruby?
--- End quote ---
Well I am just exploring to build and install various programs that in turn required Ruby & GCC versions.
chikunjiho920@gmail.com:
After 3 hours of Build process I am getting this error:
--- Code: --- -o build/genautomata.o ../../gcc/genautomata.cc
/home/tc/gcc-15.1.0/build/./prev-gcc/xg++ -B/home/tc/gcc-15.1.0/build/./prev-gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -nostdinc++ -B/home/tc/gcc-15.1.0/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -B/home/tc/gcc-15.1.0/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -I/home/tc/gcc-15.1.0/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/home/tc/gcc-15.1.0/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/include -I/home/tc/gcc-15.1.0/libstdc++-v3/libsupc++ -L/home/tc/gcc-15.1.0/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -L/home/tc/gcc-15.1.0/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -g -O2 -fchecking=1 -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-error=narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Wconditionally-supported -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -static-libstdc++ -static-libgcc -o build/genautomata \
build/genautomata.o build/rtl.o build/read-rtl.o build/ggc-none.o build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o build/hash-table.o build/sort.o build/read-md.o build/errors.o .././libiberty/libiberty.a -lm
build/genautomata ../../gcc/common.md ../../gcc/config/i386/i386.md \
insn-conditions.md > tmp-automata.cc
make[3]: *** [Makefile:2796: s-automata] Killed
make[3]: Leaving directory '/home/tc/gcc-15.1.0/build/gcc'
make[2]: *** [Makefile:4816: all-stage3-gcc] Error 2
make[2]: Leaving directory '/home/tc/gcc-15.1.0/build'
make[1]: *** [Makefile:26902: stage3-bubble] Error 2
make[1]: Leaving directory '/home/tc/gcc-15.1.0/build'
make: *** [Makefile:1103: all] Error 2
--- End code ---
Appreciate any help to resolve this error. Thanks.
Rich:
Hi chikunjiho920@gmail.com
I "think" your problem occurred here:
--- Code: --- ----- Snip -----
make[3]: *** [Makefile:2796: s-automata] Killed
----- Snip -----
--- End code ---
Your process might have been killed by the kernels
Out Of Memory (OOM) killer.
You should be able to confirm that by running it again
and checking dmesg for a kill message after it dies:
--- Code: ---dmesg | grep -i kill
--- End code ---
Navigation
[0] Message Index
[#] Next page
Go to full version