Re: compiler warning question

New Message Reply Date view Thread view Subject view Author view

Ed Millard (millard++at++hawkeye.newport.sgi.com)
Tue, 19 Jul 1994 09:40:14 -0800 (PDT)


>
>
> I just installed a new version of Performer (version 1.2) on Irix5.2
> and I tried to compile a program which didn't have any problem on
> irix5.1 with an older version of Performer (1.1).
>
> The following is the compiler warning message I received:
>
> ---------------
>
> % make pfftypein
> /usr/bin/cc -ansi -D__EXTENSIONS__ -I. -I/usr/include/Performer -I/usr/src/Performer/include -I/usr/include -I/u/suguru/performer/libPFfont -O2 -fullwarn -nostdinc -I/usr/include -O2 -MDupdate Makedepend -woff 515,608,658,799 -o pfftypein > pfftypein.c /u/suguru/performer/libPFfont/libPFfont.a /vlw/lib/libcolor_lw.a -L../pfflt -L../pfsgi -L/usr/src/Performer/lib -L/usr/lib -quickstart_info -nostdlib -L/lib -L/usr/lib /usr/lib/libpf.a /usr/lib/libpr.a -limage -lgl_s -lfpe -lC -lm
> ld:
> Warning: The application pfftypein has conflicts. This will impact program startup time
> Use "elfdump -Dc pfftypein" to get list of conflicts
> %

This message is a warning you often get if you use the flag -quickstart_info.
It is not a serious problem. It just means you your program will load a little
slowly since some global symbols have to be checked and possibly relocated
when the program is run-time loaded. Normally you have conflicts because
a global symbol is declared in two places, either the main executable and
a DSO or two or more DSO's. Some of these conflicts can be fixed by
declaring global variables with extern. You can read about DSO's and
quickstart with:
         
        man dso

Some of the conflicts listed below are from libfpe.a which is used to
handle floating point exceptions. Its probably not critical to fix them
unless you are concerned about the startup time of your application or
your application is misbehaving because the symbols are really incorrectly
declared. If you dont want to see the errors remove -quickstart_info.

>
> ---------------
>
> Then when I tried 'elfdump' as the compiler suggested, I got the following.
> But I'm not sure how it is useful......
>
> ---------------
>
> % elfdump -Dc pfftypein
>
> pfftypein:
> ***CONFLICT SECTION***
> Name
>
> .conflict
> [__dl__FPv ]
> [exit ]
> [__readenv_sigfpe ]
> [__checktraps ]
> [__trap_fpe_override ]
> [ ]
> [ ]
> [ ]
>
> %
> ---------------
>
> Thank you.
>
> Suguru Ishizaki
>
> Visible Language Workshop
> Media Laboratory MIT
> 20 Ames St. Cambridge MA02143
> suguru++at++media.mit.edu
>
>
>
>

=============================================================================
Ed Millard
Silicon Graphics Inc.
Developer's Support Group
millard++at++sgi.com
=============================================================================


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:23 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.