Menu

#174 Compilation error with gcc 6.3, Archlinux

None
closed-fixed
None
5
2018-08-28
2017-08-08
Eyolf
No

During compilation, I get the following error:

Building stockfish-scidb
g++-6.3: error trying to exec 'lto1': execvp: No such file or directory
lto-wrapper: fatal error: g++-6.3 returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
make[2]: *** [Makefile:249: stockfish-scidb] Error 1
make[1]: *** [Makefile:16: all] Error 1
make: *** [Makefile:22: all] Error 2

Previously I got around this by commenting out all the references to engines in the makefile, but after the most recent commit, with the new engine functions, this doesn't work any longer. If I try to open an engine or the engine setup, I get this error:

can't read "Cursors(left_ptr)": no such element in array
loadArray1
ttk::setCursor .application.adminEngines.top.nb.features.sub.html left_ptr
html::Build .application.adminEngines.top.nb.features -imagecmd {::namespace inscope ::engine GetImage} -center no -fittowidth yes -width 0 -height 0 -borderwidth 1 -relief sunken -doublebuffer no -exportselection yes -cursor left_ptr -showhyphens no -css {
:link    { color: blue2; text-decoration: none; }
:visited { color: purple; text-decoration: none; }
:user    { color: blue2; text-decoration: none; }   /* http link */
:user2   { color: purple; text-decoration: none; }  /* http visited */
:user3   { color: black; text-decoration: none; }   /* invalid link */
:hover   { text-decoration: underline; background: none; }
.match   { background: yellow; color: black; }
body     { color: black; }
pre, tt, code, kbd { font-family: "DejaVu Sans Mono","Bitstream Vera Sans Mono","DejaVu Sans"; }
html { font-family: "Arial","DejaVu Sans","Nimbus Sans","Bitstream Vera Sans","Helvetica Neue","Helvetica Neue LT Std","Verdana"; }
} -usehorzscroll no -usevertscroll yes -takefocus 0
::html .application.adminEngines.top.nb.features -imagecmd {::namespace inscope ::engine GetImage} -center no -fittowidth yes -width 0 -height 0 -borderwidth 1 -relief sunken -doublebuffer no -exportselection yes -cursor left_ptr -showhyphens no -css {
:link    { color: blue2; text-decoration: none; }
:visited { color: purple; text-decoration: none; }
:user    { color: blue2; text-decoration: none; }   /* http link */
:user2   { color: purple; text-decoration: none; }  /* http visited */
:user3   { color: black; text-decoration: none; }   /* invalid link */
:hover   { text-decoration: underline; background: none; }
.match   { background: yellow; color: black; }
body     { color: black; }
pre, tt, code, kbd { font-family: "DejaVu Sans Mono","Bitstream Vera Sans Mono","DejaVu Sans"; }
html { font-family: "Arial","DejaVu Sans","Nimbus Sans","Bitstream Vera Sans","Helvetica Neue","Helvetica Neue LT Std","Verdana"; }
} -usehorzscroll no -usevertscroll yes -takefocus 0
::engine::openAdmininstration .application
::tk::menu::WidgetProc .application.nb.menu_main.entries.mSetup invoke active
::tk::menu::WidgetProc .application.nb.menu_main.entries.mSetup invoke active
.application.nb.menu_main.entries.mSetup invoke active
1
tk::MenuInvoke .application.nb.menu_main.entries.mSetup 1

Discussion

  • Gregor Cramer

    Gregor Cramer - 2017-08-10
    • status: open --> closed-fixed
    • assigned_to: Gregor Cramer
     
  • Gregor Cramer

    Gregor Cramer - 2017-08-10

    can't read "Cursors(left_ptr)": no such element in array

    I've committed [r1403], this bug should not happen anymore.

    Building stockfish-scidb
    g++-6.3: error trying to exec 'lto1': execvp: No such file or directory
    lto-wrapper: fatal error: g++-6.3 returned 1 exit status

    This is a setup problem of the compiler, and not related to Scidb, I cannot help. It's a catstrophe that ArchLinux has bundled gcc7.1, this compiler had a severe problem, only the newer patch levels seems to work. And gcc6.3 has not been installed properly, I don't know how to fix this.

     

    Related

    Commit: [r1403]


Log in to post a comment.

Auth0 Logo