public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/61177] New: armv6zk: gcc
@ 2014-05-13 15:48 rion4ik at gmail dot com
  2014-05-13 15:54 ` [Bug c/61177] armv6zk: gcc fails compile one source file with fPIC and mthumb rion4ik at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: rion4ik at gmail dot com @ 2014-05-13 15:48 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 61177
           Summary: armv6zk: gcc
           Product: gcc
           Version: 4.6.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rion4ik at gmail dot com


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

* [Bug c/61177] armv6zk: gcc fails compile one source file with fPIC and mthumb
  2014-05-13 15:48 [Bug c/61177] New: armv6zk: gcc rion4ik at gmail dot com
@ 2014-05-13 15:54 ` rion4ik at gmail dot com
  2014-05-13 15:56 ` rion4ik at gmail dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rion4ik at gmail dot com @ 2014-05-13 15:54 UTC (permalink / raw)
  To: gcc-bugs

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

Rion <rion4ik at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rion4ik at gmail dot com
      Known to work|                            |4.6.1, 4.7.3
            Summary|armv6zk: gcc                |armv6zk: gcc fails compile
                   |                            |one source file with fPIC
                   |                            |and mthumb

--- Comment #1 from Rion <rion4ik at gmail dot com> ---
probably I have to report this to buildroot, but I didn't notice any suspicious
patches there which may lead to such behaviour

$ armeb-buildroot-linux-uclibcgnueabi-gcc -v -save-temps  -mthumb   -fPIC   -c
test.c -o test.o 
Using built-in specs.
COLLECT_GCC=/srv/Vendors/Intel/PumaToolchain-buildroot201308/usr/bin/armeb-buildroot-linux-uclibcgnueabi-gcc
COLLECT_LTO_WRAPPER=/srv/Vendors/Intel/PumaToolchain-buildroot201308/usr/bin/../libexec/gcc/armeb-buildroot-linux-uclibcgnueabi/4.6.4/lto-wrapper
Target: armeb-buildroot-linux-uclibcgnueabi
Configured with: ./configure
--prefix=/srv/Vendors/Intel/PumaToolchain-buildroot201308//usr
--sysconfdir=/srv/Vendors/Intel/PumaToolchain-buildroot201308//etc
--enable-shared --disable-static --disable-gtk-doc --disable-doc --disable-docs
--disable-documentation --with-xmlto=no --with-fop=no
--target=armeb-buildroot-linux-uclibcgnueabi
--with-sysroot=/srv/Vendors/Intel/PumaToolchain-buildroot201308//usr/armeb-buildroot-linux-uclibcgnueabi/sysroot
--disable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib
--with-gmp=/srv/Vendors/Intel/PumaToolchain-buildroot201308//usr
--with-mpfr=/srv/Vendors/Intel/PumaToolchain-buildroot201308//usr
--enable-target-optspace --enable-tls --enable-threads
--with-mpc=/srv/Vendors/Intel/PumaToolchain-buildroot201308//usr
--with-float=soft --disable-decimal-float --with-arch=armv6zk
--with-tune=arm1176jz-s --with-abi=aapcs-linux --with-float=soft
--with-mode=arm --with-pkgversion='Buildroot 2013.08.1'
--with-bugurl=http://bugs.buildroot.net/ --enable-languages=c,c++
--with-build-time-tools=/srv/Vendors/Intel/PumaToolchain-buildroot201308//usr/armeb-buildroot-linux-uclibcgnueabi/bin
--disable-libgomp
Thread model: posix
gcc version 4.6.4 (Buildroot 2013.08.1) 
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-mthumb' '-fPIC' '-c' '-o'
'gw_rnddb2NEW.o' '-march=armv6zk' '-mtune=arm1176jz-s' '-mfloat-abi=soft'
'-mabi=aapcs-linux'

/srv/Vendors/Intel/PumaToolchain-buildroot201308/usr/bin/../libexec/gcc/armeb-buildroot-linux-uclibcgnueabi/4.6.4/cc1
-E -quiet -v -iprefix
/srv/Vendors/Intel/PumaToolchain-buildroot201308/usr/bin/../lib/gcc/armeb-buildroot-linux-uclibcgnueabi/4.6.4/
-isysroot
/srv/Vendors/Intel/PumaToolchain-buildroot201308/usr/bin/../armeb-buildroot-linux-uclibcgnueabi/sysroot
test.c -mthumb -march=armv6zk -mtune=arm1176jz-s -mfloat-abi=soft
-mabi=aapcs-linux -fPIC -fpch-preprocess -o test.i
ignoring duplicate directory
"/srv/Vendors/Intel/PumaToolchain-buildroot201308/usr/bin/../lib/gcc/../../lib/gcc/armeb-buildroot-linux-uclibcgnueabi/4.6.4/include"
ignoring nonexistent directory
"/srv/Vendors/Intel/PumaToolchain-buildroot201308/usr/bin/../armeb-buildroot-linux-uclibcgnueabi/sysroot/usr/local/include"
ignoring duplicate directory
"/srv/Vendors/Intel/PumaToolchain-buildroot201308/usr/bin/../lib/gcc/../../lib/gcc/armeb-buildroot-linux-uclibcgnueabi/4.6.4/include-fixed"
ignoring duplicate directory
"/srv/Vendors/Intel/PumaToolchain-buildroot201308/usr/bin/../lib/gcc/../../lib/gcc/armeb-buildroot-linux-uclibcgnueabi/4.6.4/../../../../armeb-buildroot-linux-uclibcgnueabi/include"
#include "..." search starts here:
#include <...> search starts here:

/srv/Vendors/Intel/PumaToolchain-buildroot201308/usr/bin/../lib/gcc/armeb-buildroot-linux-uclibcgnueabi/4.6.4/include

/srv/Vendors/Intel/PumaToolchain-buildroot201308/usr/bin/../lib/gcc/armeb-buildroot-linux-uclibcgnueabi/4.6.4/include-fixed

/srv/Vendors/Intel/PumaToolchain-buildroot201308/usr/bin/../lib/gcc/armeb-buildroot-linux-uclibcgnueabi/4.6.4/../../../../armeb-buildroot-linux-uclibcgnueabi/include

/srv/Vendors/Intel/PumaToolchain-buildroot201308/usr/bin/../armeb-buildroot-linux-uclibcgnueabi/sysroot/usr/include
End of search list.
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-mthumb' '-fPIC' '-c' '-o'
'gw_rnddb2NEW.o' '-march=armv6zk' '-mtune=arm1176jz-s' '-mfloat-abi=soft'
'-mabi=aapcs-linux'

/srv/Vendors/Intel/PumaToolchain-buildroot201308/usr/bin/../libexec/gcc/armeb-buildroot-linux-uclibcgnueabi/4.6.4/cc1
-fpreprocessed test.i -quiet -dumpbase test.c -mthumb -march=armv6zk
-mtune=arm1176jz-s -mfloat-abi=soft -mabi=aapcs-linux -auxbase-strip
gw_rnddb2NEW.o -version -fPIC -o test.s
GNU C (Buildroot 2013.08.1) version 4.6.4 (armeb-buildroot-linux-uclibcgnueabi)
        compiled by GNU C version 4.6.3, GMP version 5.1.2, MPFR version 3.1.2,
MPC version 1.0.1
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C (Buildroot 2013.08.1) version 4.6.4 (armeb-buildroot-linux-uclibcgnueabi)
        compiled by GNU C version 4.6.3, GMP version 5.1.2, MPFR version 3.1.2,
MPC version 1.0.1
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 113bf8faaa48088631d2e5055c01dc4a
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-mthumb' '-fPIC' '-c' '-o'
'gw_rnddb2NEW.o' '-march=armv6zk' '-mtune=arm1176jz-s' '-mfloat-abi=soft'
'-mabi=aapcs-linux'

/srv/Vendors/Intel/PumaToolchain-buildroot201308/usr/bin/../lib/gcc/armeb-buildroot-linux-uclibcgnueabi/4.6.4/../../../../armeb-buildroot-linux-uclibcgnueabi/bin/as
-march=armv6zk -mfloat-abi=soft -meabi=5 -o gw_rnddb2NEW.o test.s
test.s: Assembler messages:
test.s:41: Error: invalid offset, value too big (0x00000400)


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

* [Bug c/61177] armv6zk: gcc fails compile one source file with fPIC and mthumb
  2014-05-13 15:48 [Bug c/61177] New: armv6zk: gcc rion4ik at gmail dot com
  2014-05-13 15:54 ` [Bug c/61177] armv6zk: gcc fails compile one source file with fPIC and mthumb rion4ik at gmail dot com
