Menu

#184 iconc trying to compile /usr/lib64/libstdc++, fails

None
closed
4
2017-05-10
2014-02-01
No

on debian wheezy 32bit,
make X-Configure name=x86_32_linux
make Uniconc
cd tests/general
$ICONC -v 8 evalx|grep lib64 # grepping to omit stats
Translating to C:
evalx.icn:
tv-init: nrttyp: 171 n-tvtbl-bkts: 2048
type inferencing: 39, 0
No errors; no warnings
Compiling and linking C code:
gcc-4.7.real: error: /usr/lib64/libstdc++.so.6: No such file or directory
C compile and link failed
system(gcc -O2 -fomit-frame-pointer -I/uni140130/bin/../src/libtp
-I/uni140130/bin/../src/gdbm -I/uni140130/bin/../src/xpm
-o evalx evalx.c /uni140130/bin/rt.a /usr/lib64/libstdc++.so.6 -L/uni140130/bin/
-ltp -lgdbm -lXpm -lGL -lGLU -L/usr/lib -lXft -lpthread -liodbc -lGLU -lGL
-lpng -ljpeg -lX11 -lz -lalut -lopenal -lsmpeg -lSDL -lvorbisfile -lvorbis
-logg -lftgl -lfreetype -lcrypt -lrt -lnsl -lm -lz -ljpeg -lm -lstdc++ )...

note /usr/lib64/libstdc++.so.6 listed as a source file
IIRC something very similar occured on Linux Mint 16, 64bit,
make X-Configure name=x86_64_linux

Discussion

  • Clinton Jeffery

    Clinton Jeffery - 2017-01-12
    • assigned_to: Charles Evans --> Clinton Jeffery
    • Group: -->
    • Priority: 5 --> 4
     
  • Clinton Jeffery

    Clinton Jeffery - 2017-01-12

    Need to re-check, a fix might or might not have been applied already. C++ library used only if 3D facilities need it for fonts (freetype opengl integration), and the lib link might have been removed by default.

     
  • Charles Evans

    Charles Evans - 2017-01-23

    Will do

     
  • Jafar

    Jafar - 2017-01-23

    It feels like I came to an encounter with this a while back (a year ago or so) and fixed a few things. Will leave it to Charles Evans to confrim :-)

     
  • Clinton Jeffery

    Clinton Jeffery - 2017-01-26
    • status: open --> pending-fixed
     
  • Clinton Jeffery

    Clinton Jeffery - 2017-01-26

    I reviewed src/iconc/ccomp.c and it appears the reference to stdc++ is now properly under an #if and is not hardwired to a version # so I think we are OK.

     
  • Charles Evans

    Charles Evans - 2017-05-10

    I think it is fixed,
    I have used iconc successfully,
    but with FTG: no (see bug [#235] )
    I am uncertain if I am reproducing
    the test case now.

     

    Related

    Bugs: #235

  • Clinton Jeffery

    Clinton Jeffery - 2017-05-10
    • status: pending-fixed --> closed
     

Log in to post a comment.