public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/63656] New: a-tags.adb:82:04: warning: types for unchecked conversion have different sizes
@ 2014-10-27 11:10 arekm at maven dot pl
  2014-10-31 11:55 ` [Bug ada/63656] " ebotcazou at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: arekm at maven dot pl @ 2014-10-27 11:10 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 5923 bytes --]

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63656

            Bug ID: 63656
           Summary: a-tags.adb:82:04: warning: types for unchecked
                    conversion have different sizes
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: arekm at maven dot pl

I'm trying to build gcc from current 4.9 branch (so, future 4.9.2).

Unfortunately:

/home/users/arekm/rpm/BUILD/gcc-4.9.1/builddir/./gcc/xgcc
-B/home/users/arekm/rpm/BUILD/gcc-4.9.1/builddir/./gcc/
-B/usr/x86_64-pld-linux/bin/ -B/usr/x86_64-pld-linux/lib/ -isystem
/usr/x86_64-pld-linux/include -isystem /usr/x86_64-pld-linux/sys-include    -c
-O2 -m32 -fPIC  -W -Wall -gnatpg -nostdinc -m32   \
      a-tags.adb -o a-tags.o
a-tags.adb:82:04: warning: types for unchecked conversion have different sizes
a-tags.adb:85:04: warning: types for unchecked conversion have different sizes
a-tags.adb:90:04: warning: types for unchecked conversion have different sizes
a-tags.adb:93:04: warning: types for unchecked conversion have different sizes
a-tags.adb:96:04: warning: types for unchecked conversion have different sizes
a-tags.adb:102:04: warning: types for unchecked conversion have different sizes
a-tags.adb:105:04: warning: types for unchecked conversion have different sizes
a-tags.adb:108:04: warning: types for unchecked conversion have different sizes
a-tags.adb:111:04: warning: types for unchecked conversion have different sizes
a-tags.adb:766:07: warning: types for unchecked conversion have different sizes
../gcc-interface/Makefile:3112: polecenia dla obiektu 'a-tags.o' nie powiodły
siÄ™
make[10]: *** [a-tags.o] BÅ‚Ä…d 1
make[10]: Opuszczenie katalogu
'/home/users/arekm/rpm/BUILD/gcc-4.9.1/builddir/gcc/ada/rts_32'

configured as:
  $ ../configure --prefix=/usr --with-local-prefix=/usr/local
--libdir=/usr/lib64 --libexecdir=/usr/lib64 --infodir=/usr/share/info
--mandir=/usr/share/man --x-libraries=/usr/lib64 --enable-bootstrap
--disable-build-with-cxx --disable-build-poststage1-with-cxx --enable-c99
--enable-checking=release --disable-cld --enable-cmath --enable-decimal-float
--enable-gnu-unique-object --enable-initfini-array
--enable-languages=c,c++,fortran,objc,obj-c++,ada,java,go --enable-libgomp
--enable-libitm --enable-libmudflap --enable-linker-build-id
--enable-linux-futex --enable-long-long --enable-nls --enable-lto
--enable-plugin --enable-shared --enable-threads=posix --disable-werror
--with-cloog --with-demangler-in-ld --with-gnu-as --with-gnu-ld
--with-linker-hash-style=gnu --with-long-double-128 --with-ppl
--disable-ppl-version-check --with-slibdir=/lib64 --without-system-libunwind
--with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new
--disable-libstdcxx-pch --enable-libstdcxx-threads --enable-libstdcxx-time=rt
--enable-libstdcxx-visibility --enable-symvers=gnu
--with-gxx-include-dir=/usr/include/c++/4.9.1 --disable-gconf-peer
--enable-gtk-cairo --enable-java-awt=xlib,gtk --enable-jni --enable-libgcj
--enable-libgcj-multifile --enable-libgcj-database --disable-libjava-multilib
--enable-static-libjava --enable-xmlj --with-pkgversion=PLD-Linux
--with-bugurl=http://bugs.pld-linux.org x86_64-pld-linux



system: Linux, glibc 2.20, x86_64


Found similar bug #56030. It wasn't fixed because "X32 isn't usable for Ada."
but regular x86 32bit are usable (I assume).
>From gcc-bugs-return-465042-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 27 11:10:21 2014
Return-Path: <gcc-bugs-return-465042-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23997 invoked by alias); 27 Oct 2014 11:10:21 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 23868 invoked by uid 48); 27 Oct 2014 11:10:15 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/63638] [4.9 Regression] internal compiler error: in asan_expand_check_ifn (with -fsanitize­dress)
Date: Mon, 27 Oct 2014 11:37:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: sanitizer
X-Bugzilla-Version: 4.9.2
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.9.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-63638-4-E7Wp3W3Cpe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63638-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63638-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-10/txt/msg02063.txt.bz2
Content-length: 483

https://gcc.gnu.org/bugzilla/show_bug.cgi?idc638

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |4.9.3

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.


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

* [Bug ada/63656] a-tags.adb:82:04: warning: types for unchecked conversion have different sizes
  2014-10-27 11:10 [Bug ada/63656] New: a-tags.adb:82:04: warning: types for unchecked conversion have different sizes arekm at maven dot pl
@ 2014-10-31 11:55 ` ebotcazou at gcc dot gnu.org
  2014-11-01 18:24 ` arekm at maven dot pl
  2014-11-03  0:22 ` ebotcazou at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2014-10-31 11:55 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63656

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-10-31
                 CC|                            |ebotcazou at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> Found similar bug #56030. It wasn't fixed because "X32 isn't usable for
> Ada." but regular x86 32bit are usable (I assume).

Bold assumption... you need do something along the lines of PR ada/56030, i.e.
modify ada/gcc-interface/Makefile.in

# Make arch match the current multilib so that the RTS selection code
# picks up the right files. For a given target this must be coherent
# with MULTILIB_DIRNAMES defined in gcc/config/target/t-*.

ifeq ($(strip $(filter-out %x86_64, $(target_cpu))),)
  ifeq ($(strip $(MULTISUBDIR)),/32)
    target_cpu:=i686
  else
    ifeq ($(strip $(MULTISUBDIR)),/x32)
      target_cpu:=x32
    endif
  endif
endif

so that target_cpu:=i686 is selected, see $(builddir)/gcc/multilib.h.


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

* [Bug ada/63656] a-tags.adb:82:04: warning: types for unchecked conversion have different sizes
  2014-10-27 11:10 [Bug ada/63656] New: a-tags.adb:82:04: warning: types for unchecked conversion have different sizes arekm at maven dot pl
  2014-10-31 11:55 ` [Bug ada/63656] " ebotcazou at gcc dot gnu.org
@ 2014-11-01 18:24 ` arekm at maven dot pl
  2014-11-03  0:22 ` ebotcazou at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: arekm at maven dot pl @ 2014-11-01 18:24 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63656

--- Comment #2 from Arkadiusz Miskiewicz <arekm at maven dot pl> ---

Hm, isn't it already selected properly?

--- gcc-4.9.2/gcc/ada/gcc-interface/Makefile.in~        2014-11-01
15:07:27.000000000 +0100
+++ gcc-4.9.2/gcc/ada/gcc-interface/Makefile.in 2014-11-01 15:11:17.921591578
+0100
@@ -349,12 +349,18 @@
 # picks up the right files. For a given target this must be coherent
 # with MULTILIB_DIRNAMES defined in gcc/config/target/t-*.

+$(warning XXX PRE ENTERED)
 ifeq ($(strip $(filter-out %x86_64, $(target_cpu))),)
+  $(warning XXX ENTERED)
   ifeq ($(strip $(MULTISUBDIR)),/32)
     target_cpu:=i686
+    $(warning XXX TARGET CPU i686)
   else
     ifeq ($(strip $(MULTISUBDIR)),/x32)
       target_cpu:=x32
+      $(warning XXX TARGET CPU x32)
+    else
+      $(warning XXX TARGET CPU NONE)
     endif
   endif
 endif

and while building:
../gcc-interface/Makefile:352: XXX PRE ENTERED
../gcc-interface/Makefile:354: XXX ENTERED
../gcc-interface/Makefile:357: XXX TARGET CPU i686

a bit more of log:
http://ixion.pld-linux.org/~arekm/gcc-ada-log1.txt
and full log:
http://ixion.pld-linux.org/~arekm/gcc-ada-log-long.txt


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

* [Bug ada/63656] a-tags.adb:82:04: warning: types for unchecked conversion have different sizes
  2014-10-27 11:10 [Bug ada/63656] New: a-tags.adb:82:04: warning: types for unchecked conversion have different sizes arekm at maven dot pl
  2014-10-31 11:55 ` [Bug ada/63656] " ebotcazou at gcc dot gnu.org
  2014-11-01 18:24 ` arekm at maven dot pl
@ 2014-11-03  0:22 ` ebotcazou at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2014-11-03  0:22 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63656

--- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> Hm, isn't it already selected properly?

Apparently so, yes.

> a bit more of log:
> http://ixion.pld-linux.org/~arekm/gcc-ada-log1.txt
> and full log:
> http://ixion.pld-linux.org/~arekm/gcc-ada-log-long.txt

Your bug report is misleading, you aren't building the compiler, you're doing a
profiled bootstrap.  Try first with just 'make'.


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

end of thread, other threads:[~2014-11-03  0:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-27 11:10 [Bug ada/63656] New: a-tags.adb:82:04: warning: types for unchecked conversion have different sizes arekm at maven dot pl
2014-10-31 11:55 ` [Bug ada/63656] " ebotcazou at gcc dot gnu.org
2014-11-01 18:24 ` arekm at maven dot pl
2014-11-03  0:22 ` 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).