You are not logged in.
I tried the same using the AUR helper yay, but both the builds failed due to error in making cloog.
Installing devtools and executing extra-x86_64-build produced identical results.
It appears that your system is OK to start CLooG compilation. You need
now to type "make". After compilation, you should check CLooG by typing
"make check". If no problem occur, you can type "make uninstall" if
you are upgrading an old version. Lastly type "make install" to install
CLooG on your system (log as root if necessary).
Making all in .
make[1]: Entering directory '/home/himanshu/.cache/yay/cloog/src/cloog-0.20.0'
CC source/libcloog_isl_la-block.lo
CC source/libcloog_isl_la-clast.lo
CC source/libcloog_isl_la-matrix.lo
CC source/libcloog_isl_la-state.lo
CC source/libcloog_isl_la-input.lo
CC source/libcloog_isl_la-int.lo
CC source/libcloog_isl_la-loop.lo
CC source/libcloog_isl_la-names.lo
CC source/libcloog_isl_la-options.lo
CC source/libcloog_isl_la-pprint.lo
CC source/libcloog_isl_la-program.lo
CC source/libcloog_isl_la-statement.lo
CC source/libcloog_isl_la-stride.lo
CC source/libcloog_isl_la-union_domain.lo
CC source/libcloog_isl_la-util.lo
CC source/libcloog_isl_la-version.lo
CC source/isl/libcloog_isl_la-domain.lo
CC source/isl/libcloog_isl_la-constraints.lo
CC source/isl/libcloog_isl_la-backend.lo
CCLD libcloog-isl.la
CC source/cloog.o
CCLD cloog
CC test/generate_test_advanced.o
CCLD test/generate_test_advanced
texi2dvi -I ./doc --pdf doc/cloog.texi -o doc/cloog.pdf
/usr/bin/texi2dvi: texinfo.tex appears to be broken.
This may be due to the environment variable TEX set to something
other than (plain) tex, a corrupt texinfo.tex file, or
to tex itself simply not working.
This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023/Arch Linux) (preloaded format=etex)
restricted \write18 enabled.
entering extended mode
(./txiversion.tex
! I can't find file `texinfo.tex'.
l.1 \input texinfo.tex
@bye
(Press Enter to retry, or Control-D to exit)
Please type another input file name:
! Emergency stop.
l.1
No pages of output.
Transcript written on txiversion.log.
/usr/bin/texi2dvi: quitting.
make[1]: *** [Makefile:2226: doc/cloog.pdf] Error 1
make[1]: Leaving directory '/home/himanshu/.cache/yay/cloog/src/cloog-0.20.0'
make: *** [Makefile:1549: all-recursive] Error 1
==> ERROR: A failure occurred in build().
Aborting...
-> error making: cloog
According to this thread, gcc4.9 is needed for building gcc4.4, we which I have managed to install so far.
Can someone please guide me through this process?
Last edited by ihsingh2 (2023-06-24 07:36:54)
Offline
This appears to be a massive X-Y problem. Can you provide the source that needs gcc4.8 and gcc4.4? What happens if you try and use the current gcc?
! I can't find file `texinfo.tex'.
With respect to cloog replace "'texlive-core' 'texlive-bin'" with "texlive-plaingeneric" which provides /usr/share/texmf-dist/tex/texinfo/texinfo.tex or alternatively just drop cloog from the depends of gcc44/gcc48 and build without it. With the current PKGBUILDs you no longer need gcc49 to build gcc44/gcc48.
Last edited by loqs (2023-06-23 19:22:11)
Offline
This appears to be a massive X-Y problem. Can you provide the source that needs gcc4.8 and gcc4.4? What happens if you try and use the current gcc?
I need it for running GPUTejas. It makes use of an old version of nvcc compiler that is incompatible with gcc 4.5 and greater. Its setup file explicitly asks for these two versions.
$ nvcc -c test.cu -arch=sm_20
In file included from /usr/include/cuda_runtime.h:59,
from <command-line>:
/usr/include/host_config.h:82:2: error: #error -- unsupported GNU version! gcc 4.5 and up are not supported!
82 | #error -- unsupported GNU version! gcc 4.5 and up are not supported!
| ^~~~~
Actually I was able to run it on Ubuntu using VirtualBox, though the programs were not executing correctly and the system was very laggy. Ubuntu's archive repositories have gcc4.4 and 4.8, as far as I can recall.
With respect to cloog replace "'texlive-core' 'texlive-bin'" with "texlive-plaingeneric" which provides /usr/share/texmf-dist/tex/texinfo/texinfo.tex
'texlive-core' was replaced by 'texlive-basic' in the last update. I will try with texlive-plaingeneric too as a last resort.
alternatively just drop cloog from the depends of gcc44/gcc48 and build without it. With the current PKGBUILDs you no longer need gcc49 to build gcc44/gcc48.
From both the depends array and local _conf right? Trying it.
Last edited by ihsingh2 (2023-06-24 04:38:22)
Offline
The installation terminated with the following: "error: target not found: gcc44".
==> Leaving fakeroot environment.
==> Finished making: gcc44 4.4.7-6 (Sat Jun 24 10:32:49 2023)
==> Installing package gcc44 with pacman -U...
loading packages...
resolving dependencies...
looking for conflicting packages...
Package (2) New Version Net Change
gcc44 4.4.7-6 63.30 MiB
gcc44-debug 4.4.7-6 212.57 MiB
Total Installed Size: 275.87 MiB
:: Proceed with installation? [Y/n]
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing gcc44...
installing gcc44-debug...
resolving dependencies...
looking for conflicting packages...
Package (4) New Version Net Change
core/licenses 20220125-2 0.41 MiB
extra/pyalpm 0.10.6-5 0.20 MiB
extra/python-pyelftools 0.29-2 2.08 MiB
extra/namcap 3.4.2-1 0.84 MiB
Total Installed Size: 3.53 MiB
:: Proceed with installation? [Y/n]
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing licenses...
installing pyalpm...
installing python-pyelftools...
installing namcap...
Checking PKGBUILD
PKGBUILD (gcc44) W: Reference to x86_64 should be changed to $CARCH
Checking gcc44-4.4.7-6-x86_64.pkg.tar.zst
gcc44 W: ELF file ('usr/bin/c++-4.4') lacks FULL RELRO, check LDFLAGS.
gcc44 W: ELF file ('usr/bin/cpp-4.4') lacks FULL RELRO, check LDFLAGS.
gcc44 W: ELF file ('usr/bin/gcc-4.4') lacks FULL RELRO, check LDFLAGS.
gcc44 W: ELF file ('usr/bin/gcov-4.4') lacks FULL RELRO, check LDFLAGS.
gcc44 W: ELF file ('usr/bin/gfortran-4.4') lacks FULL RELRO, check LDFLAGS.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/cc1') lacks FULL RELRO, check LDFLAGS.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/cc1obj') lacks FULL RELRO, check LDFLAGS.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/cc1objplus') lacks FULL RELRO, check LDFLAGS.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/cc1plus') lacks FULL RELRO, check LDFLAGS.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/collect2') lacks FULL RELRO, check LDFLAGS.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/crtbegin.o') lacks FULL RELRO, check LDFLAGS.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/crtbeginS.o') lacks FULL RELRO, check LDFLAGS.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/crtbeginT.o') lacks FULL RELRO, check LDFLAGS.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/crtend.o') lacks FULL RELRO, check LDFLAGS.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/crtendS.o') lacks FULL RELRO, check LDFLAGS.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/crtfastmath.o') lacks FULL RELRO, check LDFLAGS.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/crtprec32.o') lacks FULL RELRO, check LDFLAGS.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/crtprec64.o') lacks FULL RELRO, check LDFLAGS.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/crtprec80.o') lacks FULL RELRO, check LDFLAGS.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/f951') lacks FULL RELRO, check LDFLAGS.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/install-tools/fixincl') lacks FULL RELRO, check LDFLAGS.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/lib/libgcc_s.so.1') lacks FULL RELRO, check LDFLAGS.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/libgfortran.so.3.0.0') lacks FULL RELRO, check LDFLAGS.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/libgomp.so.1.0.0') lacks FULL RELRO, check LDFLAGS.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/libobjc.so.2.0.0') lacks FULL RELRO, check LDFLAGS.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/libstdc++.so.6.0.13') lacks FULL RELRO, check LDFLAGS.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/crtbegin.o') is unstripped.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/crtbeginS.o') is unstripped.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/crtbeginT.o') is unstripped.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/crtend.o') is unstripped.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/crtendS.o') is unstripped.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/crtfastmath.o') is unstripped.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/crtprec32.o') is unstripped.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/crtprec64.o') is unstripped.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/crtprec80.o') is unstripped.
gcc44 W: ELF file ('usr/bin/c++-4.4') lacks PIE.
gcc44 W: ELF file ('usr/bin/cpp-4.4') lacks PIE.
gcc44 W: ELF file ('usr/bin/gcc-4.4') lacks PIE.
gcc44 W: ELF file ('usr/bin/gcov-4.4') lacks PIE.
gcc44 W: ELF file ('usr/bin/gfortran-4.4') lacks PIE.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/cc1') lacks PIE.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/cc1obj') lacks PIE.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/cc1objplus') lacks PIE.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/cc1plus') lacks PIE.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/collect2') lacks PIE.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/crtbegin.o') lacks PIE.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/crtbeginS.o') lacks PIE.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/crtbeginT.o') lacks PIE.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/crtend.o') lacks PIE.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/crtendS.o') lacks PIE.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/crtfastmath.o') lacks PIE.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/crtprec32.o') lacks PIE.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/crtprec64.o') lacks PIE.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/crtprec80.o') lacks PIE.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/f951') lacks PIE.
gcc44 W: ELF file ('usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/install-tools/fixincl') lacks PIE.
gcc44 W: Directory (usr/include) is empty
gcc44 W: Dependency glibc detected and implicitly satisfied (libraries ['usr/lib/libc.so.6', 'usr/lib/libm.so.6', 'usr/lib/ld-linux-x86-64.so.2'] needed in files ['usr/bin/c++-4.4', 'usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/libgfortran.so.3.0.0', 'usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/libobjc.so.2.0.0', 'usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/collect2', 'usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/cc1obj', 'usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/cc1plus', 'usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/libgomp.so.1.0.0', 'usr/bin/gcov-4.4', 'usr/bin/gcc-4.4', 'usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/cc1objplus', 'usr/bin/cpp-4.4', 'usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/libstdc++.so.6.0.13', 'usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/f951', 'usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/install-tools/fixincl', 'usr/bin/gfortran-4.4', 'usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/lib/libgcc_s.so.1', 'usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/cc1'])
gcc44 W: Dependency bash detected and implicitly satisfied (programs ['sh'] needed in scripts ['usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/install-tools/mkheaders', 'usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/install-tools/mkinstalldirs', 'usr/bin/gccbug-4.4', 'usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/install-tools/fixinc.sh'])
gcc44 W: Dependency gcc-libs detected and implicitly satisfied (libraries ['usr/lib/libgcc_s.so.1'] needed in files ['usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/libstdc++.so.6.0.13', 'usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/libobjc.so.2.0.0'])
gcc44 W: Dependency gmp detected and implicitly satisfied (libraries ['usr/lib/libgmp.so.10'] needed in files ['usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/cc1obj', 'usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/f951', 'usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/cc1plus', 'usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/cc1objplus', 'usr/lib/gcc/x86_64-pc-linux-gnu/4.4.7/cc1'])
gcc44 W: Dependency included, but may not be needed ('binutils')
gcc44 W: Dependency included, but may not be needed ('zlib')
gcc44 W: Dependency included, but may not be needed ('elfutils')
Checking gcc44-debug-4.4.7-6-x86_64.pkg.tar.zst
gcc44-debug W: Directory (usr/src/debug/gcc44/gcc-4.4.7/gcc-build/libiberty) is empty
gcc44-debug W: Directory (usr/src/debug/gcc44/gcc-4.4.7/gcc-build/libcpp) is empty
gcc44-debug W: Directory (usr/src/debug/gcc44/gcc-4.4.7/gcc-build/x86_64-pc-linux-gnu/libgcc) is empty
gcc44-debug W: Directory (usr/src/debug/gcc44/gcc-4.4.7/gcc-build/libdecnumber) is empty
gcc44-debug W: Directory (usr/src/debug/gcc44/gcc-4.4.7/gcc-build/fixincludes) is empty
==> Running checkpkg
error: target not found: gcc44
==> WARNING: Skipped checkpkg due to missing repo packages
Offline
Because there's no gcc44 repo package, gcc44 obviously built.
I doubt the skipped check warning is any fatal, though.
include the exact command you use to start the build
Also
pacman -Qs gcc44
Offline
include the exact command you use to start the build
Same as the linked thread suggests.
extra-x86_64-build
pacman -Qs gcc44
Prints nothing.
Offline
And why would you run extra-x86_64-build ?
Edit: because copypasta.
Just build and install the package.
Last edited by seth (2023-06-24 07:17:48)
Offline
Because I have no clue how things work
Offline
https://wiki.archlinux.org/title/Arch_User_Repository
https://man.archlinux.org/man/core/pacman/makepkg.8.en
makepkg -esi # NOT sudo
or just
sudo pacman -U gcc44-4.4.7-6-x86_64.pkg.tar.zst gcc44-debug-4.4.7-6-x86_64.pkg.tar.zst
Offline
Thank you so much!
Offline
With respect to cloog replace "'texlive-core' 'texlive-bin'" with "texlive-plaingeneric" which provides /usr/share/texmf-dist/tex/texinfo/texinfo.tex
Yes, that is it. Either the respective Tex script is unable to find texinfo.tex or it does not exist in the system at all (as is the latter case with me with default texlive-* installation).
I'm not sure if it is relevant or not, setting the envoirment variable TEXINPUTS might help if you find texinfo.tex being located in a non-standard location.
Offline