public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/39810]  New: [melt] - revision 146327 - compiler-probe.c:106: undefined reference to `unlikely'
@ 2009-04-18 21:44 rob1weld at aol dot com
  2009-04-21 18:03 ` [Bug bootstrap/39810] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: rob1weld at aol dot com @ 2009-04-18 21:44 UTC (permalink / raw)
  To: gcc-bugs

There are excess warnings and a build breaking error in revision 146327 
on i386-pc-solaris2.11 (and perhaps other Platforms too).

Host compiler:
# gcc -v
Using built-in specs.
Target: i386-pc-solaris2.11
Configured with: ../gcc_trunk/configure --prefix=/usr/local/gcc4
--enable-languages=ada,c,c++,fortran,java,objc,obj-c++ --enable-shared
--disable-static --enable-multilib --enable-decimal-float
--with-long-double-128 --with-included-gettext --disable-stage1-checking
--enable-checking=release --with-tune=k8 --with-cpu=k8 --with-arch=k8
--with-gnu-as --with-as=/usr/local/bin/as --with-gnu-ld
--with-ld=/usr/local/bin/ld --with-gmp=/usr/local --with-mpfr=/usr/local
Thread model: posix
gcc version 4.5.0 20090406 (experimental) [trunk revision 145592] (GCC) 


Breaks here:

# gmake
...
ranlib  libbackend.a
gcc  -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition
-Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H  -rdynamic -o
cc1-dummy c-lang.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o
c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o
c-semantics.o c-ppoutput.o c-cppbuiltin.o c-objc-common.o c-dump.o c-pch.o
c-parser.o i386-c.o sol2-c.o c-gimplify.o tree-mudflap.o c-pretty-print.o
c-omp.o dummy-checksum.o \
  main.o   compiler-probe.o libbackend.a ../libcpp/libcpp.a
../libdecnumber/libdecnumber.a ../libcpp/libcpp.a ./../intl/libintl.a 
../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -L/lib -lcloog
-L/usr/local/lib -lppl_c -lppl -lgmpxx  -L/usr/local/lib -L/usr/local/lib
-lmpfr -lgmp -L/usr/local/lib -lltdl -L/usr/local/lib -lgdbm
gcc: unrecognized option '-rdynamic'
compiler-probe.o: In function `__drand48_iterate':
/usr/share/src/melt-branch_build/gcc/../../melt-branch/gcc/compiler-probe.c:106:
undefined reference to `unlikely'
libbackend.a(basilys.o): In function `basilysgc_ppstrbuf_ppl_varnamvect':
/usr/share/src/melt-branch_build/gcc/../../melt-branch/gcc/basilys.c:8707:
undefined reference to `ppl_io_asprint_Coefficient'
/usr/share/src/melt-branch_build/gcc/../../melt-branch/gcc/basilys.c:8712:
undefined reference to `ppl_io_asprint_Linear_Expression'
/usr/share/src/melt-branch_build/gcc/../../melt-branch/gcc/basilys.c:8717:
undefined reference to `ppl_io_asprint_Constraint'
/usr/share/src/melt-branch_build/gcc/../../melt-branch/gcc/basilys.c:8722:
undefined reference to `ppl_io_asprint_Constraint_System'
/usr/share/src/melt-branch_build/gcc/../../melt-branch/gcc/basilys.c:8727:
undefined reference to `ppl_io_asprint_Generator'
/usr/share/src/melt-branch_build/gcc/../../melt-branch/gcc/basilys.c:8731:
undefined reference to `ppl_io_asprint_Generator_System'
/usr/share/src/melt-branch_build/gcc/../../melt-branch/gcc/basilys.c:8736:
undefined reference to `ppl_io_asprint_Polyhedron'
collect2: ld returned 1 exit status
gmake[3]: *** [cc1-dummy] Error 1
gmake[3]: Leaving directory `/usr/share/src/melt-branch_build/gcc'
gmake[2]: *** [all-stage1-gcc] Error 2
gmake[2]: Leaving directory `/usr/share/src/melt-branch_build'
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory `/usr/share/src/melt-branch_build'
gmake: *** [all] Error 2


Also there are still plenty of warnings in:
../melt-branch/gcc/compiler-probe.c:
../melt-branch/gcc/basilys.c


Thanks,
Rob


-- 
           Summary: [melt] - revision 146327 - compiler-probe.c:106:
                    undefined reference to `unlikely'
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rob1weld at aol dot com
 GCC build triplet: i386-pc-solaris2.11
  GCC host triplet: i386-pc-solaris2.11
GCC target triplet: i386-pc-solaris2.11


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39810


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug bootstrap/39810] [melt] - revision 146327 - compiler-probe.c:106: undefined reference to `unlikely'
  2009-04-18 21:44 [Bug bootstrap/39810] New: [melt] - revision 146327 - compiler-probe.c:106: undefined reference to `unlikely' rob1weld at aol dot com
@ 2009-04-21 18:03 ` pinskia at gcc dot gnu dot org
  2009-04-27 13:14 ` basile at starynkevitch dot net
  2009-04-27 13:16 ` basile at starynkevitch dot net
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-04-21 18:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2009-04-21 18:03 -------
unlikely should be a define to __builtin_expect .


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39810


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug bootstrap/39810] [melt] - revision 146327 - compiler-probe.c:106: undefined reference to `unlikely'
  2009-04-18 21:44 [Bug bootstrap/39810] New: [melt] - revision 146327 - compiler-probe.c:106: undefined reference to `unlikely' rob1weld at aol dot com
  2009-04-21 18:03 ` [Bug bootstrap/39810] " pinskia at gcc dot gnu dot org
@ 2009-04-27 13:14 ` basile at starynkevitch dot net
  2009-04-27 13:16 ` basile at starynkevitch dot net
  2 siblings, 0 replies; 4+ messages in thread
From: basile at starynkevitch dot net @ 2009-04-27 13:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from basile at starynkevitch dot net  2009-04-27 13:14 -------
I believe this has been corrected in recent MELT branch, ie svn rev146839 and
perhaps before.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39810


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug bootstrap/39810] [melt] - revision 146327 - compiler-probe.c:106: undefined reference to `unlikely'
  2009-04-18 21:44 [Bug bootstrap/39810] New: [melt] - revision 146327 - compiler-probe.c:106: undefined reference to `unlikely' rob1weld at aol dot com
  2009-04-21 18:03 ` [Bug bootstrap/39810] " pinskia at gcc dot gnu dot org
  2009-04-27 13:14 ` basile at starynkevitch dot net
@ 2009-04-27 13:16 ` basile at starynkevitch dot net
  2 siblings, 0 replies; 4+ messages in thread
From: basile at starynkevitch dot net @ 2009-04-27 13:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from basile at starynkevitch dot net  2009-04-27 13:16 -------
and the undefined reference to `ppl_io_asprint_Coefficient' messages 
is because you need a more recent PPL library, at least 0.10.2 or 0.11, or the
latest PPL git snapshot.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39810


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-04-27 13:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-18 21:44 [Bug bootstrap/39810] New: [melt] - revision 146327 - compiler-probe.c:106: undefined reference to `unlikely' rob1weld at aol dot com
2009-04-21 18:03 ` [Bug bootstrap/39810] " pinskia at gcc dot gnu dot org
2009-04-27 13:14 ` basile at starynkevitch dot net
2009-04-27 13:16 ` basile at starynkevitch dot net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).