public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ramana at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/46667] [4.6 Regression] -freorder-blocks-and-partition -g failed and libstdc++ builds for arm-eabi are broken.
Date: Thu, 02 Dec 2010 17:53:00 -0000	[thread overview]
Message-ID: <bug-46667-4-4wmA4v9W08@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-46667-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #7 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> 2010-12-02 17:52:38 UTC ---
Here's the backtrace I see for arm-eabi.


#0  error (gmsgid=0xf323c8 "%+D causes a section type conflict") at
../../combined/gcc/diagnostic.c:747
#1  0x0000000000affd0d in get_section (name=0xf324e2 ".text.unlikely",
flags=2099456, decl=0x2ba5b228f900) at ../../combined/gcc/varasm.c:301
#2  0x0000000000afff64 in get_named_section (decl=0x2ba5b228f900, name=0xf324e2
".text.unlikely", reloc=0) at ../../combined/gcc/varasm.c:392
#3  0x0000000000b007ea in get_named_text_section (decl=0x2ba5b228f900,
text_section_name=0xf324e2 ".text.unlikely", named_section_suffix=0x0)
    at ../../combined/gcc/varasm.c:531
#4  0x0000000000b00880 in default_function_section (decl=0x2ba5b228f900,
freq=NODE_FREQUENCY_UNLIKELY_EXECUTED, startup=0 '\0', exit=0 '\0')
    at ../../combined/gcc/varasm.c:554
#5  0x0000000000b00955 in function_section_1 (decl=0x2ba5b228f900, force_cold=1
'\001') at ../../combined/gcc/varasm.c:605
#6  0x0000000000b009b8 in current_function_section () at
../../combined/gcc/varasm.c:635
#7  0x0000000000b39835 in arm_is_long_call_p (decl=0x2ba5b225cd00) at
../../combined/gcc/config/arm/arm.c:5001
#8  0x0000000000b39937 in arm_function_ok_for_sibcall (decl=0x2ba5b225cd00,
exp=0x2ba5b2a84370) at ../../combined/gcc/config/arm/arm.c:5033
#9  0x00000000006b1a4b in expand_call (exp=0x2ba5b2a84370, target=0x0,
ignore=1) at ../../combined/gcc/calls.c:2306
#10 0x00000000007614e0 in expand_expr_real_1 (exp=0x2ba5b2a84370, target=0x0,
tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0) at
../../combined/gcc/expr.c:9299
#11 0x00000000006c2796 in expand_gimple_stmt (stmt=0x2ba5b22caee0) at
../../combined/gcc/cfgexpand.c:1916
#12 0x00000000006c342b in expand_gimple_basic_block (bb=0x2ba5b253e548) at
../../combined/gcc/cfgexpand.c:2154
#13 0x00000000006c47b8 in gimple_expand_cfg () at
../../combined/gcc/cfgexpand.c:4046
#14 0x0000000000897d6f in execute_one_pass (pass=0x136b600) at
../../combined/gcc/passes.c:1553
#15 0x0000000000898065 in execute_pass_list (pass=0x136b600) at
../../combined/gcc/passes.c:1608
#16 0x000000000099c576 in tree_rest_of_compilation (fndecl=0x2ba5b228f900) at
../../combined/gcc/tree-optimize.c:422
#17 0x0000000000b4d650 in cgraph_expand_function (node=0x2ba5b2465420) at
../../combined/gcc/cgraphunit.c:1508
#18 0x0000000000b50469 in cgraph_optimize () at
../../combined/gcc/cgraphunit.c:1567
#19 0x0000000000b5089d in cgraph_finalize_compilation_unit () at
../../combined/gcc/cgraphunit.c:1031
#20 0x0000000000548c67 in cp_write_global_declarations () at
../../combined/gcc/cp/decl2.c:3973
#21 0x0000000000940051 in toplev_main (argc=25, argv=0x7ffff9418f78) at
../../combined/gcc/toplev.c:591
#22 0x000000350401d974 in __libc_start_main () from /lib64/libc.so.6
#23 0x000000000048a669 in _start ()

In a compiler configured in a combined tree with :

../combined/configure --with-newlib --target=arm-eabi --with-cpu=cortex-a9
--with-fpu=vfpv3-d16 --with-float=softfp
--with-gmp=/projects/pl802_weddell/tools/linux_x86_64
--with-mpfr=/projects/pl802_weddell/tools/linux_x86_64
--with-mpc=/projects/pl802_weddell/tools/linux_x86_64 --enable-languages=c,c++


  parent reply	other threads:[~2010-12-02 17:53 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-26  1:16 [Bug regression/46667] New: Target arm-unknown-eabi build results in "causes a section type conflict" error in libstdc++ John.Tytgat at aaug dot net
2010-11-26  1:29 ` [Bug regression/46667] " zsojka at seznam dot cz
2010-11-26 12:20 ` ramana at gcc dot gnu.org
2010-11-26 16:02 ` [Bug middle-end/46667] [4.6 Regression] -freorder-blocks-and-partition -g failed hjl.tools at gmail dot com
2010-11-26 17:20 ` [Bug middle-end/46667] [4.6 Regression] -freorder-blocks-and-partition -g failed and libstdc++ builds for arm-eabi are broken ramana at gcc dot gnu.org
2010-11-29 23:48 ` John.Tytgat at aaug dot net
2010-12-01 20:36 ` joel at gcc dot gnu.org
2010-12-02 17:53 ` ramana at gcc dot gnu.org [this message]
2010-12-02 17:54 ` ramana at gcc dot gnu.org
2010-12-03  3:38 ` jiez at gcc dot gnu.org
2010-12-03  4:23 ` jiez at gcc dot gnu.org
2010-12-14 13:07 ` hubicka at gcc dot gnu.org
2010-12-14 13:09 ` hubicka at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-46667-4-4wmA4v9W08@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).