This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: OSR 5.0.6 bootstrap fails



> Something changed since January 12th that now causes a bootstrap on
> OpenServer 5.0.6 to fail:

> /bin/cc  -DIN_GCC    -g    -DHAVE_CONFIG_H  -o cc1 \
>    c-parse.o c-lang.o c-errorso c-lex.o c-pragma.o c-decl.o c-typeck.o
c-c onvert.o c-aux-info.o c-common.o c-format.o c-semantics.o c-dump.o > >
libcpp.a  toplev.o libbackend.a obstack.o alloca.o  ./intl/libintl.a
../libiberty/libiber ty.a
> undefined                       first referenced
>  symbol                             in file
> UNIQUE_SECTION                      libbackend.a

I ran into the same problem with DYNIX/ptx.  I was able to fix it
(in a patch submitted yesterday) by including elfos.h in ptx4.h, and
removing several hundred lines of duplicate defines in ptx4.h.

If OpenServer is an ELF system, you should be able to use the
definition of UNIQUE_SECTION from elfos.h.  Otherwise, look through
the other files in gcc/config to see if there's a definition that
will work for you.

Janis



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]