Error while building Glibc 2.25 on Ubuntu 20.04 - makefile

I'm trying to build Glibc 2.25 on an Ubuntu 20.04 machine and using the build instructions given here : https://sourceware.org/glibc/wiki/Testing/Builds#Building_glibc_with_intent_to_install
I'm getting this error when running the make command :
make: libc.so.6: version `GLIBC_2.27' not found (required by make)
What could this error possibly mean ?

Related

Install xdebug failing on Mac

I am running MacOS Big Sur (ver 11.4) w/ PHP 7.4.19. I am trying to install xdebug w/ homebrew:
pecl install xdebug
but it fails with:
5 warnings and 4 errors generated.
make: *** [xdebug.lo] Error 1
ERROR: `make' failed
I tried downloading source and running make but I get the same error:
In file included from /usr/local/Cellar/php#7.4/7.4.19_1/include/php/Zend/zend.h:356:
/usr/local/Cellar/php#7.4/7.4.19_1/include/php/Zend/zend_operators.h:523:10: error:
'asm goto' constructs are not supported yet
__asm__ goto(
I have Googled to no avail. Has anyone else encountered this?
This is because of a mismatch between compilers. You didn't enough include information about which part was compiled by which compiler, but one of them was compiled by LLVM, and the other with GCC. This causes a mismatch.
You need to make sure that you're using the same compiler for both.

Compiling xv6 code but giving the errors on assembly instruction

I am using Ubuntu 18.04.2 LTS under windows 10 by using "Windows subsystem for Linux." I am experiencing some issues with XV6.
I set up XV6 by using the command:
git clone git://pdos.csail.mit.edu/xv6/xv6.git
sudo apt-get install libc6-dev
chmod 700 -R xv6-riscv
But when I typed in make command, I having the following issue:
***
*** Error: Couldn't find an riscv64 version of GCC/binutils.
*** To turn off this error, run 'gmake TOOLPREFIX= ...'.
***
gcc -c -o kernel/entry.o kernel/entry.S
kernel/entry.S: Assembler messages:
kernel/entry.S:17: Error: no such instruction: `la sp,stack0'
kernel/entry.S:18: Error: no such instruction: `li a0,1024*4'
kernel/entry.S:19: Error: no such instruction: `csrr a1,mhartid'
kernel/entry.S:20: Error: no such instruction: `addi a1,a1,1'
kernel/entry.S:21: Error: too many memory references for `mul'
kernel/entry.S:22: Error: too many memory references for `add'
kernel/entry.S:26: Error: no such instruction: `j junk'
<builtin>: recipe for target 'kernel/entry.o' failed
make: *** [kernel/entry.o] Error 1
Can anyone help me with this? (I am using an x64 system)
you should check this link: https://pdos.csail.mit.edu/6.828/2019/tools.html
for me I am running ubuntu, so I compiled the toolchain myself and then it works
I was running MacOS and had the same error. I solved it by updating the ~/.bashrc with:
PATH=$PATH:/usr/local/opt/riscv-gnu-toolchain/bin
before sourcing it or open a new interactive session. Then make qemu under xv6-riscv just ran!
So I would suggest you go back and check if you've finished each step: install toolchain, update env vars, source, and make.
For Suse you can install cross-riscv64-gccX package, where X is the gcc version
Then use
TOOLPREFIX=/usr/bin/riscv64-suse-linux-
it worked for me

vecintrin.h: No such file or directory

While building TensorFlow with vectorization, I get below error:
external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/Core:248:27:
fatal error: vecintrin.h: No such file or directory compilation
terminated.
I don't see this on Ubuntu 17.04 (GCC v6.3.0), however it is appearing on Ubuntu 16.04 (GCC v5.4.0).
Is it related to GCC version? or some dependency is needed?

Cannot compile 5.1.1 in Win10 x64

When I try to compile omnet++, I get this error:
$/c/opt/omnetpp-5.1.1$ ./configure
configure: loading site script /mingw64/etc/config.site
configure: error: cannot run /bin/sh src/utils/config.sub
v5.1 gives the same error. v5.0 works fine. I suspect this is because of the switch to x64.
This was due to mactype. Fixed: https://github.com/msys2/msys2/issues/25

ITK build Cmake (Gcc compiler) error

Trying to compile ITK software using Cmake on a Linux system. Build fails after 39% complete with following error:
"make[2]: * [Wrapping/Generators/GccXML/llvm-prefix/src/llvm-stamp/llvm-configure] Error 1
make[1]: * [Wrapping/Generators/GccXML/CMakeFiles/llvm.dir/all] Error 2
make: *** [all] Error 2"
Help?
Also mentions that gcc needs to be version 4.7 or higher, but system has 4.8 installed.

Resources