link problem (gcc 2.95 on AIX 4.3.3)

link problem (gcc 2.95 on AIX 4.3.3)

Post by Louis Banen » Fri, 16 Feb 2001 19:20:09



Hi,

How do I solve this error:

 ld: 0706-005 Cannot find or open file: libgcc.a
 ld:open(): A file or directory in the path name does not exist.
 ld: 0706-005 Cannot find or open file: libgcc.a
 ld:open(): A file or directory in the path name does not exist.
 gcc: file path prefix `/usr/local/lib/gcc-lib/rtl/2.95.2/' never used

Regards,

Louis Banens

 
 
 

link problem (gcc 2.95 on AIX 4.3.3)

Post by Maurizio Loret » Fri, 16 Feb 2001 19:42:26



> Hi,

> How do I solve this error:

>  ld: 0706-005 Cannot find or open file: libgcc.a
>  ld:open(): A file or directory in the path name does not exist.
>  ld: 0706-005 Cannot find or open file: libgcc.a
>  ld:open(): A file or directory in the path name does not exist.
>  gcc: file path prefix `/usr/local/lib/gcc-lib/rtl/2.95.2/' never used

Putting the C library in the path?

--
Maurizio Loreti                         http://www.pd.infn.it/~loreti/mlo.html

The instructions said to use Windows 98 or better - so I installed FreeBSD.

 
 
 

1. Core in 2nd map::insert STLport 4.5.0/ AIX 4.3.3 / gcc 2.95.x

I had a problem similar to the problem described in

http://www.stlport.com/dcforum/DCForumID5/579.html

In my program a method of a large global object is called.
The method creates dynamic local instance (via new) of class
X and call its initialization method where a sequence of
insertions into private map of X defined as map<string, string>
takes place. At the 2nd insertion the program aborts with
segmentation fault.

The problem is VERY hot for me.
My ideas about this:
- bug in my program (wrong work with memory),
- compiler bug during optimization of STL code,
- bug of STL code (low possibility),

I will try to
- use gcc 3.2,
- disable optimization,
- make debug build and try debugging,
 (I expect that in debug build the problem will disappear),
- switch to another STL allocator (USE_MALLOC etc.),
- use the latest build of STLport,
- use GNU libstd++ STL.

Folk, any other ideas what can I do?
The problem is very HOT for me.

Sincerely, az.

2. 1.3.42 and ppp-2.2.0c ****

3. gcc 2.95 and ld linker on AIX 4.3!!!

4. ]: console w/o iso-latin-2 chars?

5. Has anyone built gcc 2.95 for AIX 4.3.2?

6. PIKT, Problem Informant/Killer Tool, v1.2 released

7. Kernel compile problem with (P)GCC 2.95

8. Unix - Frequently Asked Questions (Contents) [Frequent posting]

9. gcc 2.95... installation problem

10. Any interest in gcc 2.95* sparcv9 (64-bit) ?

11. gcc 2.95 vs. 3.0

12. math.h of gcc 2.95/2.96 on redhat 7.3 platform