public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/46040] New: crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared
@ 2010-10-15 22:03 danglin at gcc dot gnu.org
  2010-10-15 22:07 ` [Bug target/46040] " pinskia at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: danglin at gcc dot gnu.org @ 2010-10-15 22:03 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: danglin@gcc.gnu.org
              Host: armv5tejl-unknown-linux-gnueabi
            Target: armv5tejl-unknown-linux-gnueabi
             Build: armv5tejl-unknown-linux-gnueabi


/home/dave/gnu/gcc/objdir/./gcc/xgcc -B/home/dave/gnu/gcc/objdir/./gcc/
-B/home/
dave/opt/gnu/gcc/gcc-4.5.0/armv5tejl-unknown-linux-gnueabi/bin/
-B/home/dave/opt
/gnu/gcc/gcc-4.5.0/armv5tejl-unknown-linux-gnueabi/lib/ -isystem
/home/dave/opt/
gnu/gcc/gcc-4.5.0/armv5tejl-unknown-linux-gnueabi/include -isystem
/home/dave/op
t/gnu/gcc/gcc-4.5.0/armv5tejl-unknown-linux-gnueabi/sys-include    -g -O2 -O2
-g
 -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissi
ng-prototypes -Wold-style-definition  -isystem ./include  -I. -I.
-I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include
-I../../gcc/gcc/../libcpp/include -I/home/dave/opt/gnu/include 
-I../../gcc/gcc/../libdecnumber -I../../gcc/gcc/../libdecnumber/dpd
-I../libdecnumber     -g0 -finhibit-size-directive -fno-inline -fno-exceptions
-fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-tree-vectorize  -I. -I.
-I../.././gcc -I../../../gcc/libgcc -I../../../gcc/libgcc/.
-I../../../gcc/libgcc/../gcc -I../../../gcc/libgcc/../include  -o crtbegin.o
-MT crtbegin.o -MD -MP -MF crtbegin.dep  \
          -c ../../../gcc/libgcc/../gcc/crtstuff.c -DCRT_BEGIN
../../../gcc/libgcc/../gcc/crtstuff.c: In function '__do_global_dtors_aux':
../../../gcc/libgcc/../gcc/crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared
(first use in this function)
../../../gcc/libgcc/../gcc/crtstuff.c:308:26: note: each undeclared identifier
is reported only once for each function it appears in
make[3]: *** [crtbegin.o] Error 1
make[3]: Leaving directory
`/home/dave/gnu/gcc/objdir/armv5tejl-unknown-linux-gnueabi/libgcc'

-bash-3.2$ ./xgcc -B./ -v
Reading specs from ./specs
COLLECT_GCC=./xgcc
COLLECT_LTO_WRAPPER=./lto-wrapper
Target: armv5tejl-unknown-linux-gnueabi
Configured with: ../gcc/configure --host=armv5tejl-unknown-linux-gnueabi
--target=armv5tejl-unknown-linux-gnueabi
--build=armv5tejl-unknown-linux-gnueabi
--enable-languages=c,c++,fortran,objc,obj-c++ --enable-checking=release
--enable-shared --enable-threads --disable-multilib --disable-libmudflap
--disable-libssp --enable-symvers=gnu --enable-__cxa_atexit
--disable-libstdcxx-pch --prefix=/home/dave/opt/gnu/gcc/gcc-4.5.0
--with-gmp=/home/dave/opt/gnu --with-as=/home/dave/opt/gnu/bin/as
--with-ld=/home/dave/opt/gnu/bin/ld
Thread model: posix
gcc version 4.6.0 20101015 (experimental) [trunk revision 165513] (GCC)


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

* [Bug target/46040] crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared
  2010-10-15 22:03 [Bug target/46040] New: crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared danglin at gcc dot gnu.org
@ 2010-10-15 22:07 ` pinskia at gcc dot gnu.org
  2010-10-15 23:04 ` dave at hiauly1 dot hia.nrc.ca
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu.org @ 2010-10-15 22:07 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2010-10-15 22:07:38 UTC ---
According to PR 21751, the issue was at least at one point was the glibc
version that was being used did not have eabi support.


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

