Problems with gcc 2.6.3 and libc 4.6.27 (2nd post)

Problems with gcc 2.6.3 and libc 4.6.27 (2nd post)

Post by Andreas Ho » Sat, 28 Jan 1995 08:12:15



Dear LINUX'ers,

        I have the following configuration:

                Kernel          1.1.75  (gcc 2.6.3, libc 4.6.27)
                libc            4.6.27
                ld              2.5.2.6 (with BFD 2.5)
                gcc             2.6.3
                XFree           2.2.1
                CPU             AMD 486DX2-80
                Memory          32Mb/256k cache
                HD-Controller   ADAPTEC 1542B (=ISA)
                Board           ISA/LOCAL BUS

        Since I upgraded to gcc 2.6.3 and libc 4.6.27 I have the following
        problems:

        -       linking a program crashes sometimes with an internal
                compiler error #6 and an error message similar to:
                        shared library libc.so.4 not found
                        (or libXt.so.3 not found)

        -       XFree crashes during heavy system load
                or simply during clicking the mouse in a graphics app.
                (e.g. Felt).
                There is no prob. in working with standard X-Apps. as xterm.

        -       Running a program compiled with the -g switch and linked
                statically ends sometimes in a seg. fault, while the same
                program compiled without the -g switch runs ok.

        -       Applications linked with Motif (Metrolink 1.2.2)
                statically are crashing with a seg. fault while
                calling XmCreateFileSelectionDialog. Is the binary
                linked dynamically, the is no problem.

        Is there someone, who has similar problems, or knows the reason
        for the linking probs? Should I go back to libc 4.6.20 or earlier
        versions (some of my Motif apps are not running with libc 4.6.20!).

Greeting from Germany (it's wet, wet, wet)

        Andreas Holz
---
------------------------------------------------------------------------

Institut fuer Geologie und Mineralogie
Schlossgarten 5
91054 Erlangen
GERMANY

 
 
 

Problems with gcc 2.6.3 and libc 4.6.27 (2nd post)

Post by Ethan Fisch » Mon, 30 Jan 1995 00:09:17




>Dear LINUX'ers,

>        I have the following configuration:

>                Kernel          1.1.75  (gcc 2.6.3, libc 4.6.27)
>                libc            4.6.27
>                ld              2.5.2.6 (with BFD 2.5)
>                gcc             2.6.3
>                XFree           2.2.1
>                CPU             AMD 486DX2-80
>                Memory          32Mb/256k cache
>                HD-Controller   ADAPTEC 1542B (=ISA)
>                Board           ISA/LOCAL BUS

>        Since I upgraded to gcc 2.6.3 and libc 4.6.27 I have the following
>        problems:

>        -       linking a program crashes sometimes with an internal
>                compiler error #6 and an error message similar to:
>                        shared library libc.so.4 not found
>                        (or libXt.so.3 not found)

>        -       XFree crashes during heavy system load
>                or simply during clicking the mouse in a graphics app.
>                (e.g. Felt).
>                There is no prob. in working with standard X-Apps. as xterm.

>        -       Running a program compiled with the -g switch and linked
>                statically ends sometimes in a seg. fault, while the same
>                program compiled without the -g switch runs ok.

>        -       Applications linked with Motif (Metrolink 1.2.2)
>                statically are crashing with a seg. fault while
>                calling XmCreateFileSelectionDialog. Is the binary
>                linked dynamically, the is no problem.

>        Is there someone, who has similar problems, or knows the reason
>    for the linking probs? Should I go back to libc 4.6.20 or earlier
>    versions (some of my Motif apps are not running with libc 4.6.20!).

>Greeting from Germany (it's wet, wet, wet)

>        Andreas Holz
>---
>------------------------------------------------------------------------

>Institut fuer Geologie und Mineralogie
>Schlossgarten 5
>91054 Erlangen
>GERMANY

        The only questionI  can answer  is about not  finding libc.so.4.
The problemcan be  solvedby using  the'-static'  option which  is
required  for linking some things but in the past was done
automatically. In other words, a  "bug" which  we  all  liked   and
enjoyed was  fixed.
        Hope  this helps.

        Peter  Federighi

ps:
The  spaces  are not  my bad typing.  It's been  happening ever   since
I ran  Linux v1.1.81. Any  suggestions?  I  will be  happy to provide
more   info.

 
 
 

1. Recompiling gcc 2.6.2/libc 4.6.27

I've been considering recompiling libc and gcc for both optimization and
for the reason that xosview doesn't seem to like the binary distribution
of libc.

Does anyone know where I can find the CFLAGS for libc and whether or not
it should be compiling itself with -g???  I'd also like to add -O3 and
hopefully make the whole lot a bit speedier... ;)

Please cc: all responses to my e-mail address as I'm horrible at keeping up
with UseNet.

Thanks.

--
/--------------------------------------+-------------------------------------\

| PC/Unix/Network Consultant           | onShore Consulting   (312) ONS-HORE |
\--------------------------------------+-------------------------------------/

2. Anyone know where I can get RedHat RPM's for WindowMaker 0.52?

3. Help Upgrading to GCC 2.6.2/libc 4.6.27

4. Newbie looking for XF86Config

5. /lib/libc.so.4.5.26 and /lib/libc.so.4.6.27

6. _Chronicle_ article on Freedows

7. OpenDOS Q: Interlink equivalent

8. Problems after installation of libc.4.6.27

9. libc 4.6.27 problem with router? Anyone?

10. FYI: A Bug In Libc.so.4.6.27 Causing Problem in SLIP Setup

11. sendmail/libc 4.6.27 'name server timeout' problem

12. sendmail and libc.so.4.6.27 problem