This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Segmentation fault when building lib or executable ??
- To: <gcc-help at gcc dot gnu dot org>
- Subject: Segmentation fault when building lib or executable ??
- From: "Carlors Lai" <carlors at home dot com>
- Date: Tue, 17 Apr 2001 01:52:11 -0400
Using g++ 2.95.2 on Sun/Solaris. When using template map or hash_map,
programs are compiled OK, but when I use ar to build a library, it results
in segmentation fault. Same thing happens even I by the lib and build the
executable with all object files.
To workaround, I have to rename some function prototypes. Sometimes it works
. Any clue ?
Regards
Carlors