* [Bug target/46040] crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared
  2010-10-15 22:03 [Bug target/46040] New: crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared danglin at gcc dot gnu.org
  2010-10-15 22:07 ` [Bug target/46040] " pinskia at gcc dot gnu.org
@ 2010-10-15 23:04 ` dave at hiauly1 dot hia.nrc.ca
  2010-10-18 18:28 ` dave at hiauly1 dot hia.nrc.ca
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: dave at hiauly1 dot hia.nrc.ca @ 2010-10-15 23:04 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from dave at hiauly1 dot hia.nrc.ca 2010-10-15 23:04:27 UTC ---
> --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2010-10-15 22:07:38 UTC ---
> According to PR 21751, the issue was at least at one point was the glibc
> version that was being used did not have eabi support.

I'll take a look (don't have access to box at the moment).  However,
I have built GCC numerous times with the glibc on this box.  For example,
http://gcc.gnu.org/ml/gcc-testresults/2010-06/msg00246.html

So, I'm doubtful this is the issue.

Dave


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

* [Bug target/46040] crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared
  2010-10-15 22:03 [Bug target/46040] New: crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared danglin at gcc dot gnu.org
  2010-10-15 22:07 ` [Bug target/46040] " pinskia at gcc dot gnu.org
  2010-10-15 23:04 ` dave at hiauly1 dot hia.nrc.ca
@ 2010-10-18 18:28 ` dave at hiauly1 dot hia.nrc.ca
  2010-11-16 13:37 ` laurent at guerby dot net
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: dave at hiauly1 dot hia.nrc.ca @ 2010-10-18 18:28 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from dave at hiauly1 dot hia.nrc.ca 2010-10-18 18:28:07 UTC ---
On Fri, 15 Oct 2010, pinskia at gcc dot gnu.org wrote:

> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46040
> 
> --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2010-10-15 22:07:38 UTC ---
> According to PR 21751, the issue was at least at one point was the glibc
> version that was being used did not have eabi support.

Attached change fixes the compile error.  Doing a full bootstrap
and check.

Dave


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

* [Bug target/46040] crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared
  2010-10-15 22:03 [Bug target/46040] New: crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared danglin at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2010-10-18 18:28 ` dave at hiauly1 dot hia.nrc.ca
@ 2010-11-16 13:37 ` laurent at guerby dot net
  2010-11-23 18:45 ` doko at ubuntu dot com
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: laurent at guerby dot net @ 2010-11-16 13:37 UTC (permalink / raw)
  To: gcc-bugs

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

Laurent GUERBY <laurent at guerby dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2010.11.16 13:36:34
                 CC|                            |laurent at guerby dot net
     Ever Confirmed|0                           |1

--- Comment #4 from Laurent GUERBY <laurent at guerby dot net> 2010-11-16 13:36:34 UTC ---
Any reason why this patch isn't submitted/commited? 

I still get the __DTOR_LIST__ error as of today on arm-linux without the patch.
With the patch bootstrap succeeds.


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

* [Bug target/46040] crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared
  2010-10-15 22:03 [Bug target/46040] New: crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared danglin at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2010-11-16 13:37 ` laurent at guerby dot net
@ 2010-11-23 18:45 ` doko at ubuntu dot com
  2010-11-23 18:57 ` laurent at guerby dot net
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: doko at ubuntu dot com @ 2010-11-23 18:45 UTC (permalink / raw)
  To: gcc-bugs

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

Matthias Klose <doko at ubuntu dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |doko at ubuntu dot com

--- Comment #5 from Matthias Klose <doko at ubuntu dot com> 2010-11-23 18:18:31 UTC ---
applying this patch, I see excess errors in every testcase:

/usr/bin/ld: warning: .init_array section has zero size
/usr/bin/ld: warning: .fini_array section has zero size


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

* [Bug target/46040] crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared
  2010-10-15 22:03 [Bug target/46040] New: crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared danglin at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2010-11-23 18:45 ` doko at ubuntu dot com
