public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug sanitizer/61314] New: Building GCC 4.9.0 breaks in libbacktrace on Ubuntu Lucid Lynx
@ 2014-05-26  7:57 gk at torproject dot org
  2014-05-26 12:16 ` [Bug sanitizer/61314] " rguenth at gcc dot gnu.org
  2014-05-26 20:01 ` gk at torproject dot org
  0 siblings, 2 replies; 3+ messages in thread
From: gk at torproject dot org @ 2014-05-26  7:57 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61314

            Bug ID: 61314
           Summary: Building GCC 4.9.0 breaks in libbacktrace on Ubuntu
                    Lucid Lynx
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: sanitizer
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gk at torproject dot org
                CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
                    jakub at gcc dot gnu.org, kcc at gcc dot gnu.org

When building gcc 4.9.0 on Ubuntu Lucid the build breaks with the following
error:

/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../gcc-4.9.0/libbacktrace  -I ../gcc-4.9.0/libbacktrace/../include -I
../gcc-4.9.0/libbacktrace/../libgcc -I ../libgcc  -funwind-tables
-frandom-seed=dwarf.lo -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute
-Wcast-qual  -g -O2 -c -o dwarf.lo ../gcc-4.9.0/libbacktrace/dwarf.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../gcc-4.9.0/libbacktrace -I
../gcc-4.9.0/libbacktrace/../include -I ../gcc-4.9.0/libbacktrace/../libgcc -I
../libgcc -funwind-tables -frandom-seed=dwarf.lo -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -Wcast-qual -g -O2 -c
../gcc-4.9.0/libbacktrace/dwarf.c -o dwarf.o
../gcc-4.9.0/libbacktrace/dwarf.c: In function 'dwarf_lookup_pc':
../gcc-4.9.0/libbacktrace/dwarf.c:2678: warning: implicit declaration of
function '__atomic_load_n'
../gcc-4.9.0/libbacktrace/dwarf.c:2678: error: '__ATOMIC_ACQUIRE' undeclared
(first use in this function)
../gcc-4.9.0/libbacktrace/dwarf.c:2678: error: (Each undeclared identifier is
reported only once
../gcc-4.9.0/libbacktrace/dwarf.c:2678: error: for each function it appears
in.)
../gcc-4.9.0/libbacktrace/dwarf.c:2738: warning: implicit declaration of
function '__atomic_store_n'
../gcc-4.9.0/libbacktrace/dwarf.c:2738: error: '__ATOMIC_RELEASE' undeclared
(first use in this function)
../gcc-4.9.0/libbacktrace/dwarf.c: In function 'dwarf_fileline':
../gcc-4.9.0/libbacktrace/dwarf.c:2873: error: '__ATOMIC_ACQUIRE' undeclared
(first use in this function)
../gcc-4.9.0/libbacktrace/dwarf.c: In function 'backtrace_dwarf_add':
../gcc-4.9.0/libbacktrace/dwarf.c:3006: error: '__ATOMIC_ACQUIRE' undeclared
(first use in this function)
make[2]: Leaving directory `/home/ubuntu/build/gcc/libbacktrace'
make[2]: *** [dwarf.lo] Error 1

It works fine on Ubuntu Precise. The gcc version on Lucid is 4.4.3 and on
Precise 4.6.3. I configured the 4.9.0 build with --prefix=path/to/my/dir
--disable-multilib --enable-languages=c,c++


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

end of thread, other threads:[~2014-05-26 20:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-26  7:57 [Bug sanitizer/61314] New: Building GCC 4.9.0 breaks in libbacktrace on Ubuntu Lucid Lynx gk at torproject dot org
2014-05-26 12:16 ` [Bug sanitizer/61314] " rguenth at gcc dot gnu.org
2014-05-26 20:01 ` gk at torproject dot org

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).