On Mon, Mar 3, 2008 at 10:20 PM, Ivan Vucica <ivucica_at_gmail.com> wrote:
> Cheers,
>
> I got this gcc 3.4.1 toolchain from handhelds.org FTP. Same/similar thing
> happens with codesourcery 3.4 compiler. (By the way, the previous 4.3 bug
> is actually a 4.x bug, I tried with 4.2 and 4.1 to no avail.)
>
> The gcc --version does not say much more:
>
> arm-linux-gcc (GCC) 3.4.1
> Copyright (C) 2004 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.
>
> And here's what I get:
>
>
> arm-linux-gcc -D__KERNEL__ -I/opt/kernel/linux-2.4.19-rmk6-pxa1-hh/include
> -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
> -fno-common -mapcs -mno-sched-prolog -Uarm -fno-common -pipe -mapcs-32
> -D__LINUX_ARM_ARCH__=4 -march=armv4 -mtune=strongarm1100 -msoft-float
> -Uarm -nostdinc -I /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/include
> -DKBUILD_BASENAME=cpufreq -DEXPORT_SYMTAB -c cpufreq.c
> cpufreq.c: In function `cpufreq_setup':
> cpufreq.c:97: warning: use of compound expressions as lvalues is
> deprecated
> cpufreq.c:98: warning: use of compound expressions as lvalues is
> deprecated
> cpufreq.c: In function `cpufreq_set':
> cpufreq.c:284: warning: use of compound expressions as lvalues is
> deprecated
> cpufreq.c: At top level:
> cpufreq.c:413: warning: use of compound expressions as lvalues is
> deprecated
> cpufreq.c:413: error: initializer element is not constant
> cpufreq.c:413: error: (near initialization for `ctl_cpu_vars[0].data')
> cpufreq.c:417: error: initializer element is not constant
> cpufreq.c:417: error: (near initialization for `ctl_cpu_vars[0]')
> cpufreq.c:421: warning: use of compound expressions as lvalues is
> deprecated
> cpufreq.c:421: error: initializer element is not constant
> cpufreq.c:421: error: (near initialization for `ctl_cpu_vars[1].data')
> cpufreq.c:425: error: initializer element is not constant
> cpufreq.c:425: error: (near initialization for `ctl_cpu_vars[1]')
> cpufreq.c:432: error: initializer element is not constant
> cpufreq.c:432: error: (near initialization for `ctl_cpu_vars[2]')
> cpufreq.c:435: error: initializer element is not constant
> cpufreq.c:435: error: (near initialization for `ctl_cpu_vars[3]')
> cpufreq.c: In function `cpufreq_init':
> cpufreq.c:514: warning: use of compound expressions as lvalues is
> deprecated
> cpufreq.c:516: warning: use of compound expressions as lvalues is
> deprecated
> cpufreq.c:519: warning: use of compound expressions as lvalues is
> deprecated
> cpufreq.c:528: warning: use of compound expressions as lvalues is
> deprecated
> make[2]: *** [cpufreq.o] Error 1
> make[2]: Leaving directory `/opt/kernel/linux-2.4.19-rmk6-pxa1-hh/kernel'
> make[1]: *** [first_rule] Error 2
> make[1]: Leaving directory `/opt/kernel/linux-2.4.19-rmk6-pxa1-hh/kernel'
> make: *** [_dir_kernel] Error 2
>
>
>
> Hints? Fixes? Working compilers?
I'd just disable cpufreq for now.
regards
Philipp
> Or even just a prebuilt kernel with default ipaqsa_config, but with iPAQ
> 3800 MMC driver built in or in initrd. I really need this to boot my ipaq with
> HaRET. (Want to "dual boot" so I can still play WinCE games.)
>
> ------------
> Ivan Vucica
>
> _______________________________________________
> Kernel-bugs mailing list
> Kernel-bugs_at_handhelds.org
> https://www.handhelds.org/mailman/listinfo/kernel-bugs
>
Received on Fri Mar 07 2008 - 03:59:13 EST
This archive was generated by hypermail 2.2.0 : Fri Mar 07 2008 - 03:59:26 EST