* Unable to compile 2.6.30-rc7 on RHEL 4 - GCC 3.4.6
@ 2009-05-25 16:56 debian developer
2009-05-25 21:17 ` Simon König
2009-05-25 21:45 ` GeunSik Lim
0 siblings, 2 replies; 7+ messages in thread
From: debian developer @ 2009-05-25 16:56 UTC (permalink / raw)
To: linux kernel, LKML
Hi all,
I am getting this error when trying to compile the latest rc:
/in/inndesk171/linux-2.6.28/arch/x86/Makefile:82: stack protector
enabled but no compiler support
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
CALL scripts/checksyscalls.sh
CC init/main.o
/in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h: In
function `start_kernel':
/in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1590:
warning: asm operand 1 probably doesn't match constraints
/in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1570:
warning: asm operand 2 probably doesn't match constraints
/in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1590:
warning: asm operand 1 probably doesn't match constraints
/in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1570:
warning: asm operand 2 probably doesn't match constraints
/in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1599:
warning: asm operand 1 probably doesn't match constraints
/in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1590:
error: impossible constraint in `asm'
/in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1570:
error: impossible constraint in `asm'
/in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1590:
error: impossible constraint in `asm'
/in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1570:
error: impossible constraint in `asm'
/in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1599:
error: impossible constraint in `asm'
/in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1568:
warning: 'f' might be used uninitialized in this function
/in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1568:
warning: 'f' might be used uninitialized in this function
/in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1568:
warning: 'f' might be used uninitialized in this function
/in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1568:
warning: 'f' might be used uninitialized in this function
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
The gcc version is as follows:
debiandev@inndesk171[80] gcc -v
Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-java-awt=gtk
--host=x86_64-redhat-linux
Thread model: posix
gcc version 3.4.6 20060404 (Red Hat 3.4.6-9)
Is this gcc version no longer usable to compile the latest kernel?
Thanks,
DD
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Unable to compile 2.6.30-rc7 on RHEL 4 - GCC 3.4.6
2009-05-25 16:56 Unable to compile 2.6.30-rc7 on RHEL 4 - GCC 3.4.6 debian developer
@ 2009-05-25 21:17 ` Simon König
2009-05-26 16:59 ` Stefan Richter
2009-05-25 21:45 ` GeunSik Lim
1 sibling, 1 reply; 7+ messages in thread
From: Simon König @ 2009-05-25 21:17 UTC (permalink / raw)
To: linux-kernel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 05/25/09 18:56, debian developer wrote:
> Hi all,
>
> I am getting this error when trying to compile the latest rc:
>
> /in/inndesk171/linux-2.6.28/arch/x86/Makefile:82: stack protector
> enabled but no compiler support
Hello!
As the message states, your compiler does not support this kernel feature.
You may want to disable CC_STACKPROTECTOR or use a gcc >= 4.2.
Regars,
Simon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkobCukACgkQzCF5U5e0QtICCACfXka95a8Tn9YlYRte+9zYwTZN
bpAAn0xxkUuiTE1T7gDqTmyXJurFhQ8Q
=wjdI
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Unable to compile 2.6.30-rc7 on RHEL 4 - GCC 3.4.6
2009-05-25 16:56 Unable to compile 2.6.30-rc7 on RHEL 4 - GCC 3.4.6 debian developer
2009-05-25 21:17 ` Simon König
@ 2009-05-25 21:45 ` GeunSik Lim
2009-05-26 5:56 ` debian developer
1 sibling, 1 reply; 7+ messages in thread
From: GeunSik Lim @ 2009-05-25 21:45 UTC (permalink / raw)
To: debian developer; +Cc: linux kernel, LKML
Hi,
If you want to use recent kernel source 2.6.24/2.6.28,
I recommend that you have to update linux distribution from current
linux distribution to
RHEL 5.X ( or CENTOS 5.X) in my experience.
Refer to http://linuxdistrowatch.com website to select linux
distribution for you.
If you keep gcc 3.X.X to compile recent kernel source contiunally,
You will meet another problems again.
On Tue, May 26, 2009 at 1:56 AM, debian developer <debiandev@gmail.com> wrote:
> Hi all,
>
> I am getting this error when trying to compile the latest rc:
>
> /in/inndesk171/linux-2.6.28/arch/x86/Makefile:82: stack protector
> enabled but no compiler support
> CHK include/linux/version.h
> CHK include/linux/utsrelease.h
> SYMLINK include/asm -> include/asm-x86
> CALL scripts/checksyscalls.sh
> CC init/main.o
> /in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h: In
> function `start_kernel':
> /in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1590:
> warning: asm operand 1 probably doesn't match constraints
> /in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1570:
> warning: asm operand 2 probably doesn't match constraints
> /in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1590:
> warning: asm operand 1 probably doesn't match constraints
> /in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1570:
> warning: asm operand 2 probably doesn't match constraints
> /in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1599:
> warning: asm operand 1 probably doesn't match constraints
> /in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1590:
> error: impossible constraint in `asm'
> /in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1570:
> error: impossible constraint in `asm'
> /in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1590:
> error: impossible constraint in `asm'
> /in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1570:
> error: impossible constraint in `asm'
> /in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1599:
> error: impossible constraint in `asm'
> /in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1568:
> warning: 'f' might be used uninitialized in this function
> /in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1568:
> warning: 'f' might be used uninitialized in this function
> /in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1568:
> warning: 'f' might be used uninitialized in this function
> /in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1568:
> warning: 'f' might be used uninitialized in this function
> make[1]: *** [init/main.o] Error 1
> make: *** [init] Error 2
>
>
> The gcc version is as follows:
> debiandev@inndesk171[80] gcc -v
> Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/specs
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
> --infodir=/usr/share/info --enable-shared --enable-threads=posix
> --disable-checking --with-system-zlib --enable-__cxa_atexit
> --disable-libunwind-exceptions --enable-java-awt=gtk
> --host=x86_64-redhat-linux
> Thread model: posix
> gcc version 3.4.6 20060404 (Red Hat 3.4.6-9)
>
>
> Is this gcc version no longer usable to compile the latest kernel?
>
> Thanks,
> DD
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
--
Regards,
GeunSik Lim
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Unable to compile 2.6.30-rc7 on RHEL 4 - GCC 3.4.6
2009-05-25 21:45 ` GeunSik Lim
@ 2009-05-26 5:56 ` debian developer
2009-05-26 7:26 ` GeunSik Lim
2009-05-26 7:41 ` Mikael Pettersson
0 siblings, 2 replies; 7+ messages in thread
From: debian developer @ 2009-05-26 5:56 UTC (permalink / raw)
To: GeunSik Lim; +Cc: linux kernel, LKML
On Tue, May 26, 2009 at 3:15 AM, GeunSik Lim <leemgs1@gmail.com> wrote:
> Hi,
>
> If you keep gcc 3.X.X to compile recent kernel source contiunally,
> You will meet another problems again.
>
OK, so 3.x.x is officially not supposed to be used for compilation?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Unable to compile 2.6.30-rc7 on RHEL 4 - GCC 3.4.6
2009-05-26 5:56 ` debian developer
@ 2009-05-26 7:26 ` GeunSik Lim
2009-05-26 7:41 ` Mikael Pettersson
1 sibling, 0 replies; 7+ messages in thread
From: GeunSik Lim @ 2009-05-26 7:26 UTC (permalink / raw)
To: debian developer; +Cc: linux kernel, LKML
On Tue, May 26, 2009 at 2:56 PM, debian developer <debiandev@gmail.com> wrote:
> On Tue, May 26, 2009 at 3:15 AM, GeunSik Lim <leemgs1@gmail.com> wrote:
>> Hi,
>>
>> If you keep gcc 3.X.X to compile recent kernel source contiunally,
>> You will meet another problems again.
>>
>
> OK, so 3.x.x is officially not supposed to be used for compilation?
It not means that gcc 3.x.x don't support normal compilation of recent
kernel source officially. Below some cases is about gcc 3.x.x.
http://kerneltrap.org/mailarchive/linux-kernel/2008/1/8/547730
https://launchpad.net/ubuntu/hardy/+source/linux/2.6.24-23.48
https://bugzilla.redhat.com/show_bug.cgi?id=488991
>
>
and, I've mistyped a word. I figured out typo thanks to Martin.
X) http://linuxdistrowatch.com
O) http://distrowatch.com/
--
Regards,
GeunSik Lim
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Unable to compile 2.6.30-rc7 on RHEL 4 - GCC 3.4.6
2009-05-26 5:56 ` debian developer
2009-05-26 7:26 ` GeunSik Lim
@ 2009-05-26 7:41 ` Mikael Pettersson
1 sibling, 0 replies; 7+ messages in thread
From: Mikael Pettersson @ 2009-05-26 7:41 UTC (permalink / raw)
To: debian developer; +Cc: GeunSik Lim, linux kernel, LKML
debian developer writes:
> On Tue, May 26, 2009 at 3:15 AM, GeunSik Lim <leemgs1@gmail.com> wrote:
> > Hi,
> >
> > If you keep gcc 3.X.X to compile recent kernel source contiunally,
> > You will meet another problems again.
> >
>
> OK, so 3.x.x is officially not supposed to be used for compilation?
False, we support down to gcc-3.2.x.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Unable to compile 2.6.30-rc7 on RHEL 4 - GCC 3.4.6
2009-05-25 21:17 ` Simon König
@ 2009-05-26 16:59 ` Stefan Richter
0 siblings, 0 replies; 7+ messages in thread
From: Stefan Richter @ 2009-05-26 16:59 UTC (permalink / raw)
To: Simon König; +Cc: linux-kernel, Jeremy Fitzhardinge, debiandev
Simon König wrote:
> On 05/25/09 18:56, debian developer wrote:
>> Hi all,
>>
>> I am getting this error when trying to compile the latest rc:
>>
>> /in/inndesk171/linux-2.6.28/arch/x86/Makefile:82: stack protector
>> enabled but no compiler support
>
> Hello!
>
> As the message states, your compiler does not support this kernel feature.
> You may want to disable CC_STACKPROTECTOR or use a gcc >= 4.2.
Isn't this only a notification (warning if you will), not an error?
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=arch/x86/Kconfig;h=a6efe0a2e9ae613a81bedec5e4772698d16541cc;hb=HEAD#l1410
"This feature requires gcc version 4.2 or above, or a distribution gcc
with the feature backported. Older versions are automatically detected
and for those versions, this configuration option is ignored. (and a
warning is printed during bootup)"
Actual error messages start at:
>> CC init/main.o
>> /in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h: In
>> function `start_kernel':
>> /in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1590:
>> warning: asm operand 1 probably doesn't match constraints
[...]
>> /in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1590:
>> error: impossible constraint in `asm'
[...]
Hard to tell from here where the cause is. Cc'd Jeremy as somebody who
knows paravirt.h. Thread start: http://lkml.org/lkml/2009/5/25/303
--
Stefan Richter
-=====-==--= -=-= ==-=-
http://arcgraph.de/sr/
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-05-26 16:59 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-25 16:56 Unable to compile 2.6.30-rc7 on RHEL 4 - GCC 3.4.6 debian developer
2009-05-25 21:17 ` Simon König
2009-05-26 16:59 ` Stefan Richter
2009-05-25 21:45 ` GeunSik Lim
2009-05-26 5:56 ` debian developer
2009-05-26 7:26 ` GeunSik Lim
2009-05-26 7:41 ` Mikael Pettersson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox