upstream 4.6 armel build failures 20101012

Bug #659713 reported by Matthias Klose
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro GCC
Fix Released
Undecided
Unassigned
gcc
Fix Released
Medium
gcc-snapshot (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: gcc-snapshot

see
http://launchpadlibrarian.net/57531069/buildlog_ubuntu-natty-armel.gcc-snapshot_20101012-0ubuntu1_FAILEDTOBUILD.txt.gz
and earlier snapshots

/build/buildd/gcc-snapshot-20101012/build/./gcc/xgcc -B/build/buildd/gcc-snapshot-20101012/build/./gcc/ -B/usr/lib/gcc-snapshot/arm-linux-gnueabi/bin/ -B/usr/lib/gcc-snapshot/arm-linux-gnueabi/lib/ -isystem /usr/lib/gcc-snapshot/arm-linux-gnueabi/include -isystem /usr/lib/gcc-snapshot/arm-linux-gnueabi/sys-include -g -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -Wno-missing-prototypes -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../.././gcc -I../../../src/libgcc -I../../../src/libgcc/. -I../../../src/libgcc/../gcc -I../../../src/libgcc/../include -DHAVE_CC_TLS -o _muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3 -c ../../../src/libgcc/../gcc/libgcc2.c \
   -fvisibility=hidden -DHIDE_EXPORTS
../../../src/libgcc/../gcc/libgcc2.c: In function '__muldi3':
../../../src/libgcc/../gcc/libgcc2.c:558:1: internal compiler error: in reverse_condition_maybe_unordered, at jump.c:520
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-snapshot/README.Bugs> for instructions.
make[5]: *** [_muldi3.o] Error 1
make[5]: Leaving directory `/build/buildd/gcc-snapshot-20101012/build/arm-linux-gnueabi/libgcc'
make[4]: *** [all-stage2-target-libgcc] Error 2
make[4]: Leaving directory `/build/buildd/gcc-snapshot-20101012/build'
make[3]: *** [stage2-bubble] Error 2
make[3]: Leaving directory `/build/buildd/gcc-snapshot-20101012/build'
make[2]: *** [bootstrap-lean] Error 2

Revision history for this message
Michael Hope (michaelh1) wrote :

Could you tell me some more about what is in this gcc-snapshot? Is it 4.6 based? Linaro based? What version?

Revision history for this message
Matthias Klose (doko) wrote : Re: [Bug 659713] Re: armel build failures 20101012

On 15.10.2010 05:28, Michael Hope wrote:
> Could you tell me some more about what is in this gcc-snapshot? Is it
> 4.6 based? Linaro based? What version?

GCC FSF trunk, configured as 4.4 or 4.5 for Ubuntu. See the README.Debian for
the few patches applied on top.

Revision history for this message
In , Danglin (danglin) wrote :

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

Revision history for this message
In , Pinskia (pinskia) wrote :

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.

Revision history for this message
In , John David Anglin (dave-hiauly1) wrote :

Created attachment 22081
arm.h.d

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

Revision history for this message
In , John David Anglin (dave-hiauly1) wrote :

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

Revision history for this message
Matthias Klose (doko) wrote : Re: armel build failures 20101012

20101114 fails earlier in stage1:

/build/buildd/gcc-snapshot-20101114/build/./gcc/xgcc -B/build/buildd/gcc-snapshot-20101114/build/./gcc/ -B/usr/lib/gcc-snapshot/arm-linux-gnueabi/bin/ -B/usr/lib/gcc-snapshot/arm-linux-gnueabi/lib/ -isystem /usr/lib/gcc-snapshot/arm-linux-gnueabi/include -isystem /usr/lib/gcc-snapshot/arm-linux-gnueabi/sys-include -g -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -g0 -finhibit-size-directive -fno-inline -fno-exceptions -fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-tree-vectorize -fno-stack-protector -I. -I. -I../.././gcc -I../../../src/libgcc -I../../../src/libgcc/. -I../../../src/libgcc/../gcc -I../../../src/libgcc/../include -o crtbegin.o -MT crtbegin.o -MD -MP -MF crtbegin.dep \
   -c ../../../src/libgcc/../gcc/crtstuff.c -DCRT_BEGIN
../../../src/libgcc/../gcc/crtstuff.c: In function '__do_global_dtors_aux':
../../../src/libgcc/../gcc/crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared (first use in this function)
../../../src/libgcc/../gcc/crtstuff.c:308:26: note: each undeclared identifier is reported only once for each function it appears in
make[5]: *** [crtbegin.o] Error 1
make[5]: Leaving directory `/build/buildd/gcc-snapshot-20101114/build/arm-linux-gnueabi/libgcc'
make[4]: *** [all-stage1-target-libgcc] Error 2
make[4]: Leaving directory `/build/buildd/gcc-snapshot-20101114/build'
make[3]: *** [stage1-bubble] Error 2
make[3]: Leaving directory `/build/buildd/gcc-snapshot-20101114/build'

Revision history for this message
Ira Rosen (irar) wrote :

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46040 contains a patch that fixes this.

Revision history for this message
Matthias Klose (doko) wrote :

the fix for PR46040 works, and it looks like the original issue is solved too. uploaded, lets wait if it does build.

Revision history for this message
In , Laurent GUERBY (laurent-guerby) wrote :

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.

Revision history for this message
Michael Hope (michaelh1) wrote : Re: armel build failures 20101012
Revision history for this message
Matthias Klose (doko) wrote :

yes, that's what Ira mentioned in comment #4, so what do you expect? ;)

Revision history for this message
Michael Hope (michaelh1) wrote :

Oh,r166806 was just my regular weekly trunk build. It was a few days after the problem was reported so there was a chance it was fixed.

Revision history for this message
Michael Hope (michaelh1) wrote :

Note that this fault does not exist in Linaro GCC. Left as affecting Linaro GCC so that I can keep a track of this ticket.

Revision history for this message
Matthias Klose (doko) wrote :

Now builds, but testsuite results are not very meaningful. every testcase has excess errors:

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

Revision history for this message
Matthias Klose (doko) wrote :

the ld warnings are seen with both binutils 2.20 and 2.21.

Revision history for this message
In , Matthias Klose (doko) wrote :

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

Revision history for this message
In , Laurent GUERBY (laurent-guerby) wrote :

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.

Revision history for this message
In , John David Anglin (dave-hiauly1) wrote :

> 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

Revision history for this message
Michael Hope (michaelh1) wrote : Re: armel build failures 20101012

Weekly build of gcc-4.6~svn167084 fails with:

../../../gcc-4.6/libgcc/../gcc/crtstuff.c: In function '__do_global_dtors_aux':
../../../gcc-4.6/libgcc/../gcc/crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared (first use in this function)
../../../gcc-4.6/libgcc/../gcc/crtstuff.c:308:26: note: each undeclared identifier is reported only once for each function it appears in

See:
 http://builds.linaro.org/toolchain/gcc-4.6~svn167084/logs/armv7l-maverick-cbuild17-pavo3/gcc-build.txt

Revision history for this message
Matthias Klose (doko) wrote :

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

So I assume that the issue was introduced between 20101012 and 20101016.

Revision history for this message
Matthias Klose (doko) wrote :
Revision history for this message
In , Matthias Klose (doko) wrote :

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?

Revision history for this message
Matthias Klose (doko) wrote : Re: armel build failures 20101012
Download full text (4.2 KiB)

20101128 now fails earlier in a different way:

gnatgcc -static-libgcc -o gnat1 ada/b_gnat1.o ada/adadecode.o ada/adaint.o ada/cstreams.o ada/cio.o ada/targtyps.o ada/decl.o ada/misc.o ada/utils.o ada/utils2.o ada/trans.o ada/cuintp.o ada/argv.o ada/raise.o ada/init.o ada/tracebak.o ada/initialize.o ada/env.o ada/a-charac.o ada/a-chlat1.o ada/a-elchha.o ada/a-except.o ada/a-ioexce.o ada/ada.o ada/ali.o ada/alloc.o ada/aspects.o ada/atree.o ada/butil.o ada/casing.o ada/checks.o ada/comperr.o ada/csets.o ada/cstand.o ada/debug.o ada/debug_a.o ada/einfo.o ada/elists.o ada/err_vars.o ada/errout.o ada/erroutc.o ada/eval_fat.o ada/exp_aggr.o ada/exp_atag.o ada/exp_attr.o ada/exp_cg.o ada/exp_ch11.o ada/exp_ch12.o ada/exp_ch13.o ada/exp_ch2.o ada/exp_ch3.o ada/exp_ch4.o ada/exp_ch5.o ada/exp_ch6.o ada/exp_ch7.o ada/exp_ch8.o ada/exp_ch9.o ada/exp_code.o ada/exp_dbug.o ada/exp_disp.o ada/exp_dist.o ada/exp_fixd.o ada/exp_imgv.o ada/exp_intr.o ada/exp_pakd.o ada/exp_prag.o ada/exp_sel.o ada/exp_smem.o ada/exp_strm.o ada/exp_tss.o ada/exp_util.o ada/exp_vfpt.o ada/expander.o ada/fmap.o ada/fname-uf.o ada/fname.o ada/freeze.o ada/frontend.o ada/g-byorma.o ada/g-hesora.o ada/g-htable.o ada/g-spchge.o ada/g-speche.o ada/g-u3spch.o ada/get_scos.o ada/get_targ.o ada/gnat.o ada/gnatvsn.o ada/hlo.o ada/hostparm.o ada/impunit.o ada/inline.o ada/interfac.o ada/itypes.o ada/krunch.o ada/layout.o ada/lib-load.o ada/lib-util.o ada/lib-writ.o ada/lib-xref.o ada/lib.o ada/live.o ada/namet-sp.o ada/namet.o ada/nlists.o ada/nmake.o ada/opt.o ada/osint-c.o ada/osint.o ada/output.o ada/par.o ada/par_sco.o ada/prep.o ada/prepcomp.o ada/put_scos.o ada/repinfo.o ada/restrict.o ada/rident.o ada/rtsfind.o ada/s-addope.o ada/s-assert.o ada/s-bitops.o ada/s-carun8.o ada/s-casuti.o ada/s-conca2.o ada/s-conca3.o ada/s-conca4.o ada/s-conca5.o ada/s-conca6.o ada/s-conca7.o ada/s-conca8.o ada/s-conca9.o ada/s-crc32.o ada/s-crtl.o ada/s-except.o ada/s-exctab.o ada/s-htable.o ada/s-imenne.o ada/s-imgenu.o ada/s-mastop.o ada/s-memory.o ada/s-os_lib.o ada/s-parame.o ada/s-purexc.o ada/s-restri.o ada/s-secsta.o ada/s-soflin.o ada/s-sopco3.o ada/s-sopco4.o ada/s-sopco5.o ada/s-stache.o ada/s-stalib.o ada/s-stoele.o ada/s-strcom.o ada/s-strhas.o ada/s-string.o ada/s-strops.o ada/s-traceb.o ada/s-traent.o ada/s-unstyp.o ada/s-utf_32.o ada/s-wchcnv.o ada/s-wchcon.o ada/s-wchjis.o ada/scans.o ada/scil_ll.o ada/scn.o ada/scng.o ada/scos.o ada/sdefault.o ada/seh_init.o ada/sem.o ada/sem_aggr.o ada/sem_attr.o ada/sem_aux.o ada/sem_case.o ada/sem_cat.o ada/sem_ch10.o ada/sem_ch11.o ada/sem_ch12.o ada/sem_ch13.o ada/sem_ch2.o ada/sem_ch3.o ada/sem_ch4.o ada/sem_ch5.o ada/sem_ch6.o ada/sem_ch7.o ada/sem_ch8.o ada/sem_ch9.o ada/sem_disp.o ada/sem_dist.o ada/sem_elab.o ada/sem_elim.o ada/sem_eval.o ada/sem_intr.o ada/sem_mech.o ada/sem_prag.o ada/sem_res.o ada/sem_scil.o ada/sem_smem.o ada/sem_type.o ada/sem_util.o ada/sem_vfpt.o ada/sem_warn.o ada/sinfo-cn.o ada/sinfo.o ada/sinput-d.o ada/sinput-l.o ada/sinput.o ada/snames.o ada/sprint.o ada/stand.o ada/stringt.o ada/style.o ada/styleg.o ada/stylesw.o ada/switch-c.o ada/switch.o ada/system.o ada/table.o ada/targext.o ada/targparm.o ada/tbuild.o ad...

Read more...

Revision history for this message
Ken Werner (kwerner) wrote :
Download full text (3.4 KiB)

I just tried to compile r167352 from the GCC svn and encountered the very same issue. Therefore I applied the patch from #46040. After restricting the build to the C language only it finishes but I see the same testsuite failures as Matthias described in comment #10.

In case C++ is enabled the build of the libstdc++ fails with:
<snip>
 make[4]: Entering directory `/home/kwerner/data/gcc-build/armv7l-unknown-linux-gnueabi/libstdc++-v3/src'
/bin/bash ../libtool --tag CXX --mode=compile /home/kwerner/data/gcc-build/./gcc/xgcc -shared-libgcc -B/home/kwerner/data/gcc-build/./gcc -nostdinc++ -L/home/kwerner/data/gcc-build/armv7l-unknown-linux-gnueabi/libstdc++-v3/src -L/home/kwerner/data/gcc-build/armv7l-unknown-linux-gnueabi/libstdc++-v3/src/.libs -B/home/kwerner/data/gcc-install/armv7l-unknown-linux-gnueabi/bin/ -B/home/kwerner/data/gcc-install/armv7l-unknown-linux-gnueabi/lib/ -isystem /home/kwerner/data/gcc-install/armv7l-unknown-linux-gnueabi/include -isystem /home/kwerner/data/gcc-install/armv7l-unknown-linux-gnueabi/sys-include -I/home/kwerner/data/gcc-build/armv7l-unknown-linux-gnueabi/libstdc++-v3/include/armv7l-unknown-linux-gnueabi -I/home/kwerner/data/gcc-build/armv7l-unknown-linux-gnueabi/libstdc++-v3/include -I/home/kwerner/data/gcc/libstdc++-v3/libsupc++ -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -O2 -D_GNU_SOURCE -c -o pool_allocator.lo ../../../../gcc/libstdc++-v3/src/pool_allocator.cc
libtool: compile: /home/kwerner/data/gcc-build/./gcc/xgcc -shared-libgcc -B/home/kwerner/data/gcc-build/./gcc -nostdinc++ -L/home/kwerner/data/gcc-build/armv7l-unknown-linux-gnueabi/libstdc++-v3/src -L/home/kwerner/data/gcc-build/armv7l-unknown-linux-gnueabi/libstdc++-v3/src/.libs -B/home/kwerner/data/gcc-install/armv7l-unknown-linux-gnueabi/bin/ -B/home/kwerner/data/gcc-install/armv7l-unknown-linux-gnueabi/lib/ -isystem /home/kwerner/data/gcc-install/armv7l-unknown-linux-gnueabi/include -isystem /home/kwerner/data/gcc-install/armv7l-unknown-linux-gnueabi/sys-include -I/home/kwerner/data/gcc-build/armv7l-unknown-linux-gnueabi/libstdc++-v3/include/armv7l-unknown-linux-gnueabi -I/home/kwerner/data/gcc-build/armv7l-unknown-linux-gnueabi/libstdc++-v3/include -I/home/kwerner/data/gcc/libstdc++-v3/libsupc++ -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -O2 -D_GNU_SOURCE -c ../../../../gcc/libstdc++-v3/src/pool_allocator.cc -fPIC -DPIC -o .libs/pool_allocator.o
In file included from /home/kwerner/data/gcc-build/armv7l-unknown-linux-gnueabi/libstdc++-v3/include/armv7l-unknown-linux-gnueabi/bits/gthr.h:162:0,
from /home/kwerner/data/gcc-build/armv7l-unknown-linux-gnueabi/libstdc++-v3/include/ext/atomicity.h:34,
from /home/kwerner/data/gcc-build/armv7l-unknown-linux-gnueabi/libstdc++-v3/include/ext/pool_allocator.h:50,
from ../../../../gcc/libstdc++-v3/src/pool_allocator.cc:31:
/home/kwerner/data/gcc-build/armv7l-unknown-linux-gnueabi/libstdc++-v3/include/ext/concurrence.h: In destructor '__gnu_cxx::__scoped_lock::~__scoped_lock()':
/home/kwerner/data/gcc-build/armv7l-unknown...

Read more...

Revision history for this message
In , Uweigand-gcc (uweigand-gcc) wrote :

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

Revision history for this message
Andrew Stubbs (ams-codesourcery) wrote : Re: armel build failures 20101012

This new problem is PR46667. There's a patch linked from there that fixes the problem.

I'm not sure why it hasn't been applied yet.

Revision history for this message
Ken Werner (kwerner) wrote :

With these two patches applied, the GCC trunk r167715 bootstrapped fine on the vexpress:
 * http://gcc.gnu.org/ml/gcc-patches/2010-12/msg00915.html
   (PR46040: crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared)
 * http://gcc.gnu.org/ml/gcc-patches/2010-12/msg00402.html
   (PR46667: libstdc++ section type conflict during)

I enabled the c and c++ languages only:

                === gcc Summary ===

# of expected passes 73379
# of unexpected failures 229
# of unexpected successes 7
# of expected failures 202
# of unresolved testcases 2
# of unsupported tests 949

                === g++ Summary ===

# of expected passes 25775
# of unexpected failures 19
# of unexpected successes 1
# of expected failures 156
# of unsupported tests 374

Revision history for this message
In , Froydnj-gcc (froydnj-gcc) wrote :

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

Revision history for this message
Michael Hope (michaelh1) wrote : Re: armel build failures 20101012

Both patches have now been accepted upstream:
 http://gcc.gnu.org/ml/gcc-patches/2010-12/msg00998.html

Not sure if they're committed. I'll give it a spin with my regular Wednesday build.

Changed in gcc:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
Matthias Klose (doko) wrote :

builds again, including Ada. Go might be a problem

Changed in gcc-snapshot (Ubuntu):
status: New → Fix Released
Michael Hope (michaelh1)
summary: - armel build failures 20101012
+ upstream 4.6 armel build failures 20101012
Revision history for this message
In , Ramana-gcc (ramana-gcc) wrote :

Fixed.

Ramana

Changed in gcc:
status: Confirmed → Fix Released
Revision history for this message
In , Ramana-gcc (ramana-gcc) wrote :

*** Bug 46548 has been marked as a duplicate of this bug. ***

Michael Hope (michaelh1)
Changed in gcc-linaro:
status: New → Incomplete
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.