@ 2014-05-13 15:56 ` rion4ik at gmail dot com
  2014-05-13 16:14 ` ktkachov at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rion4ik at gmail dot com @ 2014-05-13 15:56 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Rion <rion4ik at gmail dot com> ---
Created attachment 32791
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32791&action=edit
test.c

example code.


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

* [Bug c/61177] armv6zk: gcc fails compile one source file with fPIC and mthumb
  2014-05-13 15:48 [Bug c/61177] New: armv6zk: gcc rion4ik at gmail dot com
  2014-05-13 15:54 ` [Bug c/61177] armv6zk: gcc fails compile one source file with fPIC and mthumb rion4ik at gmail dot com
  2014-05-13 15:56 ` rion4ik at gmail dot com
@ 2014-05-13 16:14 ` ktkachov at gcc dot gnu.org
  2014-05-13 16:56 ` rion4ik at gmail dot com
  2014-05-13 16:57 ` ktkachov at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2014-05-13 16:14 UTC (permalink / raw)
  To: gcc-bugs

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

ktkachov at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2014-05-13
                 CC|                            |ktkachov at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #3 from ktkachov at gcc dot gnu.org ---
Unfortunately gcc 4.6, on which your compiler is based, is no longer
maintained.
I couldn't reproduce it with current trunk.
Could you try with the 4.9 and/or 4.8 release?


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

* [Bug c/61177] armv6zk: gcc fails compile one source file with fPIC and mthumb
  2014-05-13 15:48 [Bug c/61177] New: armv6zk: gcc rion4ik at gmail dot com
                   ` (2 preceding siblings ...)
  2014-05-13 16:14 ` ktkachov at gcc dot gnu.org
@ 2014-05-13 16:56 ` rion4ik at gmail dot com
  2014-05-13 16:57 ` ktkachov at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rion4ik at gmail dot com @ 2014-05-13 16:56 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Rion <rion4ik at gmail dot com> ---
It's not reproducible on 4.6.1, 4.7.3 and 4.8.2

so if this version is unmaintained, then probably the bug may be closed.

this version of compiler is currently used in Intel embedded sdk.
I'm in Inango currently working for Intel on fixing their toolchain. but
probably we will migrate to something newer.


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

* [Bug c/61177] armv6zk: gcc fails compile one source file with fPIC and mthumb
  2014-05-13 15:48 [Bug c/61177] New: armv6zk: gcc rion4ik at gmail dot com
                   ` (3 preceding siblings ...)
  2014-05-13 16:56 ` rion4ik at gmail dot com
@ 2014-05-13 16:57 ` ktkachov at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2014-05-13 16:57 UTC (permalink / raw)
  To: gcc-bugs

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

ktkachov at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |INVALID

--- Comment #5 from ktkachov at gcc dot gnu.org ---
Closing...


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

end of thread, other threads:[~2014-05-13 16:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-13 15:48 [Bug c/61177] New: armv6zk: gcc rion4ik at gmail dot com
2014-05-13 15:54 ` [Bug c/61177] armv6zk: gcc fails compile one source file with fPIC and mthumb rion4ik at gmail dot com
2014-05-13 15:56 ` rion4ik at gmail dot com
2014-05-13 16:14 ` ktkachov at gcc dot gnu.org
2014-05-13 16:56 ` rion4ik at gmail dot com
2014-05-13 16:57 ` ktkachov 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).