Skip to content

uhcc ERROR: cannot exec /opt/openuh/lib/gcc-lib/x86_64-open64-linux/5.0/cc142: No such file or directory #1

Description

@tbs1980

I successfully compiled and installed openuh as per the installation instructions. However, when run I get an error

$ /opt/openuh/bin/uhcc ./hello.c
uhcc ERROR: cannot exec /opt/openuh/lib/gcc-lib/x86_64-open64-linux/5.0/cc142: No such file or directory

I looked in my /opt/openuh/lib/gcc-lib/x86_64-open64-linux/5.0/ directory

$ ls -la /opt/openuh/lib/gcc-lib/x86_64-open64-linux/5.0/
drwxr-xr-x 1 root root    1040 Nov 16 17:11 .
drwxr-xr-x 1 root root       6 Nov 16 17:11 ..
drwxr-xr-x 1 root root     928 Nov 16 17:11 32
drwxr-xr-x 1 root root     220 Nov 16 17:11 64
-rwxr-xr-x 1 root root  177228 Nov 16 17:11 be
-rwxr-xr-x 1 root root 4588784 Nov 16 17:11 be.so
lrwxrwxrwx 1 root root      70 Nov 16 17:11 cc142 -> ../../../../open64-gcc-4.2.0/libexec/gcc/x86_64-redhat-linux/4.2.0/cc1
lrwxrwxrwx 1 root root      74 Nov 16 17:11 cc1plus42 -> ../../../../open64-gcc-4.2.0/libexec/gcc/x86_64-redhat-linux/4.2.0/cc1plus
-rwxr-xr-x 1 root root  179655 Nov 16 17:11 cf95.cat
...............................................
...............................................
...............................................

When I check I see that
the links for cc142 and cc1plus42 pointing to ../../../../open64-gcc-4.2.0/libexec/gcc/x86_64-redhat-linux/4.2.0/cc1 and ../../../../open64-gcc-4.2.0/libexec/gcc/x86_64-redhat-linux/4.2.0/cc1plus respectively do not exist. However, the cc1 and cc1plus executables can be found in ../../../../open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0/ . Note that libexec has changed to lib. If I change the symbolic links accordingly, I don't get the error any more and executable is created properly. Can this be fixed? Many thanks in advance.

PS: I am working on OpenSuse-42.1 with gcc 4.8.5. My steps in installation were

$ git clone https://github.com/uhhpctools/openuh.git
$ mkdir openuh_build
$ cd openuh_build
$ ../openuh/configure --prefix=/opt/openuh
$ make
$ sudo make install

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions