• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC Design
  3. GCC_3.3.1 error while invoking icfb 5141

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 125
  • Views 14865
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

GCC_3.3.1 error while invoking icfb 5141

kdev
kdev over 14 years ago

Hi,

Thanks in advance! 

When I invoke the tool from /opt/cadence/ic5141/tools/dfII/bin/icfb

I get following error:

[root@localhost sf_Cadence]# icfb &
[1] 17463
[root@localhost sf_Cadence]# /bin/sh: /opt/cadence/ic5141//tools/lib/libgcc_s.so.1: version `GCC_3.3.1' not found (required by /bin/sh)

[1]+  Exit 1                  icfb

If you know the answer, you could ignore the below details. Otherwise below are the details about my setup and environement setup on m my PC:

1) I have following three gcc compiler in bin directory:

[root@localhost sf_Cadence]# ls /usr/bin/gcc*
/usr/bin/gcc  /usr/bin/gcc-3.1  /usr/bin/gcc3-version

2) When I try to see the version of gcc, I get 4.6 version of gcc as below (this is the default gcc which was installed, I had to install gcc3):

[root@localhost sf_Cadence]# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-redhat-linux/4.6.0/lto-wrapper
Target: i686-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch=i686 --build=i686-redhat-linux
Thread model: posix
gcc version 4.6.0 20110530 (Red Hat 4.6.0-9) (GCC)

3) when I try to see the gcc3 version, I get following:

[root@localhost sf_Cadence]# gcc-3.1 -v
Reading specs from /usr/lib/gcc-lib/i586-pc-linux/3.1/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --host=i586-pc-linux --program-suffix=-3.1
Thread model: posix
gcc version 3.1

4) You might notice from below, I have added path of gcc3.1 in LD_LIBRARY_PATH: "/usr/bin/gcc-3.1" hoping that the error will go away. i installed this gcc3.1 from follwoing website : http://rpm.pbone.net/index.php3/stat/4/idpl/8446010/dir/turbolinux/com/gcc3-3.1.1-1.i586.rpm.html

5) I source following file to set the tool related environment variables:

# --------------Excerpt from .bashrc-----------------------------
export CDS_ROOT=/opt/cadence/ic5141/
export CDS_INST_DIR=$CDS_ROOT
export CDS_INSTALL_DIR=$CDS_ROOT/tools/dfII
export CDSDIR=$CDS_ROOT/tools
export CDS_Netlisting_Mode=Analog
export XKEYSYMDB=$CDS_ROOT/share/cdssetup/tdmX11/XKeysymDB
export XNLSPATH=$CDS_ROOT/share/cdssetup/tdmX11/nls
export CDS_WAVESCAN_JRE_DIR=$CDS_ROOT/tools/jre1.42
export CDS_LIC_FILE=xxxx@rice.edu
export LM_LICENSE_FILE=xxxx@rice.edu
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/bin/gcc-3.1:$CDS_ROOT/tools/lib:$CDS_INSTALL_DIR/lib

PATH=$PATH:$CDSDIR/bin:$CDSDIR/dfII/bin:$CDSDIR/SKILL06.00/context:$CDSDIR/SKILL06.10/context:$CDSDIR/dracula/bin
PATH=$PATH:$MMSIM_ROOT/tools/bin:$MMSIM_ROOT/tools/spectre/bin:$CDS_ROOT/tools/bin:$CDS_ROOT/tools/dfII/bin:/usr/sbin
PATH=$CDS_ROOT/tools/bin:$CDS_INSTALL_DIR/bin:$CDS_ROOT/tools/spectre/bin
PATH=$PATH:$CDS_ROOT/tools/bin:$CDS_INSTALL_DIR/bin:$CDS_ROOT/tools/spectre/bin
PATH=$PATH:/bin:/usr/local/bin:/usr/bin:/usr/ucb:/etc:/usr/openwin/bin:/usr/X11R6/bin
export PATH

6) after sourcing a file with above paths, I can not even open gvim:

[root@localhost sf_Cadence]# gvim ic5141_bashrc
gvim: /opt/cadence/ic5141//tools/lib/libgcc_s.so.1: version `GCC_3.3.1' not found (required by /usr/lib/libX11.so.6)
gvim: /opt/cadence/ic5141//tools/lib/libgcc_s.so.1: version `GCC_3.3.1' not found (required by /usr/lib/libruby.so.1.8)

Regards,

KD

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    My guess is that you may be using an unsupport OS distribution. What are you using, and which version of the distribution?

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • kdev
    kdev over 14 years ago

    Thanks for the reply, Andrew!

     I have fedora 15 installed on VM Virtual box with windows vista as host OS. I read your replies to some of the post and I found that Fedora 15 is not officialy supported.

     Then I installed RHEL5 on a Virtual machine and now I am getting following error:

    "X Error of failed request:  BadName (named color or font does not exist)

      Major opcode of failed request:  45 (X_OpenFont)

      Serial number of failed request:  16

      Current serial number in output stream:  31"

    I followed these steps to install missing fonts:

    add/remove software -> searched "x11-fonts" -> checked each fonts and pressed apply.

    But it did not help. Any suggestion regarding this.

    Thanks and Best Regards,

    KD

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    It might be the same as this solution . Try doing:

    icfb -nosplash

    to see if that fixes it?

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • kdev
    kdev over 14 years ago

    That seems to work! Atleast now I am able to incoke ICFB. Thanks for the great help.

    Just to tell you, I am getting following warnings on terminal:

    *WARNING* Unable to find font name: "-*-courier-medium-r-*-*-12-*".
    *WARNING* Cannot find textFont.  Trying font "fixed".
    *WARNING* Unable to find font name: "-*-helvetica-bold-r-*-*-12-*".
    *WARNING* Using the text font to present labels.
    *WARNING* Unable to find font name: "-*-helvetica-medium-r-*-*-14-*".
    *WARNING* Using the text font for Help dialogs.
    *WARNING* Unable to find font name: "-*-helvetica-bold-r-*-*-12-*".

    And, following warnings inside icfb log area:

    *WARNING* Unable to find font name: "-*-courier-medium-r-*-*-12-*-*-*-*-*-iso8859-1".

    \o Warning: Cannot convert string "-adobe-helvetica-bold-r-*-*-12-120-*-*-*-*-*-*" to type FontStruct
    \o Warning: Cannot convert string "-adobe-helvetica-bold-r-*-*-12-120-*-*-*-*-*-*" to type FontStruct
    \o Warning: Cannot convert string "-adobe-courier-medium-r-*-*-12-120-75-75*-*-*-iso8859-1" to type FontStruct
    \o Warning: Cannot convert string "-adobe-helvetica-medium-o-*-*-12-120-*-*-*-*-*-*" to type FontStruct
    \o Warning: Cannot convert string "-adobe-helvetica-medium-r-normal-*-10-*-*-*-*-*-*-*" to type FontStruct
    \o Warning: Cannot convert string "-adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*" to type FontStruct
    \o Warning: Cannot convert string "-adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*" to type FontStruct
    \o Warning: Cannot convert string "-adobe-courier-medium-r-*-*-12-*-*-*-*-*-*-*" to type FontStruct

    Anyway, the tool seems to work now; so I am happy. Thanks a lot. I will let you know if i face any other problem.

     Best Regards,

    KD

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    OK, this suggests that you don't have some fonts installed (as we guessed). Bit short of time to do some research, but I suspect that you could do some digging on google to find out how to get these fonts installed. At least you have some info now on the font names that are missing.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information