Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 230830 - gnat-gcc-4.2 produces an error box when compiling polyorb
Summary: gnat-gcc-4.2 produces an error box when compiling polyorb
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: ada team [OBSOLETE]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-05 08:04 UTC by Chris
Modified: 2010-11-04 19:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris 2008-07-05 08:04:49 UTC
Gnat fails in the middle of a compile with a warning message that it has a bug in it. Switching between both Gnat-GCC and Gnat-GPL yields the same error.

Reproducible: Always

Steps to Reproduce:
1.Try to install any PolyOrb package, either from Gentoo or AdaCore
2.
3.

Actual Results:  
gnatgcc -c -gnat05 -gnati1 -gnatf -gnatec=/home/dimonax/LocalSources/Corba/LibrePolyOrb/newporb/polyorb/src/config.adc -gnaty -gnatwale -gnatp -gnatn -g -O2 -I- -gnatA /home/dimonax/LocalSources/Corba/LibrePolyOrb/newporb/polyorb/src/polyorb-tasking-profiles-ravenscar.ads
+===========================GNAT BUG DETECTED==============================+
| 4.2.2 (x86_64-pc-linux-gnu) Assert_Failure sinfo.adb:1909                |
| Error detected at polyorb-references-ior.adb:135:15                      |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            |
| Use a subject line meaningful to you and us to track the bug.            |
| Include the entire contents of this bug box in the report.               |
| Include the exact gcc or gnatmake command that you entered.              |
| Also include sources listed below in gnatchop format                     |
| (concatenated together with no headers between files).                   |
+==========================================================================+

Please include these source files with error report
Note that list may not be accurate in some cases, 
so please double check that the problem can still 
be reproduced with the set of files listed.

/home/dimonax/LocalSources/Corba/LibrePolyOrb/newporb/polyorb/src/polyorb-references-ior.adb
/home/dimonax/LocalSources/Corba/LibrePolyOrb/newporb/polyorb/src/polyorb-references-ior.ads
/home/dimonax/LocalSources/Corba/LibrePolyOrb/newporb/polyorb/src/polyorb-references.ads
/home/dimonax/LocalSources/Corba/LibrePolyOrb/newporb/polyorb/src/polyorb.ads
/home/dimonax/LocalSources/Corba/LibrePolyOrb/newporb/polyorb/src/polyorb-annotations.ads
/home/dimonax/LocalSources/Corba/LibrePolyOrb/newporb/polyorb/src/polyorb-utils.ads
/home/dimonax/LocalSources/Corba/LibrePolyOrb/newporb/polyorb/src/polyorb-utils-chained_lists.ads
/home/dimonax/LocalSources/Corba/LibrePolyOrb/newporb/polyorb/src/polyorb-binding_data.ads
/home/dimonax/LocalSources/Corba/LibrePolyOrb/newporb/polyorb/src/polyorb-components.ads
/home/dimonax/LocalSources/Corba/LibrePolyOrb/newporb/polyorb/src/polyorb-errors.ads
/home/dimonax/LocalSources/Corba/LibrePolyOrb/newporb/polyorb/src/polyorb-smart_pointers.ads
/home/dimonax/LocalSources/Corba/LibrePolyOrb/newporb/polyorb/src/polyorb-tasking.ads
/home/dimonax/LocalSources/Corba/LibrePolyOrb/newporb/polyorb/src/polyorb-tasking-mutexes.ads
/home/dimonax/LocalSources/Corba/LibrePolyOrb/newporb/polyorb/src/polyorb-types.ads
/home/dimonax/LocalSources/Corba/LibrePolyOrb/newporb/polyorb/src/polyorb-objects.ads
/home/dimonax/LocalSources/Corba/LibrePolyOrb/newporb/polyorb/src/polyorb-qos.ads
/home/dimonax/LocalSources/Corba/LibrePolyOrb/newporb/polyorb/src/polyorb-transport.ads
/home/dimonax/LocalSources/Corba/LibrePolyOrb/newporb/polyorb/src/polyorb-asynch_ev.ads
/home/dimonax/LocalSources/Corba/LibrePolyOrb/newporb/polyorb/src/polyorb-jobs.ads
/home/dimonax/LocalSources/Corba/LibrePolyOrb/newporb/polyorb/src/polyorb-buffers.ads
/home/dimonax/LocalSources/Corba/LibrePolyOrb/newporb/polyorb/src/polyorb-opaque.ads
/home/dimonax/LocalSources/Corba/LibrePolyOrb/newporb/polyorb/src/polyorb-opaque-chunk_pools.ads
/home/dimonax/LocalSources/Corba/LibrePolyOrb/newporb/polyorb/src/polyorb-utils-strings.ads
/home/dimonax/LocalSources/Corba/LibrePolyOrb/newporb/polyorb/src/polyorb-initialization.ads
/home/dimonax/LocalSources/Corba/LibrePolyOrb/newporb/polyorb/src/polyorb-utils-strings-lists.ads
/home/dimonax/LocalSources/Corba/LibrePolyOrb/newporb/polyorb/src/polyorb-log.ads
/home/dimonax/LocalSources/Corba/LibrePolyOrb/newporb/polyorb/src/polyorb-representations.ads
/home/dimonax/LocalSources/Corba/LibrePolyOrb/newporb/polyorb/src/polyorb-any.ads
/home/dimonax/LocalSources/Corba/LibrePolyOrb/newporb/polyorb/src/polyorb-representations-cdr.ads
/home/dimonax/LocalSources/Corba/LibrePolyOrb/newporb/polyorb/src/polyorb-utils-dynamic_tables.ads
/home/dimonax/LocalSources/Corba/LibrePolyOrb/newporb/polyorb/src/polyorb-representations-cdr-common.ads
list may be incomplete
compilation abandoned
gnatmake: "/home/dimonax/LocalSources/Corba/LibrePolyOrb/newporb/polyorb/src/polyorb-references-ior.adb" compilation error
make: *** [src_security.gpr] Error 4