@ 2010-11-23 18:57 ` laurent at guerby dot net
  2010-11-23 19:08 ` dave at hiauly1 dot hia.nrc.ca
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: laurent at guerby dot net @ 2010-11-23 18:57 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Laurent GUERBY <laurent at guerby dot net> 2010-11-23 18:29:43 UTC ---
I see the same errors, the patch has:

+#   define INIT_ARRAY_SECTION_ASM_OP ARM_EABI_CTORS_SECTION_OP
+#   define FINI_ARRAY_SECTION_ASM_OP ARM_EABI_DTORS_SECTION_OP

So might be related.


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

* [Bug target/46040] crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared
  2010-10-15 22:03 [Bug target/46040] New: crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared danglin at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2010-11-23 18:57 ` laurent at guerby dot net
@ 2010-11-23 19:08 ` dave at hiauly1 dot hia.nrc.ca
  2010-11-26 10:59 ` doko at ubuntu dot com
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: dave at hiauly1 dot hia.nrc.ca @ 2010-11-23 19:08 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from dave at hiauly1 dot hia.nrc.ca 2010-11-23 18:45:14 UTC ---
> Any reason why this patch isn't submitted/commited? 

No.  I was traveling and forgot about it.  Access to the arm box
on my desk is unreliable.

Dave


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

* [Bug target/46040] crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared
  2010-10-15 22:03 [Bug target/46040] New: crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared danglin at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2010-11-23 19:08 ` dave at hiauly1 dot hia.nrc.ca
@ 2010-11-26 10:59 ` doko at ubuntu dot com
  2010-12-07 19:17 ` uweigand at gcc dot gnu.org
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: doko at ubuntu dot com @ 2010-11-26 10:59 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Matthias Klose <doko at ubuntu dot com> 2010-11-26 10:32:43 UTC ---
Looking at Debian/Ubuntu build logs:

- the last sucessful build was 20100918-0ubuntu1.

- 20101004-0ubuntu1 shows an ICE building stage2 libgcc

- 20101004-0ubuntu1 shows an ICE building stage2 libgcc

- 20101009-1 (Debian) shows the ICE

 -20101012-0ubuntu1 is the last one showing this ICE

- 20101016-1 (Debian) shows the CTOR issue

- 20101114-1 shows the current CTOR issue (building stage1 GCC)

Maybe the issue was introduced between 20101012 and 20101016?


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

* [Bug target/46040] crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared
  2010-10-15 22:03 [Bug target/46040] New: crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared danglin at gcc dot gnu.org
                   ` (7 preceding siblings ...)
  2010-11-26 10:59 ` doko at ubuntu dot com
@ 2010-12-07 19:17 ` uweigand at gcc dot gnu.org
  2010-12-13 16:24 ` froydnj at gcc dot gnu.org
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: uweigand at gcc dot gnu.org @ 2010-12-07 19:17 UTC (permalink / raw)
  To: gcc-bugs

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

Ulrich Weigand <uweigand at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |uweigand at gcc dot gnu.org

--- Comment #9 from Ulrich Weigand <uweigand at gcc dot gnu.org> 2010-12-07 19:17:16 UTC ---
It looks like this was caused by this patch:
http://gcc.gnu.org/ml/gcc-patches/2010-10/msg01145.html

gcc/
    * config.gcc (arm*-*-linux-*eabi) <tm_file>: Add bpabi.h from
    libgcc.
    (arm*-*-uclinux*eabi) <tm_file>: Likewise.
    (arm*-*-eabi*) <tm_file>: Likewise.
    (frv-*-elf) <tm_file>: Add frv-abi.h from libgcc.
    (frv-*-*linux*) <tm_file>: Likewise.
    * config/arm/bpabi.h: Delete DECLARE_LIBRARY_RENAMES stanzas
    and associated helper macros.
    * config/frv/frv-abi.h: Delete.

libgcc/
    * config/arm/bpabi.h: New file.
    * config/frv/frv-abi.h: New file.

