You are not logged in.
ModelSim is about 3 eons old, so this might be an actual bug in glibc, but it might also be modelsims fault. Maybe you can help me figure it out.
lib32-glibc-2.23-1-x86_64: no issues.
lib32-glibc-2.23-2-x86_64:
lmdiag - Copyright (c) 1989-2008 Acresso Software Inc. All Rights Reserved.
FLEXnet diagnostics on Fri 5/13/2016 11:57
[1] 3097 segmentation fault (core dumped) ./lmdiag
GDB tells me:
Program received signal SIGSEGV, Segmentation fault.
0xf7ea9069 in inet_pton () from /usr/lib32/libc.so.6
Same issues appear on lib32-glibc-2.23-4-x86_64
What do you guys think? I have no source code for lmdiag, are there any other ways to get more information?
Offline
lmdiag is part of the FlexLM licence manager. FlexLM is very widely used used and works across many (EDA) tools.
So it might be possible to use a newer version of the FlexLM tools with your version of Modelsim. The Modelsim of the Altera Starter Edition, e.g. comes with lmdiag that is slightly more up-to-date (2013) and I can confirm that it does not segfault.
Another option might be to copy the old version of glibc to a save place and change the environment variables by using a script or environment-modules, to ensure that only Modelsim pickes up the old version of the lib.
Offline
I'd say a more modern lmdiag is the way to go. From personal experience I'd say keeping old libraries around will come back to bite you later.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
The trick of moving the correct libc to a seperate directory, to prevent the global lib32-glibc to be locked at a low version, works pretty well. I researched some more and found out that the segfault is a "general protection fault", its not about using memory that is not allocated or something. The bug does not occur when using sudo.
Offline
Can you provide some more info about which version of lib32-glibc and lib32-gcc-libs are you using? I'm trying to figure out a way to handle the same error with Lotus Notes ( https://bbs.archlinux.org/viewtopic.php?id=212773 ).
Offline
Can you provide some more info about which version of lib32-glibc and lib32-gcc-libs are you using? I'm trying to figure out a way to handle the same error with Lotus Notes ( https://bbs.archlinux.org/viewtopic.php?id=212773 ).
I took the libc-2.23.so and the libc.so.* from the lib32-glibc-2.23-1-x86_64 package and moved them to a new directory, close to my modelsim, which i called "lib32". Then I modified the vsim launch script and added the following line:
export LD_LIBRARY_PATH=/opt/modeltech/lib32
Well, to be really honest, I already did that, as described right here: https://wiki.archlinux.org/index.php/Al … _Archlinux
And then it worked. So the machine itself has everything running at the newest version, which as of right now is 2.23-5 for lib32-glibc and 6.1.1-2 for lib32-gcc-libs. So, what you prabably want is the lib32-glibc-2.23-1-x86_64 package. You can find that one here: https://archive.archlinux.org/packages/l/lib32-glibc/.
Offline
Holy sh** it worked!!! Thank you so much!
Offline