[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Static compilation: segmentation fault in execution [host=x86_64, target: ia64]

2012/9/14 Jonathan Nieder <jrnieder@gmail.com>:
> José Luis García Pallero wrote:
>> 2012/9/14 Jonathan Nieder <jrnieder@gmail.com>:
>>> Can't you install the libraries you use in binary form in some
>>> directory that is in LD_LIBRARY_PATH when you run the "hello" program?
> [...]
>> Unfortunately, it is not possible any of the 3 options. Users have not
>> very much space, so it is impossible to build some software from
>> source (a recent gcc compiler, for example). On the other hand, the
>> old compiler installed (gcc 3.2.3) is not valid to compile some modern
>> libraries. Install debian in a chroot environment is impossible too.
> My sympathies.  Is the sysadmin not amenable to providing more room
> for shared libraries that could be shared between multiple users?

The machine is too old and the admins have no time to maintaining it
up to date. They put the efforts in the modern distributed memory
machines of the university.

> But in any event, I don't see why this would preclude the first option
> quoted above.  I wasn't suggesting building from source on the target
> device.  Including copies of shared libraries does take a little more
> space than static linking because it means the implementations of
> functions you *don't* use are there, too, but in practice it is not
> generally that much, and even that problem can be mitigated by the
> determined by stripping out unused functions (as is done on the Debian
> installer CDs).

I don't know if I could find all software needed in binary form. For
example, a modern gcc compiler for ia64 is not provided in binary form
in gcc web page. And I suppose that a medium size scientific program
needs lots of dependencies that I don't know if I could find.

PD: Ten minutes ago I've discovered in a directory inside /opt an
Intel C++ compiler installation. The binaries are not in the users
path, so I don't know if it runs. I will try it. The version is 8.1,
so I don't know if provides OpenMP. But we have an important problem:
Intel compilers are not free software :(

José Luis García Pallero
/ / \
Use Debian GNU/Linux and enjoy!

Reply to: