lkml.org 
[lkml]   [2005]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject2.6.14-rc2 compilation warnings (gcc-4.1-20050917)
Hi,
It maybe a bit off topic, but I just tried to compile latest
2.6.14-rc2 with new gcc-4.1 (stage 3:
http://gcc.gnu.org/develop.html#stage3). I have noticed some warnings
(in example):

usr/initramfs_data.S: Assembler messages:
usr/initramfs_data.S:1: Warning: line numbers must be positive; line
number 0 rejected

This maybe a gcc issue.

---

kernel/sched.c: In function 'yield':
kernel/sched.c:4069: warning: value computed is not used

void __sched yield(void)
{
set_current_state(TASK_RUNNING);
sys_sched_yield();
}

I found this while googling: http://gcc.gnu.org/ml/gcc/1998-04/msg00810.html

What's wrong? TASK_RUNNING is definition from include/linux/sched.h

Full compilation log:
http://stud.wsi.edu.pl/~piotrowskim/research/linux/gcc-4.1-20050917/compilation_log.txt

Regards,
Michal Piotrowski
-
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/

\
 
 \ /
  Last update: 2005-09-21 01:32    [W:0.046 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site