mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Problem with Toolchain compiling
@ 2012-11-28 11:21 Anthony Harivel
  2012-11-28 11:38 ` Marc Kleine-Budde
  2012-11-28 13:27 ` Fricke, Silvio
  0 siblings, 2 replies; 4+ messages in thread
From: Anthony Harivel @ 2012-11-28 11:21 UTC (permalink / raw)
  To: ptxdist

Hello everyone,
 
I'm following the OSELAS.BSP-Pengutronix-Mini2440-Quickstart.pdf to
 make my Mini2440 working on Ptxdist.
 But when I try to build the Toolchain (OSELAS.Toolchain-2011.11.1),
 I've got this error:
 
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall
 -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
 -Wmissing-format-attribute -pedantic -Wno-long-long
 -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition
 -Wc++-compat   -DHAVE_CONFIG_H -I. -I.
 -I/home/anthony/work/OSELAS.Toolchain-2011.11.1/platform-arm-v4t-linux-gnueabi-
gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/build-cross/gcc-
4.6.2/gcc
 -I/home/anthony/work/OSELAS.Toolchain-2011.11.1/platform-arm-v4t-linux-gnueabi-
gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/build-cross/gcc-
4.6.2/gcc/.
 -I/home/anthony/work/OSELAS.Toolchain-2011.11.1/platform-arm-v4t-linux-gnueabi-
gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/build-cross/gcc-
4.6.2/gcc/../include
 -I/home/anthony/work/OSELAS.Toolchain-2011.11.1/platform-arm-v4t-linux-gnueabi-
gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/build-cross/gcc-
4.6.2/gcc/../libcpp/include
 -I/home/anthony/work/OSELAS.Toolchain-2011.11.1/platform-arm-v4t-linux-gnueabi-
gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/sysroot-
host/include
 -I/home/anthony/work/OSELAS.Toolchain-2011.11.1/platform-arm-v4t-linux-gnueabi-
gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/sysroot-
host/include
  -I/home/anthony/work/OSELAS.Toolchain-2011.11.1/platform-arm-v4t-linux-
gnueabi-gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/build-
cross/gcc-4.6.2/gcc/../libdecnumber
 -I/home/anthony/work/OSELAS.Toolchain-2011.11.1/platform-arm-v4t-linux-gnueabi-
gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/build-cross/gcc-
4.6.2/gcc/../libdecnumber/dpd
 -I../libdecnumber
 /home/anthony/work/OSELAS.Toolchain-2011.11.1/platform-arm-v4t-linux-gnueabi-
gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/build-cross/gcc-
4.6.2/gcc/lto-cgraph.c
 -o lto-cgraph.o
 gtype-desc.c:8829:18: error: subscripted value is neither array nor
 pointer nor vector
 gtype-desc.c:8948:36: error: subscripted value is neither array nor
 pointer nor vector
 gtype-desc.c:9032:31: error: subscripted value is neither array nor
 pointer nor vector
 gtype-desc.c:9053:31: error: subscripted value is neither array nor
 pointer nor vector
 gtype-desc.c:9060:31: error: subscripted value is neither array nor
 pointer nor vector
 gtype-desc.c:9067:31: error: subscripted value is neither array nor
 pointer nor vector
 make[3]: *** [gtype-desc.o] Error 1
 make[3]: *** Waiting for unfinished jobs....
 /bin/bash /home/anthony/work/OSELAS.Toolchain-2011.11.1/platform-arm-v4t-linux-
gnueabi-gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/build-
cross/gcc-4.6.2/gcc/../move-if-change
 tmp-attrtab.c insn-attrtab.c
 echo timestamp > s-attrtab
 make[3]: Leaving directory
 `/home/anthony/work/OSELAS.Toolchain-2011.11.1/platform-arm-v4t-linux-gnueabi-
gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/build-cross/gcc-
4.6.2-first-build/gcc'
 make[2]: *** [all-gcc] Error 2
 make[2]: Leaving directory
 `/home/anthony/work/OSELAS.Toolchain-2011.11.1/platform-arm-v4t-linux-gnueabi-
gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/build-cross/gcc-
4.6.2-first-build'
 make[1]: *** [all] Error 2
 make[1]: Leaving directory
 `/home/anthony/work/OSELAS.Toolchain-2011.11.1/platform-arm-v4t-linux-gnueabi-
gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/build-cross/gcc-
4.6.2-first-build'
 make: *** [/home/anthony/work/OSELAS.Toolchain-2011.11.1/platform-arm-v4t-
linux-gnueabi-gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-
sanitized/state/cross-gcc-first.compile]
 Error 2
 
Do you have any idea why I've got this error ??
 Thanks in advance !
 
Regards,
 Anthony


-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] Problem with Toolchain compiling
  2012-11-28 11:21 [ptxdist] Problem with Toolchain compiling Anthony Harivel
@ 2012-11-28 11:38 ` Marc Kleine-Budde
  2012-11-28 13:27 ` Fricke, Silvio
  1 sibling, 0 replies; 4+ messages in thread
From: Marc Kleine-Budde @ 2012-11-28 11:38 UTC (permalink / raw)
  To: ptxdist; +Cc: Anthony Harivel


[-- Attachment #1.1: Type: text/plain, Size: 611 bytes --]

On 11/28/2012 12:21 PM, Anthony Harivel wrote:
> Hello everyone,
>  
> I'm following the OSELAS.BSP-Pengutronix-Mini2440-Quickstart.pdf to
>  make my Mini2440 working on Ptxdist.
>  But when I try to build the Toolchain (OSELAS.Toolchain-2011.11.1),
>  I've got this error:

Can you try the latest toolchain 2011.11.3.

Marc
-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 261 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] Problem with Toolchain compiling
  2012-11-28 11:21 [ptxdist] Problem with Toolchain compiling Anthony Harivel
  2012-11-28 11:38 ` Marc Kleine-Budde
@ 2012-11-28 13:27 ` Fricke, Silvio
  2012-11-28 13:46   ` Marc Kleine-Budde
  1 sibling, 1 reply; 4+ messages in thread
From: Fricke, Silvio @ 2012-11-28 13:27 UTC (permalink / raw)
  To: ptxdist

Hi,

> I'm following the OSELAS.BSP-Pengutronix-Mini2440-Quickstart.pdf to
>   make my Mini2440 working on Ptxdist.
>   But when I try to build the Toolchain (OSELAS.Toolchain-2011.11.1),
>   I've got this error:
>   [...]
>   gtype-desc.c:8829:18: error: subscripted value is neither array nor
>   pointer nor vector
>   gtype-desc.c:8948:36: error: subscripted value is neither array nor
>   pointer nor vector
>   gtype-desc.c:9032:31: error: subscripted value is neither array nor
>   pointer nor vector
>   gtype-desc.c:9053:31: error: subscripted value is neither array nor
>   pointer nor vector
>   gtype-desc.c:9060:31: error: subscripted value is neither array nor
>   pointer nor vector
>   gtype-desc.c:9067:31: error: subscripted value is neither array nor
>   pointer nor vector [...]

I had the same problem here with my archlinux-box, and found this [1] 
bug-entry. Maybe it helps.

[1] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51969

Silvio




-- 
-- S. Fricke --------------- jabber:silvio@conversation.port1024.net --
    Data Modul AG                            TEL:    +49-89-56017-154
    Basic Development                        FAX:    +49-89-56017-119
    Linux - Development                       RG: HR-Muenchen B-85591
-- Landsberger Str. 322 D-80687 Muenchen - http://www.data-modul.com --
-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] Problem with Toolchain compiling
  2012-11-28 13:27 ` Fricke, Silvio
@ 2012-11-28 13:46   ` Marc Kleine-Budde
  0 siblings, 0 replies; 4+ messages in thread
From: Marc Kleine-Budde @ 2012-11-28 13:46 UTC (permalink / raw)
  To: ptxdist; +Cc: Fricke, Silvio


[-- Attachment #1.1: Type: text/plain, Size: 1549 bytes --]

On 11/28/2012 02:27 PM, Fricke, Silvio wrote:
> Hi,
> 
>> I'm following the OSELAS.BSP-Pengutronix-Mini2440-Quickstart.pdf to
>>   make my Mini2440 working on Ptxdist.
>>   But when I try to build the Toolchain (OSELAS.Toolchain-2011.11.1),
>>   I've got this error:
>>   [...]
>>   gtype-desc.c:8829:18: error: subscripted value is neither array nor
>>   pointer nor vector
>>   gtype-desc.c:8948:36: error: subscripted value is neither array nor
>>   pointer nor vector
>>   gtype-desc.c:9032:31: error: subscripted value is neither array nor
>>   pointer nor vector
>>   gtype-desc.c:9053:31: error: subscripted value is neither array nor
>>   pointer nor vector
>>   gtype-desc.c:9060:31: error: subscripted value is neither array nor
>>   pointer nor vector
>>   gtype-desc.c:9067:31: error: subscripted value is neither array nor
>>   pointer nor vector [...]
> 
> I had the same problem here with my archlinux-box, and found this [1] 
> bug-entry. Maybe it helps.
> 
> [1] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51969

Thanks.

This bug has been fixed in oselas.toolchain in commit:

    2b9ec90 cross-gcc: Fix compilation with host gcc 4.7

a.k.a.

    v2011.11.1-6-g2b9ec90

Which means it's fixed in v2011.11.2.

Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 261 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2012-11-28 13:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-28 11:21 [ptxdist] Problem with Toolchain compiling Anthony Harivel
2012-11-28 11:38 ` Marc Kleine-Budde
2012-11-28 13:27 ` Fricke, Silvio
2012-11-28 13:46   ` Marc Kleine-Budde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox