bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/12700] New: "BFD_ASSERT (out_attr[Tag_ABI_HardFP_use].i == 0) "


From: 21cnbao at gmail dot com
Subject: [Bug ld/12700] New: "BFD_ASSERT (out_attr[Tag_ABI_HardFP_use].i == 0) " assert
Date: Mon, 25 Apr 2011 13:48:00 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=12700

           Summary: "BFD_ASSERT (out_attr[Tag_ABI_HardFP_use].i == 0) "
                    assert
           Product: binutils
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: address@hidden
        ReportedBy: address@hidden


I found Jie has committed a patch
"http://sourceware.org/ml/binutils/2010-05/msg00083.html";. I am using
the newest binary utils and encounted the following ASSERT in
arm_elf32.c:
+             if (out_attr[i].i == 0)
+               {
+                 BFD_ASSERT (out_attr[Tag_ABI_HardFP_use].i == 0);

My compiling options are as below,
ASM_FLAGS              :=                                                     
\
                        -gdwarf-2                                             \
                        -mfpu=vfp                                             \
                        -mfloat-abi=softfp                                    \
                        -mthumb-interwork

C_FLAGS                :=                                                     
\
                        $(ASM_FLAGS)                                          \
                        -O3     -Wno-all                                      \
                        -fno-optimize-sibling-calls                           \
                        -mlong-calls                                          \
                        -ffunction-sections                                   \



CPP_FLAGS             :=                                                      
\
                        -fno-rtti                                             \
                        -fno-exceptions                                       \


LINK_FLAGS            :=                                                      
\
                         --gc-sections -nostdlib                              \
                         -L ../stdlib                                         \
                         -Wl,--as-needed                                      \
                         -Wl,-no-enum-size-warning                            \
                         --cref                                               \

ARFLAGS                :=
        \
                             rcs

Can anyone give me any tip about why the assert is triggered?

-barry

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]