public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* confirmed: kernel build for 2.6.8-rc3 is broken for at least i386
@ 2004-08-04  9:50 Alexander Stohr
  2004-08-04 16:07 ` Sam Ravnborg
  0 siblings, 1 reply; 8+ messages in thread
From: Alexander Stohr @ 2004-08-04  9:50 UTC (permalink / raw)
  To: linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 1336 bytes --]

a "make bzImage" produces this command:

cmd_arch/i386/kernel/vmlinux.lds.s :=                                       
   
gcc -E -Wp,-MD,arch/i386/kernel/.vmlinux.lds.s.d                            
   
 -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -D__ASSEMBLY__      
   
 -Iinclude/asm-i386/mach-default -traditional                               
   
                                                                            
   
    -o arch/i386/kernel/vmlinux.lds.s arch/i386/kernel/vmlinux.lds.S        
   
                                                                            
   
it should produce something like this:

cmd_arch/i386/kernel/vmlinux.lds.s :=                                       
   
gcc -E -Wp,-MD,arch/i386/kernel/.vmlinux.lds.s.d                            
   
 -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -D__ASSEMBLY__      
   
 -Iinclude/asm-i386/mach-default -traditional                               
   
 -P -C -Ui386                                                               
   
    -o arch/i386/kernel/vmlinux.lds.s arch/i386/kernel/vmlinux.lds.S

see the last but one line for the difference.

-Alex. (i am not subscribed to this list)

-- 
NEU: WLAN-Router für 0,- EUR* - auch für DSL-Wechsler!
GMX DSL = supergünstig & kabellos http://www.gmx.net/de/go/dsl


^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: confirmed: kernel build for 2.6.8-rc3 is broken for at least i386
@ 2004-08-05 14:17 Alexander Stohr
  2004-08-05 20:33 ` Sam Ravnborg
  0 siblings, 1 reply; 8+ messages in thread
From: Alexander Stohr @ 2004-08-05 14:17 UTC (permalink / raw)
  To: sam, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 2457 bytes --]

Sam,

thanks for your qualified hints.
I tried as you did suggest it to me and then it works in the subdir.
Then i retried with "make bzImage" and came to that point in 
compilation for the origin of the failure. (see appended log,
"noise" on language macros an similar stripped...)

As you, and possibly others can see,
the compilation happens from the arch/i386/kernel/timers subdir,
where we got lead to by th arch/i386/kernel subdir directly
and in this case the needed settings seem to lack despite they
were present in a former stage of the compilation.

Having a qualified fix done by a skilled person for that bad behaviour
in any future standard kernel would be nice thing. Thank you so far.

-Alex.
(please CC me in replys, i am not subscribed to this list)


make -f scripts/Makefile.build obj=scripts/basic                            
   
make -f scripts/Makefile.build obj=scripts                                  
   
make -f scripts/Makefile.build obj=scripts/mod                              
   
make -f scripts/Makefile.build obj=arch/i386/kernel
arch/i386/kernel/asm-offsets
.s                                                                          
   
arch/i386/kernel/Makefile:70: AFLAGS-lds=-P -C -Ui386                       
   
arch/i386/kernel/Makefile:71: aflags=
make -f scripts/Makefile.build obj=init
make -f scripts/Makefile.build obj=usr
make -f scripts/Makefile.build obj=arch/i386/kernel                         
   
arch/i386/kernel/Makefile:70: AFLAGS-lds=                                   
   
arch/i386/kernel/Makefile:71: aflags=                                       
   
make -f scripts/Makefile.build obj=arch/i386/kernel/acpi                    
   
make -f scripts/Makefile.build obj=arch/i386/kernel/cpu                     
   
make -f scripts/Makefile.build obj=arch/i386/kernel/cpu/mcheck              
   
make -f scripts/Makefile.build obj=arch/i386/kernel/cpu/mtrr                
   
make -f scripts/Makefile.build obj=arch/i386/kernel/timers                  
   
  gcc -E -Wp,-MD,arch/i386/kernel/.vmlinux.lds.s.d -nostdinc -iwithprefix
includ
e -D__KERNEL__ -Iinclude  -D__ASSEMBLY__ -Iinclude/asm-i386/mach-default
-tradit
ional     -o arch/i386/kernel/vmlinux.lds.s arch/i386/kernel/vmlinux.lds.S
[...]

until it fails for the linking when using the generated lds.s file.

-- 
NEU: WLAN-Router für 0,- EUR* - auch für DSL-Wechsler!
GMX DSL = supergünstig & kabellos http://www.gmx.net/de/go/dsl


^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: confirmed: kernel build for 2.6.8-rc3 is broken for at least i386
@ 2004-08-09 15:04 Alexander Stohr
  0 siblings, 0 replies; 8+ messages in thread
From: Alexander Stohr @ 2004-08-09 15:04 UTC (permalink / raw)
  To: linux-kernel; +Cc: sam, pluto

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 1280 bytes --]

hello Sam,

i think i reached the root cause of my problem:

bash# export AFLAGS_vmlinux.lds.o=123
export: AFLAGS_vmlinux.lds.o=123: not a legal variable name

the problem seems to be raised by dots beeing part of the variable name.

my version of bash is reported like shown here in the environment:
BASH_VERSION=1.14.5(1)

unfortunately the whole build process, including GNU Make 3.80,
fails absolutely silently for this specific point of system error.

sorry that i am feeling unable right now to provide a fix.
maybe some more research is needed to find a viable solution.
in worst case the whole makefile system has to be patched
for any such variable construct. 

on the other side it does look like the normal recursive call sheme
of make is immune to such bash habits, is it? (supposed it launches
itselves directyl and not embedded in a few other shell commands...)

i am not totally sure about that all - especially because i tried
a newer shell which exposed the very same limitation, but there must
be something in that area because i could fiddle out that the var
setting gets lost all the time when calling "scripts/Makefile.build".

-Alex.

-- 
NEU: WLAN-Router für 0,- EUR* - auch für DSL-Wechsler!
GMX DSL = supergünstig & kabellos http://www.gmx.net/de/go/dsl


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

end of thread, other threads:[~2004-08-09 15:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-04  9:50 confirmed: kernel build for 2.6.8-rc3 is broken for at least i386 Alexander Stohr
2004-08-04 16:07 ` Sam Ravnborg
  -- strict thread matches above, loose matches on Subject: below --
2004-08-05 14:17 Alexander Stohr
2004-08-05 20:33 ` Sam Ravnborg
2004-08-07 16:21   ` Paweł Sikora
2004-08-07 17:39     ` Sam Ravnborg
2004-08-07 18:54       ` Paweł Sikora
2004-08-09 15:04 Alexander Stohr

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