Same error with Gentoo PolyOrb.

Expected Results:  
Package should compile and install and create distributed programs as advertised.
Comment 1 Chris 2008-07-05 08:06:36 UTC
Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r3 x86_64 Dual Core AMD Opteron(tm) Processor 280
Timestamp of tree: Fri, 04 Jul 2008 18:45:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=opteron -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=opteron -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo "
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X acl ada amd64 berkdb cli corba cracklib crypt cups cvs directfb doc dri fbcon fortran gdbm glx gnome gpm gtk haskell iconv ipv6 isdnlog java jpeg kde latex lua midi mmx mozilla-firefox mudflap ncurses nls nptl nptlonly ocaml opengl openmp oss pcre perl png pppd python readline reflection ruby sasl session spl sse sse2 ssl subversion tcpd truetype type1 unicode xorg xvmc zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTDIR_OVERLAY
Comment 2 Mark Loeser (RETIRED) gentoo-dev 2009-05-03 02:08:23 UTC
ada maintains gnat-gcc.
Comment 3 George Shapovalov (RETIRED) gentoo-dev 2009-05-03 09:19:36 UTC
So, what actually fails? As far as I can see its polyorb, rather than gnat, so I am changing the bug summary accordingly.

Also, it does not mattter which gnat profile is active at the build time, as gnat.eclass will activate and build for all the profiles listed in /etc/ada/primary_compilers in turn (you are normally asked to update this file to your taste when emerging a new gnat. All the libs are compiled for all the profiles listed there but not for any other). Correspondingly, as I see, polyorb fails on the gnat-gcc-4.2, whch you clearly still have installed and listed in primary_compilers. Do you indeed intend to have this profile as "primary" or would you prefer to use newer ones? At this time it makes sense to include gnat-gcc-4.3 and gnat-gpl-4.1 there. Please update /etc/ada/primary_compilers and try to emerge polyorb again.
Comment 4 George Shapovalov (RETIRED) gentoo-dev 2010-11-04 19:53:09 UTC
No answer to requested info in over a year. So I'll have to close this (and assume the suggestion of using newer version of gnat helped).