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



             Bug #: 56784

           Summary: bootstrap broken by libitm on

                    x86_64-unknown-freebsd10.0

    Classification: Unclassified

           Product: gcc

           Version: 4.9.0

            Status: UNCONFIRMED

          Severity: major

          Priority: P3

         Component: libitm

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: ka...@gcc.gnu.org





Updated 4.9.0 to top-of-tree



% svn info gcc4x

Path: gcc4x

Working Copy Root Path: /usr/home/sgk/gcc/gcc4x

URL: svn+ssh://ka...@gcc.gnu.org/svn/gcc/trunk

Repository Root: svn+ssh://ka...@gcc.gnu.org/svn/gcc

Repository UUID: 138bc75d-0d04-0410-961f-82ee72b054a4

Revision: 197239

Node Kind: directory

Schedule: normal

Last Changed Author: paolo

Last Changed Rev: 197237

Last Changed Date: 2013-03-29 06:41:14 -0700 (Fri, 29 Mar 2013)





% cd obj

% ../gcc4x/configure --prefix=$HOME/work/4x --enable-languages=c,fortran,c++

% gmake bootstrap 





libtool: compile:  /home/sgk/gcc/obj4x/./gcc/xg++ -B/home/sgk/gcc/obj4x/./gcc/

-nostdinc++ -nostdinc++

-I/home/sgk/gcc/obj4x/x86_64-unknown-freebsd10.0/libstdc++-v3/include/x86_64-unknown-freebsd10.0

-I/home/sgk/gcc/obj4x/x86_64-unknown-freebsd10.0/libstdc++-v3/include

-I/home/sgk/gcc/gcc4x/libstdc++-v3/libsupc++

-I/home/sgk/gcc/gcc4x/libstdc++-v3/include/backward

-I/home/sgk/gcc/gcc4x/libstdc++-v3/testsuite/util

-L/home/sgk/gcc/obj4x/x86_64-unknown-freebsd10.0/libstdc++-v3/src

-L/home/sgk/gcc/obj4x/x86_64-unknown-freebsd10.0/libstdc++-v3/src/.libs

-B/home/sgk/work/4x/x86_64-unknown-freebsd10.0/bin/

-B/home/sgk/work/4x/x86_64-unknown-freebsd10.0/lib/ -isystem

/home/sgk/work/4x/x86_64-unknown-freebsd10.0/include -isystem

/home/sgk/work/4x/x86_64-unknown-freebsd10.0/sys-include -DHAVE_CONFIG_H -I.

-I../../../gcc4x/libitm -I../../../gcc4x/libitm/config/x86

-I../../../gcc4x/libitm/config/posix -I../../../gcc4x/libitm/config/generic

-I../../../gcc4x/libitm -mrtm -Wall -pthread -Werror -std=gnu++0x

-funwind-tables -fno-exceptions -fno-rtti -fabi-version=4 -g -O2 -MT aatree.lo

-MD -MP -MF .deps/aatree.Tpo -c ../../../gcc4x/libitm/aatree.cc  -fPIC -DPIC -o

.libs/aatree.o

In file included from ../../../gcc4x/libitm/libitm_i.h:40:0,

                 from ../../../gcc4x/libitm/aatree.cc:28:

../../../gcc4x/libitm/local_atomic:1580:3: error: always_inline function might

not be inlinable [-Werror=attributes]

   atomic_flag_clear(volatile atomic_flag* __a) noexcept

   ^

../../../gcc4x/libitm/local_atomic:1576:3: error: always_inline function might

not be inlinable [-Werror=attributes]

   atomic_flag_clear(atomic_flag* __a) noexcept

   ^

../../../gcc4x/libitm/local_atomic:1572:3: error: always_inline function might

not be inlinable [-Werror=attributes]

   atomic_flag_test_and_set(volatile atomic_flag* __a) noexcept

   ^

../../../gcc4x/libitm/local_atomic:1568:3: error: always_inline function might

not be inlinable [-Werror=attributes]

   atomic_flag_test_and_set(atomic_flag* __a) noexcept

   ^

../../../gcc4x/libitm/local_atomic:1563:3: error: always_inline function might

