Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 219219 - dev-ada/polyorb-2.1.0 fails when building against gnat-gcc-4.3
Summary: dev-ada/polyorb-2.1.0 fails when building against gnat-gcc-4.3
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal with 1 vote (vote)
Assignee: ada team [OBSOLETE]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-24 23:17 UTC by Marcelo Coraça de Freitas
Modified: 2016-09-18 07:06 UTC (History)
3 users (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 Marcelo Coraça de Freitas 2008-04-24 23:17:58 UTC
When building against this GNAT GCC version 4.3 PolyORB fails miserably with several warning messages (which I found is weird: I don't think the build should fail due to warning messages)



Reproducible: Always

Steps to Reproduce:
1. echo i686-pc-linux-gnu-gnat-gcc-4.3 > /etc/ada/primary_compilers 
2. emerge polyorb
3.

Actual Results:  
make[3]: Entrando no diretório `/var/tmp/portage/dev-ada/polyorb-2.1.0/work/LocalSource/compilers/idlac'
gnatmake -m -I. -I. idlac -cargs -g -O2 -gnatg -gnatfy -gnatwae -gnatpn -bargs  -margs 
gnatgcc -c -I. -I. -g -O2 -gnatg -gnatfy -gnatwae -gnatpn idlac.adb
gnatgcc -c -I. -I. -g -O2 -gnatg -gnatfy -gnatwae -gnatpn ada_be.ads
gnatgcc -c -I. -I. -g -O2 -gnatg -gnatfy -gnatwae -gnatpn ada_be-expansion.adb
gnatgcc -c -I. -I. -g -O2 -gnatg -gnatfy -gnatwae -gnatpn ada_be-idl2ada.adb
gnatgcc -c -I. -I. -g -O2 -gnatg -gnatfy -gnatwae -gnatpn ada_be-mappings.ads
gnatgcc -c -I. -I. -g -O2 -gnatg -gnatfy -gnatwae -gnatpn ada_be-mappings-corba.adb
gnatgcc -c -I. -I. -g -O2 -gnatg -gnatfy -gnatwae -gnatpn ada_be-source_streams.adb
gnatgcc -c -I. -I. -g -O2 -gnatg -gnatfy -gnatwae -gnatpn errors.adb
gnatgcc -c -I. -I. -g -O2 -gnatg -gnatfy -gnatwae -gnatpn idl_fe.ads
gnatgcc -c -I. -I. -g -O2 -gnatg -gnatfy -gnatwae -gnatpn idl_fe-files.adb
gnatgcc -c -I. -I. -g -O2 -gnatg -gnatfy -gnatwae -gnatpn idl_fe-parser.adb
idl_fe-parser.adb:2232:44: warning: formal parameter "Result" is not modified
idl_fe-parser.adb:2232:44: warning: mode could be "in" instead of "in out"
idl_fe-parser.adb:8544:33: warning: formal parameter "Node" is not modified
idl_fe-parser.adb:8544:33: warning: mode could be "in" instead of "in out"
idl_fe-parser.adb:9052:25: warning: formal parameter "Res" is not modified
idl_fe-parser.adb:9052:25: warning: mode could be "in" instead of "in out"
idl_fe-parser.adb:9073:07: warning: formal parameter "Res" is not modified
idl_fe-parser.adb:9073:07: warning: mode could be "in" instead of "in out"
idl_fe-parser.adb:9094:25: warning: formal parameter "Res" is not modified
idl_fe-parser.adb:9094:25: warning: mode could be "in" instead of "in out"
idl_fe-parser.adb:9111:07: warning: formal parameter "Res" is not modified
idl_fe-parser.adb:9111:07: warning: mode could be "in" instead of "in out"
idl_fe-parser.adb:9148:07: warning: formal parameter "Res" is not modified
idl_fe-parser.adb:9148:07: warning: mode could be "in" instead of "in out"
idl_fe-parser.adb:9164:07: warning: formal parameter "Res" is not modified
idl_fe-parser.adb:9164:07: warning: mode could be "in" instead of "in out"
gnatmake: "idl_fe-parser.adb" compilation error


Expected Results:  
should compile and install fine
Comment 1 Dirk Heinrichs 2008-05-27 20:13:40 UTC
(In reply to comment #0)
> When building against this GNAT GCC version 4.3 PolyORB fails miserably with
> several warning messages (which I found is weird: I don't think the build
> should fail due to warning messages)

It's not so weird, the package has "treat warnings as errors" switched on.
Comment 2 Marcelo Coraça de Freitas 2008-05-27 20:37:24 UTC
(In reply to comment #1)
> It's not so weird, the package has "treat warnings as errors" switched on.


so, shouldn't it be switched off then? 

Comment 3 Pacho Ramos gentoo-dev 2015-11-05 19:48:33 UTC
removed from the tree