For more details see:
http://gcc.gnu.org/ml/gcc-patches/2010-12/msg00608.html


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

* [Bug target/46040] crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared
  2010-10-15 22:03 [Bug target/46040] New: crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared danglin at gcc dot gnu.org
                   ` (8 preceding siblings ...)
  2010-12-07 19:17 ` uweigand at gcc dot gnu.org
@ 2010-12-13 16:24 ` froydnj at gcc dot gnu.org
  2011-03-09 22:43 ` ramana at gcc dot gnu.org
  2011-04-05 16:37 ` ramana at gcc dot gnu.org
  11 siblings, 0 replies; 13+ messages in thread
From: froydnj at gcc dot gnu.org @ 2010-12-13 16:24 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #10 from Nathan Froyd <froydnj at gcc dot gnu.org> 2010-12-13 16:23:55 UTC ---
Author: froydnj
Date: Mon Dec 13 16:23:50 2010
New Revision: 167751

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167751
Log:
gcc/
    PR target/46040
    * config.gcc (arm*-*-linux-*eabi): Use bpabi-lib.h.
    (arm*-*-uclinux*eabi, arm*-*-eabi*): Likewise.

libgcc/
    PR target/46040
    * config/arm/bpabi.h: Rename to...
    * config/arm/bpabi-lib.h: ...this.


Added:
    trunk/libgcc/config/arm/bpabi-lib.h
      - copied unchanged from r167749, trunk/libgcc/config/arm/bpabi.h
Removed:
    trunk/libgcc/config/arm/bpabi.h
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config.gcc
    trunk/libgcc/ChangeLog


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

* [Bug target/46040] crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared
  2010-10-15 22:03 [Bug target/46040] New: crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared danglin at gcc dot gnu.org
                   ` (9 preceding siblings ...)
  2010-12-13 16:24 ` froydnj at gcc dot gnu.org
@ 2011-03-09 22:43 ` ramana at gcc dot gnu.org
  2011-04-05 16:37 ` ramana at gcc dot gnu.org
  11 siblings, 0 replies; 13+ messages in thread
From: ramana at gcc dot gnu.org @ 2011-03-09 22:43 UTC (permalink / raw)
  To: gcc-bugs

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

Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |build
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.6.0

--- Comment #11 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> 2011-03-09 22:43:26 UTC ---
Fixed.

Ramana


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

* [Bug target/46040] crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared
  2010-10-15 22:03 [Bug target/46040] New: crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared danglin at gcc dot gnu.org
                   ` (10 preceding siblings ...)
  2011-03-09 22:43 ` ramana at gcc dot gnu.org
@ 2011-04-05 16:37 ` ramana at gcc dot gnu.org
  11 siblings, 0 replies; 13+ messages in thread
From: ramana at gcc dot gnu.org @ 2011-04-05 16:37 UTC (permalink / raw)
  To: gcc-bugs

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

Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |carrot at google dot com

--- Comment #12 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> 2011-04-05 16:36:31 UTC ---
*** Bug 46548 has been marked as a duplicate of this bug. ***


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

end of thread, other threads:[~2011-04-05 16:37 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-15 22:03 [Bug target/46040] New: crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared danglin at gcc dot gnu.org
2010-10-15 22:07 ` [Bug target/46040] " pinskia at gcc dot gnu.org
2010-10-15 23:04 ` dave at hiauly1 dot hia.nrc.ca
2010-10-18 18:28 ` dave at hiauly1 dot hia.nrc.ca
2010-11-16 13:37 ` laurent at guerby dot net
2010-11-23 18:45 ` doko at ubuntu dot com
2010-11-23 18:57 ` laurent at guerby dot net
2010-11-23 19:08 ` dave at hiauly1 dot hia.nrc.ca
2010-11-26 10:59 ` doko at ubuntu dot com
2010-12-07 19:17 ` uweigand at gcc dot gnu.org
2010-12-13 16:24 ` froydnj at gcc dot gnu.org
2011-03-09 22:43 ` ramana at gcc dot gnu.org
2011-04-05 16:37 ` ramana at gcc dot gnu.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).