not be inlinable [-Werror=attributes]

   atomic_flag_clear_explicit(volatile atomic_flag* __a,

   ^

../../../gcc4x/libitm/local_atomic:1559:3: error: always_inline function might

not be inlinable [-Werror=attributes]

   atomic_flag_clear_explicit(atomic_flag* __a, memory_order __m) noexcept

   ^

../../../gcc4x/libitm/local_atomic:1554:3: error: always_inline function might

not be inlinable [-Werror=attributes]

   atomic_flag_test_and_set_explicit(volatile atomic_flag* __a,

   ^

../../../gcc4x/libitm/local_atomic:1549:3: error: always_inline function might

not be inlinable [-Werror=attributes]

   atomic_flag_test_and_set_explicit(atomic_flag* __a,

   ^

../../../gcc4x/libitm/local_atomic:95:3: error: always_inline function might

not be inlinable [-Werror=attributes]

   atomic_signal_fence(memory_order __m) noexcept

   ^

../../../gcc4x/libitm/local_atomic:89:3: error: always_inline function might

not be inlinable [-Werror=attributes]

   atomic_thread_fence(memory_order __m) noexcept

./../../gcc4x/libitm/local_atomic:79:3: error: always_inline function might not

be inlinable [-Werror=attributes]

   __calculate_memory_order(memory_order __m) noexcept

   ^

../../../gcc4x/libitm/local_atomic: In function 'bool

std::atomic_flag_test_and_set(std::atomic_flag*)':

../../../gcc4x/libitm/local_atomic:1549:3: error: inlining failed in call to

always_inline 'bool std::atomic_flag_test_and_set_explicit(std::atomic_flag*,

std::memory_order) noexcept (true)': function body can be overwritten at link

time

   atomic_flag_test_and_set_explicit(atomic_flag* __a,

   ^

../../../gcc4x/libitm/local_atomic:1569:71: error: called from here

   { return atomic_flag_test_and_set_explicit(__a, memory_order_seq_cst); }

                                                                       ^

../../../gcc4x/libitm/local_atomic: In function 'bool

std::atomic_flag_test_and_set(volatile std::atomic_flag*)':

../../../gcc4x/libitm/local_atomic:1554:3: error: inlining failed in call to

always_inline 'bool std::atomic_flag_test_and_set_explicit(volatile

std::atomic_flag*, std::memory_order) noexcept (true)': function body can be

overwritten at link time

   atomic_flag_test_and_set_explicit(volatile atomic_flag* __a,

   ^

../../../gcc4x/libitm/local_atomic:1573:71: error: called from here

   { return atomic_flag_test_and_set_explicit(__a, memory_order_seq_cst); }

                                                                       ^

../../../gcc4x/libitm/local_atomic: In function 'void

std::atomic_flag_clear(std::atomic_flag*)':

../../../gcc4x/libitm/local_atomic:1559:3: error: inlining failed in call to

always_inline 'void std::atomic_flag_clear_explicit(std::atomic_flag*,

std::memory_order) noexcept (true)': function body can be overwritten at link

time

   atomic_flag_clear_explicit(atomic_flag* __a, memory_order __m) noexcept

   ^

../../../gcc4x/libitm/local_atomic:1577:58: error: called from here

   { atomic_flag_clear_explicit(__a, memory_order_seq_cst); }

                                                          ^

../../../gcc4x/libitm/local_atomic: In function 'void

std::atomic_flag_clear(volatile std::atomic_flag*)':

../../../gcc4x/libitm/local_atomic:1563:3: error: inlining failed in call to

always_inline 'void std::atomic_flag_clear_explicit(volatile std::atomic_flag*,

std::memory_order) noexcept (true)': function body can be overwritten at link

time

   atomic_flag_clear_explicit(volatile atomic_flag* __a,

   ^

../../../gcc4x/libitm/local_atomic:1581:58: error: called from here

   { atomic_flag_clear_explicit(__a, memory_order_seq_cst); }

                                                          ^

cc1plus: all warnings being treated as errors

gmake[4]: *** [aatree.lo] Error 1

gmake[4]: Leaving directory

`/usr/home/sgk/gcc/obj4x/x86_64-unknown-freebsd10.0/libitm'

gmake[3]: *** [all-recursive] Error 1

gmake[3]: Leaving directory

`/usr/home/sgk/gcc/obj4x/x86_64-unknown-freebsd10.0/libitm'

gmake[2]: *** [all] Error 2

gmake[2]: Leaving directory

`/usr/home/sgk/gcc/obj4x/x86_64-unknown-freebsd10.0/libitm'

gmake[1]: *** [all-target-libitm] Error 2

gmake[1]: Leaving directory `/usr/home/sgk/gcc/obj4x'

gmake: *** [bootstrap] Error 2

Reply via email to