public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/60411] New: ADA canadian cross build fails.
@ 2014-03-04 13:54 bernd.edlinger at hotmail dot de
2014-03-04 17:24 ` [Bug ada/60411] " mikpelinux at gmail dot com
` (23 more replies)
0 siblings, 24 replies; 26+ messages in thread
From: bernd.edlinger at hotmail dot de @ 2014-03-04 13:54 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60411
Bug ID: 60411
Summary: ADA canadian cross build fails.
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ada
Assignee: unassigned at gcc dot gnu.org
Reporter: bernd.edlinger at hotmail dot de
I start with build=host=x86_64-unknown-linux-gnu target=arm-linux-gnueabihf
../gcc-4.9-20140302/configure --prefix=/home/ed/gnu/arm-linux-gnueabihf-linux64
--target=arm-linux-gnueabihf --enable-languages=c,c++,fortran,ada
--with-arch=armv7-a --with-tune=cortex-a9 --with-fpu=vfpv3-d16
--with-float=hard
that one works.
But when I build build=x86_64-unknown-linux-gnu host=target=arm-linux-gnueabihf
../gcc-4.9-20140302/configure --prefix=/home/ed/gnu/arm-linux-gnueabihf-cross
--host=arm-linux-gnueabihf --target=arm-linux-gnueabihf
--enable-languages=c,c++,fortran,ada --with-arch=armv7-a --with-tune=cortex-a9
--with-fpu=vfpv3-d16 --with-float=hard
this build fails:
arm-linux-gnueabihf-gnatbind
-I/home/ed/gnu/arm-linux-gnueabihf-linux64/lib/gcc/arm-linux-gnueabihf/4.9.0/adalib//../adainclude
-I/home/ed/gnu/arm-linux-gnueabihf-linux64/lib/gcc/arm-linux-gnueabihf/4.9.0/adalib/
-I. -I/home/ed/gnu/gcc-4.9-20140302/gcc/ada -static -x gnatmake
arm-linux-gnueabihf-gnatlink -v gnatmake -o ../../gnatmake \
--GCC="arm-linux-gnueabihf-g++ -static-libstdc++ -static-libgcc
-I/home/ed/gnu/arm-linux-gnueabihf-linux64/lib/gcc/arm-linux-gnueabihf/4.9.0/adalib//../adainclude
-I/home/ed/gnu/arm-linux-gnueabihf-linux64/lib/gcc/arm-linux-gnueabihf/4.9.0/adalib/
-I. -I/home/ed/gnu/gcc-4.9-20140302/gcc/ada -static-libstdc++ -static-libgcc "
../link.o ../targext.o ../../ggc-none.o ../../libcommon-target.a
../../libcommon.a ../../../libcpp/libcpp.a
../../../libbacktrace/.libs/libbacktrace.a ../../../libiberty/libiberty.a
GNATLINK 4.9.0 20140302 (experimental)
Copyright (C) 1995-2014, Free Software Foundation, Inc.
arm-linux-gnueabihf-g++ -c -gnatA -gnatWb -gnatiw -static-libstdc++
-static-libgcc
-I/home/ed/gnu/arm-linux-gnueabihf-linux64/lib/gcc/arm-linux-gnueabihf/4.9.0/adalib//../adainclude
-I/home/ed/gnu/arm-linux-gnueabihf-linux64/lib/gcc/arm-linux-gnueabihf/4.9.0/adalib/
-I. -I/home/ed/gnu/gcc-4.9-20140302/gcc/ada -static-libstdc++ -static-libgcc
-gnatws
/home/ed/gnu/gcc-build-arm-linux-gnueabihf-cross/gcc/ada/tools/b~gnatmake.adb
/home/ed/gnu/arm-linux-gnueabihf-linux64/bin/arm-linux-gnueabihf-g++
b~gnatmake.o ../link.o ../targext.o ../../ggc-none.o ./debug.o ./types.o
./alloc.o ./gnatvsn.o ./hostparm.o ./krunch.o ./gnatmake.o ./csets.o ./output.o
./rident.o ./sfn_scan.o ./stylesw.o ./tree_io.o ./stand.o ./opt.o ./table.o
./elists.o ./binderr.o ./fname.o ./fname-sf.o ./fmap.o ./ali.o ./switch.o
./sdefault.o ./sinput-c.o ./snames.o ./stringt.o ./targparm.o ./osint.o
./butil.o ./tempdir.o ./uintp.o ./err_vars.o ./urealp.o ./scans.o
./prj-attr-pm.o ./prj-ext.o ./prj-pp.o ./atree.o ./sinfo.o ./einfo.o ./uname.o
./restrict.o ./errout.o ./aspects.o ./sem_aux.o ./erroutc.o ./styleg.o
./nlists.o ./switch-m.o ./usage.o ./makeusg.o ./widechar.o ./sinput.o ./lib.o
./fname-uf.o ./namet.o ./osint-m.o ./scng.o ./casing.o ./ali-util.o ./errutil.o
./mlib-fil.o ./mlib-utl.o ./mlib-tgt-specific.o ./prj-com.o ./mlib-tgt.o
./mlib-prj.o ./mlib.o ./prj-util.o ./prj-env.o ./prj-attr.o ./make.o
./prj-err.o ./sinput-p.o ./prj-strt.o ./prj-conf.o ./prj-proc.o ./prj-part.o
./prj-pars.o ./prj-nmsc.o ./prj-dect.o ./makeutl.o ./prj-tree.o ./prj.o
../../libcommon-target.a ../../libcommon.a ../../../libcpp/libcpp.a
../../../libbacktrace/.libs/libbacktrace.a ../../../libiberty/libiberty.a -o
../../gnatmake -L./
-L/home/ed/gnu/arm-linux-gnueabihf-linux64/lib/gcc/arm-linux-gnueabihf/4.9.0/adalib//../adainclude/
-L/home/ed/gnu/arm-linux-gnueabihf-linux64/lib/gcc/arm-linux-gnueabihf/4.9.0/adalib/
-L./ -L/home/ed/gnu/gcc-4.9-20140302/gcc/ada/
/home/ed/gnu/arm-linux-gnueabihf-linux64/lib/gcc/arm-linux-gnueabihf/4.9.0/adalib/libgnat.a
-static-libgcc -static-libstdc++ -static-libgcc
-I/home/ed/gnu/arm-linux-gnueabihf-linux64/lib/gcc/arm-linux-gnueabihf/4.9.0/adalib//../adainclude
-I/home/ed/gnu/arm-linux-gnueabihf-linux64/lib/gcc/arm-linux-gnueabihf/4.9.0/adalib/
-I. -I/home/ed/gnu/gcc-4.9-20140302/gcc/ada -static-libstdc++ -static-libgcc
./mlib-prj.o: In function `mlib__prj__build_library':
/home/ed/gnu/gcc-4.9-20140302/gcc/ada/mlib-prj.adb:1997: undefined reference to
`__gnat_raise_nodefer_with_msg'
/home/ed/gnu/gcc-4.9-20140302/gcc/ada/mlib-prj.adb:1844: undefined reference to
`__gnat_raise_nodefer_with_msg'
/home/ed/gnu/gcc-4.9-20140302/gcc/ada/mlib-prj.adb:1567: undefined reference to
`__gnat_raise_nodefer_with_msg'
./make.o: In function
`make__add_source_directories__get_source_dirs__for_projects__recursive_check_context__name_id_set__reverse_iterate':
/home/ed/gnu/arm-linux-gnueabihf-linux64/lib/gcc/arm-linux-gnueabihf/4.9.0/adalib//../adainclude/a-coorse.adb:1913:
undefined reference to `__gnat_raise_nodefer_with_msg'
./make.o: In function
`make__add_source_directories__get_source_dirs__for_projects__recursive_check_context__name_id_set__iterate':
/home/ed/gnu/arm-linux-gnueabihf-linux64/lib/gcc/arm-linux-gnueabihf/4.9.0/adalib//../adainclude/a-coorse.adb:1296:
undefined reference to `__gnat_raise_nodefer_with_msg'
./make.o:/home/ed/gnu/arm-linux-gnueabihf-linux64/lib/gcc/arm-linux-gnueabihf/4.9.0/adalib//../adainclude/a-crbtgk.adb:82:
more undefined references to `__gnat_raise_nodefer_with_msg' follow
collect2: error: ld returned 1 exit status
arm-linux-gnueabihf-gnatlink: error when calling
/home/ed/gnu/arm-linux-gnueabihf-linux64/bin/arm-linux-gnueabihf-g++
cat LAST_UPDATED
Obtained from SVN: trunk revision 208262
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug ada/60411] ADA canadian cross build fails.
2014-03-04 13:54 [Bug ada/60411] New: ADA canadian cross build fails bernd.edlinger at hotmail dot de
@ 2014-03-04 17:24 ` mikpelinux at gmail dot com
2014-03-06 14:22 ` bernd.edlinger at hotmail dot de
` (22 subsequent siblings)
23 siblings, 0 replies; 26+ messages in thread
From: mikpelinux at gmail dot com @ 2014-03-04 17:24 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60411
Mikael Pettersson <mikpelinux at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mikpelinux at gmail dot com
--- Comment #1 from Mikael Pettersson <mikpelinux at gmail dot com> ---
I got a similar failure trying to bootstrap gcc-4.9-20140302 (r208262) natively
on armv5tel-linux-gnueabi:
../../gnatbind -I- -I../rts -I. -I/mnt/scratch/gcc-4.9-20140302/gcc/ada -o
b_gnatm.adb gnatmake.ali
../../xgcc -B../../ -c -g -O2 -W -Wall -gnatpg -gnata -I- -I../rts -I.
-I/mnt/scratch/gcc-4.9-20140302/gcc/ada -gnatws -gnatyN \
b_gnatm.adb -o b_gnatm.o
../../xg++ -B../../
-B../../../armv5tel-unknown-linux-gnueabi/libstdc++-v3/src/.libs
-B../../../armv5tel-unknown-linux-gnueabi/libstdc++-v3/libsupc++/.libs
-L../../../armv5tel-unknown-linux-gnueabi/libstdc++-v3/src/.libs
-L../../../armv5tel-unknown-linux-gnueabi/libstdc++-v3/libsupc++/.libs
-static-libstdc++ -static-libgcc -I- -I../rts -I.
-I/mnt/scratch/gcc-4.9-20140302/gcc/ada -DIN_GCC -g -O2 -W -Wall -o
../../gnatmake b_gnatm.o a-except.o ali.o ali-util.o aspects.o s-casuti.o
alloc.o atree.o binderr.o butil.o casing.o csets.o debug.o elists.o einfo.o
errout.o erroutc.o errutil.o err_vars.o fmap.o fname.o fname-uf.o fname-sf.o
gnatmake.o gnatvsn.o hostparm.o interfac.o i-c.o i-cstrin.o krunch.o lib.o
make.o makeusg.o makeutl.o mlib.o mlib-fil.o mlib-prj.o mlib-tgt.o
mlib-tgt-specific.o mlib-utl.o namet.o nlists.o opt.o osint.o osint-m.o
output.o prj.o prj-attr.o prj-attr-pm.o prj-com.o prj-dect.o prj-env.o
prj-conf.o prj-pp.o prj-err.o prj-ext.o prj-nmsc.o prj-pars.o prj-part.o
prj-proc.o prj-strt.o prj-tree.o prj-util.o restrict.o rident.o s-exctab.o
s-secsta.o s-stalib.o s-stoele.o scans.o scng.o sdefault.o sfn_scan.o
s-purexc.o s-htable.o scil_ll.o sem_aux.o sinfo.o sinput.o sinput-c.o
sinput-p.o snames.o stand.o stringt.o styleg.o stylesw.o system.o validsw.o
switch.o switch-m.o table.o targparm.o tempdir.o tree_io.o types.o uintp.o
uname.o urealp.o usage.o widechar.o ../link.o ../targext.o ../../ggc-none.o
../../libcommon-target.a ../../libcommon.a ../../../libcpp/libcpp.a
../rts/libgnat.a ../../../libbacktrace/.libs/libbacktrace.a
../../../libiberty/libiberty.a
make.o: In function
`make__add_source_directories__get_source_dirs__for_projects__recursive_check_context__name_id_set__reverse_iterate':
/mnt/scratch/objdir49/gcc/ada/tools/../rts/a-coorse.adb:1913: undefined
reference to `__gnat_raise_nodefer_with_msg'
make.o: In function
`make__add_source_directories__get_source_dirs__for_projects__recursive_check_context__name_id_set__iterate':
/mnt/scratch/objdir49/gcc/ada/tools/../rts/a-coorse.adb:1296: undefined
reference to `__gnat_raise_nodefer_with_msg'
make.o: In function
`make__add_source_directories__get_source_dirs__for_projects__recursive_check_context__name_id_set__element_keys__ceilingXbnnnnnnn':
/mnt/scratch/objdir49/gcc/ada/tools/../rts/a-crbtgk.adb:82: undefined reference
to `__gnat_raise_nodefer_with_msg'
make.o: In function
`make__add_source_directories__get_source_dirs__for_projects__recursive_check_context__name_id_set__element_keys__floorXbnnnnnnn':
/mnt/scratch/objdir49/gcc/ada/tools/../rts/a-crbtgk.adb:190: undefined
reference to `__gnat_raise_nodefer_with_msg'
make.o: In function
`make__add_source_directories__get_source_dirs__for_projects__recursive_check_context__name_id_set__element_keys__findXbnnnnnnn':
/mnt/scratch/objdir49/gcc/ada/tools/../rts/a-crbtgk.adb:142: undefined
reference to `__gnat_raise_nodefer_with_msg'
make.o:/mnt/scratch/objdir49/gcc/ada/tools/../rts/a-coorse.adb:1913: more
undefined references to `__gnat_raise_nodefer_with_msg' follow
collect2: error: ld returned 1 exit status
make[3]: *** [../../gnatmake] Error 1
make[3]: Leaving directory `/mnt/scratch/objdir49/gcc/ada/tools'
make[2]: *** [gnattools-native] Error 2
make[2]: Leaving directory `/mnt/scratch/objdir49/gnattools'
make[1]: *** [all-gnattools] Error 2
make[1]: Leaving directory `/mnt/scratch/objdir49'
make: *** [bootstrap] Error 2
The previous weekly snapshot, gcc-4.9-20140223, built fine.
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug ada/60411] ADA canadian cross build fails.
2014-03-04 13:54 [Bug ada/60411] New: ADA canadian cross build fails bernd.edlinger at hotmail dot de
2014-03-04 17:24 ` [Bug ada/60411] " mikpelinux at gmail dot com
@ 2014-03-06 14:22 ` bernd.edlinger at hotmail dot de
2014-03-07 20:36 ` [Bug ada/60411] ADA bootstrap failure on ARM charlet at gcc dot gnu.org
` (21 subsequent siblings)
23 siblings, 0 replies; 26+ messages in thread
From: bernd.edlinger at hotmail dot de @ 2014-03-06 14:22 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60411
--- Comment #2 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
when I revert this check-inm the build-succeeds:
http://gcc.gnu.org/viewcvs/gcc?view=revision&revision=208150
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug ada/60411] ADA bootstrap failure on ARM
2014-03-04 13:54 [Bug ada/60411] New: ADA canadian cross build fails bernd.edlinger at hotmail dot de
2014-03-04 17:24 ` [Bug ada/60411] " mikpelinux at gmail dot com
2014-03-06 14:22 ` bernd.edlinger at hotmail dot de
@ 2014-03-07 20:36 ` charlet at gcc dot gnu.org
2014-03-07 20:57 ` bernd.edlinger at hotmail dot de
` (20 subsequent siblings)
23 siblings, 0 replies; 26+ messages in thread
From: charlet at gcc dot gnu.org @ 2014-03-07 20:36 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60411
--- Comment #3 from Arnaud Charlet <charlet at gcc dot gnu.org> ---
Author: charlet
Date: Fri Mar 7 20:35:33 2014
New Revision: 208419
URL: http://gcc.gnu.org/viewcvs?rev=208419&root=gcc&view=rev
Log:
2014-03-07 Doug Rupp <rupp@adacore.com>
PR ada/60411
* system-linux-armel.ads (Backend_Overflow_Checks): Set to True.
(Support_64_Bit_Divides): Removed, no longer used.
(ZCX_By_Default): Enabled.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/system-linux-armel.ads
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug ada/60411] ADA bootstrap failure on ARM
2014-03-04 13:54 [Bug ada/60411] New: ADA canadian cross build fails bernd.edlinger at hotmail dot de
` (2 preceding siblings ...)
2014-03-07 20:36 ` [Bug ada/60411] ADA bootstrap failure on ARM charlet at gcc dot gnu.org
@ 2014-03-07 20:57 ` bernd.edlinger at hotmail dot de
2014-03-10 12:48 ` bernd.edlinger at hotmail dot de
` (19 subsequent siblings)
23 siblings, 0 replies; 26+ messages in thread
From: bernd.edlinger at hotmail dot de @ 2014-03-07 20:57 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60411
--- Comment #5 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
(In reply to Arnaud Charlet from comment #4)
> Let me know how things go after the recent commit I made on trunk, thanks.
I'll try that on monday,
but how about linux-androideabi?
isn't that one broken now?
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug ada/60411] ADA bootstrap failure on ARM
2014-03-04 13:54 [Bug ada/60411] New: ADA canadian cross build fails bernd.edlinger at hotmail dot de
` (3 preceding siblings ...)
2014-03-07 20:57 ` bernd.edlinger at hotmail dot de
@ 2014-03-10 12:48 ` bernd.edlinger at hotmail dot de
2014-03-10 13:26 ` Arnaud Charlet
2014-03-10 13:27 ` charlet at adacore dot com
` (18 subsequent siblings)
23 siblings, 1 reply; 26+ messages in thread
From: bernd.edlinger at hotmail dot de @ 2014-03-10 12:48 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60411
Bernd Edlinger <bernd.edlinger at hotmail dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #6 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
OK,
the cross build for arm-linux-gnueabihf succeeds again.
So I will close this tracker now.
Thanks,
BUT if I look at these lines in gcc/ada/gcc-interace/Makefile.in:
# ARM android
ifeq ($(strip $(filter-out arm% linux-androideabi,$(target_cpu)
$(target_os))),)
LIBGNAT_TARGET_PAIRS = \
a-intnam.ads<a-intnam-linux.ads \
s-inmaop.adb<s-inmaop-posix.adb \
s-intman.adb<s-intman-posix.adb \
s-linux.ads<s-linux.ads \
s-osinte.adb<s-osinte-android.adb \
s-osinte.ads<s-osinte-android.ads \
s-osprim.adb<s-osprim-posix.adb \
s-taprop.adb<s-taprop-posix.adb \
s-taspri.ads<s-taspri-posix-noaltstack.ads \
s-tpopsp.adb<s-tpopsp-posix-foreign.adb \
system.ads<system-linux-armel.ads \
$(DUMMY_SOCKETS_TARGET_PAIRS)
TOOLS_TARGET_PAIRS = \
mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb \
indepsw.adb<indepsw-gnu.adb
GNATRTL_SOCKETS_OBJS =
EXTRA_GNATRTL_TASKING_OBJS=s-linux.o
EH_MECHANISM=
THREADSLIB =
GNATLIB_SHARED = gnatlib-shared-dual
LIBRARY_VERSION := $(LIB_VERSION)
endif
So they use the same system.ads, which now links with a-exexpr-gcc.adb;
Should'nt this target now also use EH_MECHANISM=-gcc or -arm?
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [Bug ada/60411] ADA bootstrap failure on ARM
2014-03-10 12:48 ` bernd.edlinger at hotmail dot de
@ 2014-03-10 13:26 ` Arnaud Charlet
0 siblings, 0 replies; 26+ messages in thread
From: Arnaud Charlet @ 2014-03-10 13:26 UTC (permalink / raw)
To: bernd.edlinger at hotmail dot de; +Cc: gcc-bugs
> the cross build for arm-linux-gnueabihf succeeds again.
Great.
> So they use the same system.ads, which now links with a-exexpr-gcc.adb;
> Should'nt this target now also use EH_MECHANISM=-gcc or -arm?
Yes, android should also use
EH_MECHANISM=-arm
I'll make that change.
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug ada/60411] ADA bootstrap failure on ARM
2014-03-04 13:54 [Bug ada/60411] New: ADA canadian cross build fails bernd.edlinger at hotmail dot de
` (4 preceding siblings ...)
2014-03-10 12:48 ` bernd.edlinger at hotmail dot de
@ 2014-03-10 13:27 ` charlet at adacore dot com
2014-04-08 8:24 ` ebotcazou at gcc dot gnu.org
` (17 subsequent siblings)
23 siblings, 0 replies; 26+ messages in thread
From: charlet at adacore dot com @ 2014-03-10 13:27 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60411
--- Comment #7 from charlet at adacore dot com <charlet at adacore dot com> ---
> the cross build for arm-linux-gnueabihf succeeds again.
Great.
> So they use the same system.ads, which now links with a-exexpr-gcc.adb;
> Should'nt this target now also use EH_MECHANISM=-gcc or -arm?
Yes, android should also use
EH_MECHANISM=-arm
I'll make that change.
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug ada/60411] ADA bootstrap failure on ARM
2014-03-04 13:54 [Bug ada/60411] New: ADA canadian cross build fails bernd.edlinger at hotmail dot de
` (5 preceding siblings ...)
2014-03-10 13:27 ` charlet at adacore dot com
@ 2014-04-08 8:24 ` ebotcazou at gcc dot gnu.org
2014-04-08 9:04 ` ebotcazou at gcc dot gnu.org
` (16 subsequent siblings)
23 siblings, 0 replies; 26+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2014-04-08 8:24 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60411
--- Comment #8 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Tue Apr 8 08:23:56 2014
New Revision: 209210
URL: http://gcc.gnu.org/viewcvs?rev=209210&root=gcc&view=rev
Log:
PR ada/60411
* gcc-interface/Makefile.in (arm% linux-android): Switch to EHABI.
* s-linux-android.ads: New file.
* s-intman-android.adb: Likewise.
Added:
trunk/gcc/ada/s-intman-android.adb
trunk/gcc/ada/s-linux-android.ads
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/gcc-interface/Makefile.in
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug ada/60411] ADA bootstrap failure on ARM
2014-03-04 13:54 [Bug ada/60411] New: ADA canadian cross build fails bernd.edlinger at hotmail dot de
` (6 preceding siblings ...)
2014-04-08 8:24 ` ebotcazou at gcc dot gnu.org
@ 2014-04-08 9:04 ` ebotcazou at gcc dot gnu.org
2014-04-08 20:35 ` ebotcazou at gcc dot gnu.org
` (15 subsequent siblings)
23 siblings, 0 replies; 26+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2014-04-08 9:04 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60411
--- Comment #9 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Tue Apr 8 09:03:42 2014
New Revision: 209211
URL: http://gcc.gnu.org/viewcvs?rev=209211&root=gcc&view=rev
Log:
PR ada/60411
* sigtramp-armdroid.c: New file.
Added:
trunk/gcc/ada/sigtramp-armdroid.c
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/gcc-interface/Makefile.in
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug ada/60411] ADA bootstrap failure on ARM
2014-03-04 13:54 [Bug ada/60411] New: ADA canadian cross build fails bernd.edlinger at hotmail dot de
` (7 preceding siblings ...)
2014-04-08 9:04 ` ebotcazou at gcc dot gnu.org
@ 2014-04-08 20:35 ` ebotcazou at gcc dot gnu.org
2014-04-08 21:27 ` gnugcc at marino dot st
` (14 subsequent siblings)
23 siblings, 0 replies; 26+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2014-04-08 20:35 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60411
--- Comment #10 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Tue Apr 8 20:35:14 2014
New Revision: 209227
URL: http://gcc.gnu.org/viewcvs?rev=209227&root=gcc&view=rev
Log:
PR ada/60411
* sigtramp.h: Add Android support.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/sigtramp.h
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug ada/60411] ADA bootstrap failure on ARM
2014-03-04 13:54 [Bug ada/60411] New: ADA canadian cross build fails bernd.edlinger at hotmail dot de
` (8 preceding siblings ...)
2014-04-08 20:35 ` ebotcazou at gcc dot gnu.org
@ 2014-04-08 21:27 ` gnugcc at marino dot st
2014-04-08 21:49 ` gnugcc at marino dot st
` (13 subsequent siblings)
23 siblings, 0 replies; 26+ messages in thread
From: gnugcc at marino dot st @ 2014-04-08 21:27 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60411
John Marino <gnugcc at marino dot st> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gnugcc at marino dot st
--- Comment #11 from John Marino <gnugcc at marino dot st> ---
Eric,
Thanks for these commits. However, I'm still unable to build
arm-aux-linux-androideabi cross-compiler target after 209227.
This is the current error:
s-osinte.ads:593:07: component "sa_flags" overlaps "sa_mask" at line 592
This happens when a-dynpri.adb is being compiled. s-osinte.ads is
s-osinte-android.ads of course.
I think this is a direct consequence of #include <asm/signal.h> at sigtramp.h
s-ointe-android.ads, lines 590-594:
for struct_sigaction use record
sa_handler at Linux.sa_handler_pos range 0 .. Standard'Address_Size - 1;
sa_mask at Linux.sa_mask_pos range 0 .. 1023;
sa_flags at Linux.sa_flags_pos range 0 .. Standard'Address_Size - 1;
end record;
asm/signal.h (NDK, API 15):
typedef unsigned long sigset_t;
struct sigaction {
union {
__sighandler_t _sa_handler;
void (*_sa_sigaction)(int, struct siginfo *, void *);
} _u;
sigset_t sa_mask;
unsigned long sa_flags;
void (*sa_restorer)(void);
};
So it does seem that struct_sigaction record isn't correct after all.
John
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug ada/60411] ADA bootstrap failure on ARM
2014-03-04 13:54 [Bug ada/60411] New: ADA canadian cross build fails bernd.edlinger at hotmail dot de
` (9 preceding siblings ...)
2014-04-08 21:27 ` gnugcc at marino dot st
@ 2014-04-08 21:49 ` gnugcc at marino dot st
2014-04-09 7:58 ` ebotcazou at gcc dot gnu.org
` (12 subsequent siblings)
23 siblings, 0 replies; 26+ messages in thread
From: gnugcc at marino dot st @ 2014-04-08 21:49 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60411
--- Comment #12 from John Marino <gnugcc at marino dot st> ---
I am also seeing these errors:
s-intman.adb:263:32: "SA_NODEFER" is not visible
s-intman.adb:263:32: non-visible declaration at s-linux.ads:110
s-intman.adb:263:45: "SA_RESTART" is not visible
s-intman.adb:263:45: non-visible declaration at s-linux.ads:109
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug ada/60411] ADA bootstrap failure on ARM
2014-03-04 13:54 [Bug ada/60411] New: ADA canadian cross build fails bernd.edlinger at hotmail dot de
` (10 preceding siblings ...)
2014-04-08 21:49 ` gnugcc at marino dot st
@ 2014-04-09 7:58 ` ebotcazou at gcc dot gnu.org
2014-04-09 7:59 ` ebotcazou at gcc dot gnu.org
` (11 subsequent siblings)
23 siblings, 0 replies; 26+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2014-04-09 7:58 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60411
--- Comment #13 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Wed Apr 9 07:57:48 2014
New Revision: 209237
URL: http://gcc.gnu.org/viewcvs?rev=209237&root=gcc&view=rev
Log:
PR ada/60411
* s-osinte-android.ads: Adjust.
Modified:
trunk/gcc/ada/s-osinte-android.ads
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug ada/60411] ADA bootstrap failure on ARM
2014-03-04 13:54 [Bug ada/60411] New: ADA canadian cross build fails bernd.edlinger at hotmail dot de
` (11 preceding siblings ...)
2014-04-09 7:58 ` ebotcazou at gcc dot gnu.org
@ 2014-04-09 7:59 ` ebotcazou at gcc dot gnu.org
2014-04-09 8:02 ` [Bug ada/60411] Ada " ebotcazou at gcc dot gnu.org
` (10 subsequent siblings)
23 siblings, 0 replies; 26+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2014-04-09 7:59 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60411
--- Comment #14 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Sorry about the mess, can you try after the latest change?
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug ada/60411] Ada bootstrap failure on ARM
2014-03-04 13:54 [Bug ada/60411] New: ADA canadian cross build fails bernd.edlinger at hotmail dot de
` (12 preceding siblings ...)
2014-04-09 7:59 ` ebotcazou at gcc dot gnu.org
@ 2014-04-09 8:02 ` ebotcazou at gcc dot gnu.org
2014-04-09 9:58 ` gnugcc at marino dot st
` (9 subsequent siblings)
23 siblings, 0 replies; 26+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2014-04-09 8:02 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60411
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.9.0
Summary|ADA bootstrap failure on |Ada bootstrap failure on
|ARM |ARM
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug ada/60411] Ada bootstrap failure on ARM
2014-03-04 13:54 [Bug ada/60411] New: ADA canadian cross build fails bernd.edlinger at hotmail dot de
` (13 preceding siblings ...)
2014-04-09 8:02 ` [Bug ada/60411] Ada " ebotcazou at gcc dot gnu.org
@ 2014-04-09 9:58 ` gnugcc at marino dot st
2014-04-09 12:46 ` gnugcc at marino dot st
` (8 subsequent siblings)
23 siblings, 0 replies; 26+ messages in thread
From: gnugcc at marino dot st @ 2014-04-09 9:58 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60411
--- Comment #15 from John Marino <gnugcc at marino dot st> ---
Hi Eric,
The compiler builds happily now.
It started right into ACATS testing and has passed the first 3 chapters
flawlessly (with the current setup ACATS takes hours because each test is
SCP'd/SSH'd to the device, but I'm going to improve the remote testing soon).
Thanks,
John
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug ada/60411] Ada bootstrap failure on ARM
2014-03-04 13:54 [Bug ada/60411] New: ADA canadian cross build fails bernd.edlinger at hotmail dot de
` (14 preceding siblings ...)
2014-04-09 9:58 ` gnugcc at marino dot st
@ 2014-04-09 12:46 ` gnugcc at marino dot st
2014-04-09 13:02 ` ebotcazou at gcc dot gnu.org
` (7 subsequent siblings)
23 siblings, 0 replies; 26+ messages in thread
From: gnugcc at marino dot st @ 2014-04-09 12:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60411
--- Comment #17 from John Marino <gnugcc at marino dot st> ---
Hi Eric,
In the end, there were 6 failures. It appears that the ARM unwinder isn't
quite right yet. After 2314 passes, the six ACATS failures were:
C52103x
C52104x
C52104y
c74004a (hung)
cb1010c
cb1010d
John
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug ada/60411] Ada bootstrap failure on ARM
2014-03-04 13:54 [Bug ada/60411] New: ADA canadian cross build fails bernd.edlinger at hotmail dot de
` (15 preceding siblings ...)
2014-04-09 12:46 ` gnugcc at marino dot st
@ 2014-04-09 13:02 ` ebotcazou at gcc dot gnu.org
2014-04-09 13:27 ` gnugcc at marino dot st
` (6 subsequent siblings)
23 siblings, 0 replies; 26+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2014-04-09 13:02 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60411
--- Comment #18 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> In the end, there were 6 failures. It appears that the ARM unwinder isn't
> quite right yet. After 2314 passes, the six ACATS failures were:
>
> C52103x
> C52104x
> C52104y
> c74004a (hung)
> cb1010c
> cb1010d
It's not the ARM unwinder, it's the stack checking, see:
http://gcc.gnu.org/ml/gcc-patches/2013-06/msg01421.html
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug ada/60411] Ada bootstrap failure on ARM
2014-03-04 13:54 [Bug ada/60411] New: ADA canadian cross build fails bernd.edlinger at hotmail dot de
` (16 preceding siblings ...)
2014-04-09 13:02 ` ebotcazou at gcc dot gnu.org
@ 2014-04-09 13:27 ` gnugcc at marino dot st
2014-04-09 13:48 ` ebotcazou at gcc dot gnu.org
` (5 subsequent siblings)
23 siblings, 0 replies; 26+ messages in thread
From: gnugcc at marino dot st @ 2014-04-09 13:27 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60411
--- Comment #19 from John Marino <gnugcc at marino dot st> ---
ah sorry, I always seem to conclude wrongly that stack checking requires unwind
support. I'm not sure why I always conflate those two things.
So this patch was proposed 9 months ago but never got committed? Or was it
only partially committed?
Will stack-check support get added soon?
Thanks,
John
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug ada/60411] Ada bootstrap failure on ARM
2014-03-04 13:54 [Bug ada/60411] New: ADA canadian cross build fails bernd.edlinger at hotmail dot de
` (17 preceding siblings ...)
2014-04-09 13:27 ` gnugcc at marino dot st
@ 2014-04-09 13:48 ` ebotcazou at gcc dot gnu.org
2014-04-10 9:52 ` gnugcc at marino dot st
` (4 subsequent siblings)
23 siblings, 0 replies; 26+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2014-04-09 13:48 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60411
--- Comment #20 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> ah sorry, I always seem to conclude wrongly that stack checking requires
> unwind support. I'm not sure why I always conflate those two things.
Yes, it does, but it first needs to be fully functional.
> So this patch was proposed 9 months ago but never got committed? Or was it
> only partially committed?
Never reviewed and therefore not installed, I'll resubmit it at some point.
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug ada/60411] Ada bootstrap failure on ARM
2014-03-04 13:54 [Bug ada/60411] New: ADA canadian cross build fails bernd.edlinger at hotmail dot de
` (18 preceding siblings ...)
2014-04-09 13:48 ` ebotcazou at gcc dot gnu.org
@ 2014-04-10 9:52 ` gnugcc at marino dot st
2014-04-10 10:20 ` ebotcazou at gcc dot gnu.org
` (3 subsequent siblings)
23 siblings, 0 replies; 26+ messages in thread
From: gnugcc at marino dot st @ 2014-04-10 9:52 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60411
--- Comment #21 from John Marino <gnugcc at marino dot st> ---
Hi Eric,
When I tried to build the ARMv5 cross compiler (-march=armv5te) I get the
following error:
/tmp//cc5BKnWK.s: Assembler messages:
/tmp//cc5BKnWK.s:31: Error: selected processor does not support Thumb mode
`stmfd sp!,{r2,r3,lr}'
/tmp//cc5BKnWK.s:46: Error: lo register required -- `ldmfd sp,{r2,r3,pc}'
gmake[8]: *** [sigtramp-armdroid.o] Error 1
Does this mean effectively nothing lower than ARMv7 can build
arm-*-linux-androideabi? I don't know which ARM arch supports ldmfd
sp,{r2,r3,pc} but I assume ARMv5 and lower doesn't.
John
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug ada/60411] Ada bootstrap failure on ARM
2014-03-04 13:54 [Bug ada/60411] New: ADA canadian cross build fails bernd.edlinger at hotmail dot de
` (19 preceding siblings ...)
2014-04-10 9:52 ` gnugcc at marino dot st
@ 2014-04-10 10:20 ` ebotcazou at gcc dot gnu.org
2014-04-11 16:28 ` gnugcc at marino dot st
` (2 subsequent siblings)
23 siblings, 0 replies; 26+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2014-04-10 10:20 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60411
--- Comment #22 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> When I tried to build the ARMv5 cross compiler (-march=armv5te) I get the
> following error:
>
> /tmp//cc5BKnWK.s: Assembler messages:
> /tmp//cc5BKnWK.s:31: Error: selected processor does not support Thumb mode
> `stmfd sp!,{r2,r3,lr}'
> /tmp//cc5BKnWK.s:46: Error: lo register required -- `ldmfd sp,{r2,r3,pc}'
> gmake[8]: *** [sigtramp-armdroid.o] Error 1
>
>
> Does this mean effectively nothing lower than ARMv7 can build
> arm-*-linux-androideabi?
Apparently so, but it should be quite easy to fix this in sigtramp-armdroid.c
by means of some preprocessor magic.
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug ada/60411] Ada bootstrap failure on ARM
2014-03-04 13:54 [Bug ada/60411] New: ADA canadian cross build fails bernd.edlinger at hotmail dot de
` (20 preceding siblings ...)
2014-04-10 10:20 ` ebotcazou at gcc dot gnu.org
@ 2014-04-11 16:28 ` gnugcc at marino dot st
2014-04-17 9:14 ` gnugcc at marino dot st
2014-04-17 10:54 ` ebotcazou at gcc dot gnu.org
23 siblings, 0 replies; 26+ messages in thread
From: gnugcc at marino dot st @ 2014-04-11 16:28 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60411
--- Comment #23 from John Marino <gnugcc at marino dot st> ---
(In reply to John Marino from comment #17)
> In the end, there were 6 failures.
>
> C52103x
> C52104x
> C52104y
> c74004a (hung)
> cb1010c
> cb1010d
To follow up, I reworked the testsuite handler to reduce the test times from 6
hours to about 15 minutes, so I've since re-run ACATS several times. There are
only 5 failures. I can't reproduce the hung c74004a test, it's executing fine
now.
So it's only the stack-check related tests that are failing.
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug ada/60411] Ada bootstrap failure on ARM
2014-03-04 13:54 [Bug ada/60411] New: ADA canadian cross build fails bernd.edlinger at hotmail dot de
` (21 preceding siblings ...)
2014-04-11 16:28 ` gnugcc at marino dot st
@ 2014-04-17 9:14 ` gnugcc at marino dot st
2014-04-17 10:54 ` ebotcazou at gcc dot gnu.org
23 siblings, 0 replies; 26+ messages in thread
From: gnugcc at marino dot st @ 2014-04-17 9:14 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60411
--- Comment #24 from John Marino <gnugcc at marino dot st> ---
(In reply to Eric Botcazou from comment #22)
> > Does this mean effectively nothing lower than ARMv7 can build
> > arm-*-linux-androideabi?
>
> Apparently so, but it should be quite easy to fix this in
> sigtramp-armdroid.c by means of some preprocessor magic.
This statement is a little ambiguous to me, which is the current situation?
A) There are no plans to alter sigtramp-android.c to support ARM architectures
below ARMv7. Patches would be accepted though.
B) There are no plans to alter sigtramp-android.c to support ARM architectures
below ARMv7. Patches will not be accepted, so to support ARMv5 requires local
modification
C) We are planning to alter sigtramp-android.c to support earlier ARM
architectures, please be patient!
If scenario C, when / what version of GCC?
Thanks!
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug ada/60411] Ada bootstrap failure on ARM
2014-03-04 13:54 [Bug ada/60411] New: ADA canadian cross build fails bernd.edlinger at hotmail dot de
` (22 preceding siblings ...)
2014-04-17 9:14 ` gnugcc at marino dot st
@ 2014-04-17 10:54 ` ebotcazou at gcc dot gnu.org
23 siblings, 0 replies; 26+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2014-04-17 10:54 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60411
--- Comment #25 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> This statement is a little ambiguous to me, which is the current situation?
>
> A) There are no plans to alter sigtramp-android.c to support ARM
> architectures below ARMv7. Patches would be accepted though.
> B) There are no plans to alter sigtramp-android.c to support ARM
> architectures below ARMv7. Patches will not be accepted, so to support
> ARMv5 requires local modification
> C) We are planning to alter sigtramp-android.c to support earlier ARM
> architectures, please be patient!
I guess the closest match is A.
^ permalink raw reply [flat|nested] 26+ messages in thread
end of thread, other threads:[~2014-04-17 10:54 UTC | newest]
Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-04 13:54 [Bug ada/60411] New: ADA canadian cross build fails bernd.edlinger at hotmail dot de
2014-03-04 17:24 ` [Bug ada/60411] " mikpelinux at gmail dot com
2014-03-06 14:22 ` bernd.edlinger at hotmail dot de
2014-03-07 20:36 ` [Bug ada/60411] ADA bootstrap failure on ARM charlet at gcc dot gnu.org
2014-03-07 20:57 ` bernd.edlinger at hotmail dot de
2014-03-10 12:48 ` bernd.edlinger at hotmail dot de
2014-03-10 13:26 ` Arnaud Charlet
2014-03-10 13:27 ` charlet at adacore dot com
2014-04-08 8:24 ` ebotcazou at gcc dot gnu.org
2014-04-08 9:04 ` ebotcazou at gcc dot gnu.org
2014-04-08 20:35 ` ebotcazou at gcc dot gnu.org
2014-04-08 21:27 ` gnugcc at marino dot st
2014-04-08 21:49 ` gnugcc at marino dot st
2014-04-09 7:58 ` ebotcazou at gcc dot gnu.org
2014-04-09 7:59 ` ebotcazou at gcc dot gnu.org
2014-04-09 8:02 ` [Bug ada/60411] Ada " ebotcazou at gcc dot gnu.org
2014-04-09 9:58 ` gnugcc at marino dot st
2014-04-09 12:46 ` gnugcc at marino dot st
2014-04-09 13:02 ` ebotcazou at gcc dot gnu.org
2014-04-09 13:27 ` gnugcc at marino dot st
2014-04-09 13:48 ` ebotcazou at gcc dot gnu.org
2014-04-10 9:52 ` gnugcc at marino dot st
2014-04-10 10:20 ` ebotcazou at gcc dot gnu.org
2014-04-11 16:28 ` gnugcc at marino dot st
2014-04-17 9:14 ` gnugcc at marino dot st
2014-04-17 10:54 ` ebotcazou 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).