Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ошибка при сборке #91

Open
e-vasin opened this issue Jun 14, 2018 · 1 comment
Open

Ошибка при сборке #91

e-vasin opened this issue Jun 14, 2018 · 1 comment

Comments

@e-vasin
Copy link

e-vasin commented Jun 14, 2018

Система:

  • Debian GNU/Linux 9 (stretch)
  • build-essential 12.3
  • cmake 3.7.2
  • lua 5.2.4

При выполнении make получен такой вывод:

[ 20%] Linking CXX executable bison
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/crt1.o: relocation R_X86_64_32S against symbol `__libc_csu_fini' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/6/crtbegin.o: relocation R_X86_64_32 against hidden symbol `__TMC_END__' can not be used when making a shared object
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
contrib/tools/bison/bison/CMakeFiles/bison.dir/build.make:738: recipe for target 'contrib/tools/bison/bison/bison' failed
make[2]: *** [contrib/tools/bison/bison/bison] Error 1
CMakeFiles/Makefile2:125: recipe for target 'contrib/tools/bison/bison/CMakeFiles/bison.dir/all' failed
make[1]: *** [contrib/tools/bison/bison/CMakeFiles/bison.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

UPD:
То же на системе Arch Linux 2018.06.01

  • cmake 3.11.3
  • lua 5.3.4
  • gcc 8.1.1
[ 20%] Linking CXX executable bison
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/crtbegin.o: перемещение R_X86_64_32 для скрытый символ «__TMC_END__» не может использоваться при создании объект PIE
/usr/bin/ld: final link failed: Раздел, непредставимый для вывода
collect2: ошибка: выполнение ld завершилось с кодом возврата 1
make[2]: *** [contrib/tools/bison/bison/CMakeFiles/bison.dir/build.make:332: contrib/tools/bison/bison/bison] Ошибка 1
make[1]: *** [CMakeFiles/Makefile2:126: contrib/tools/bison/bison/CMakeFiles/bison.dir/all] Ошибка 2
make: *** [Makefile:84: all] Ошибка 2

UPD2:
Друзья! Может есть у кого-то рабочий бинарник для linux-x64 версии, в конфиге которой принимается параметр MaxFactsCountPerSentence? в сборке, представленной на https://tech.yandex.ru/tomita/ данный параметр не поддерживается.

@shtrih
Copy link

shtrih commented Jul 18, 2018

Успешно собралось с помощью триалки CLion 2018.1.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants