[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Error in linking ?
From: |
GeOdys |
Subject: |
Error in linking ? |
Date: |
Fri, 30 Aug 2024 11:18:45 +0300 |
User-agent: |
Mozilla Thunderbird |
Hello to all.
In a Void Linux installation I followed the steps:
1. git clone git://gcc.gnu.org/git/gcc.git gcc-git
2. cd gcc-git
3. mkdir build
4. cd build
5. sudo vpm install -y gmp gmp-devel gmpxx gmpxx-devel mpfr mpfr-devel
mpc libmpc libmpc-devel libmpcdec libmpcdec-devel flex dejagnu
6. ../configure --enable-languages=m2 --disable-multilib --prefix=$HOME/opt
7. make -j 30
8. make install
then the last one resulted in:
/usr/bin/ld: build/gengtype-parse.o: warning: relocation against
lexer_line' in read-only section .text'
/usr/bin/ld: build/gengtype.o: in function
`create_optional_field_(pair*, type*, char const*, char const*, int)':
/home/odysseus/gcc-git/build/gcc/../../gcc/gengtype.cc:1030:(.text+0x1e04):
undefined reference to `lexer_line'
/usr/bin/ld: build/gengtype.o: in function `adjust_field_rtx_def(type*,
options*)':
/home/odysseus/gcc-git/build/gcc/../../gcc/gengtype.cc:1165:(.text+0x214a):
undefined reference to `lexer_line'
/usr/bin/ld:
/home/odysseus/gcc-git/build/gcc/../../gcc/gengtype.cc:1220:(.text+0x2479):
undefined reference to `lexer_line'
/usr/bin/ld:
/home/odysseus/gcc-git/build/gcc/../../gcc/gengtype.cc:1230:(.text+0x255f):
undefined reference to `lexer_line'
/usr/bin/ld:
/home/odysseus/gcc-git/build/gcc/../../gcc/gengtype.cc:1296:(.text+0x2967):
undefined reference to `lexer_line'
/usr/bin/ld:
build/gengtype.o:/home/odysseus/gcc-git/build/gcc/../../gcc/gengtype.cc:1336:
more undefined references to `lexer_line' follow
/usr/bin/ld: build/gengtype-parse.o: in function `token()':
/home/odysseus/gcc-git/build/gcc/../../gcc/gengtype-parse.cc:54:(.text+0x1d):
undefined reference to `yylex(char const**)'
/usr/bin/ld: build/gengtype-parse.o: in function `parse_error(char
const*, ...)':
/home/odysseus/gcc-git/build/gcc/../../gcc/gengtype-parse.cc:142:(.text+0x1a7):
undefined reference to `lexer_line'
/usr/bin/ld:
/home/odysseus/gcc-git/build/gcc/../../gcc/gengtype-parse.cc:142:(.text+0x1ae):
undefined reference to `lexer_line'
/usr/bin/ld: build/gengtype-parse.o: in function `struct_field_seq()':
/home/odysseus/gcc-git/build/gcc/../../gcc/gengtype-parse.cc:846:(.text+0x128e):
undefined reference to `lexer_line'
/usr/bin/ld: build/gengtype-parse.o: in function `type(options**, bool)':
/home/odysseus/gcc-git/build/gcc/../../gcc/gengtype-parse.cc:895:(.text+0x13c5):
undefined reference to `lexer_line'
/usr/bin/ld:
/home/odysseus/gcc-git/build/gcc/../../gcc/gengtype-parse.cc:934:(.text+0x146a):
undefined reference to `lexer_line'
/usr/bin/ld:
build/gengtype-parse.o:/home/odysseus/gcc-git/build/gcc/../../gcc/gengtype-parse.cc:934:
more undefined references to `lexer_line' follow
/usr/bin/ld: build/gengtype-parse.o: in function `parse_file(char const*)':
/home/odysseus/gcc-git/build/gcc/../../gcc/gengtype-parse.cc:1154:(.text+0x1ab6):
undefined reference to `yybegin(char const*)'
/usr/bin/ld:
/home/odysseus/gcc-git/build/gcc/../../gcc/gengtype-parse.cc:1180:(.text+0x1b1d):
undefined reference to `lexer_toplevel_done'
/usr/bin/ld:
/home/odysseus/gcc-git/build/gcc/../../gcc/gengtype-parse.cc:1185:(.text+0x1b2e):
undefined reference to `yyend()'
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:3198: build/gengtype] Error 1
make[3]: *** Waiting for unfinished jobs....
rm gcc.pod
make[3]: Leaving directory '/home/odysseus/gcc-git/build/gcc'
make[2]: *** [Makefile:5055: all-stage1-gcc] Error 2
make[2]: Leaving directory '/home/odysseus/gcc-git/build'
make[1]: *** [Makefile:25651: stage1-bubble] Error 2
make[1]: Leaving directory '/home/odysseus/gcc-git/build'
make: *** [Makefile:1101: all] Error 2
ANY ideas?
Thank you in advance!
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Error in linking ?,
GeOdys <=