Skip to contentSkip to conversation

possible build system oddity

DISCUSSION Oliver Neukum 6 participants 11 messages Aug 31, 2007

lore
Share & tools
lore
#0 lore raw

Hi,

I only touched sound/usb/usbaudio.c
Nevertheless the whole subtree und sound/ is recompiling. What's happening?

Regards
Oliver

#1 lore raw
Quoted 3 lines · Oliver Neukum

I only touched sound/usb/usbaudio.c
Nevertheless the whole subtree und sound/ is recompiling. What's happening?

Not here. Do make V=2, it should say why it's recompiling.

#2 lore raw
Quoted 6 lines · Alexey Dobriyan
Quoted 3 lines · Oliver Neukum

I only touched sound/usb/usbaudio.c
Nevertheless the whole subtree und sound/ is recompiling. What's happening?

Not here. Do make V=2, it should say why it's recompiling.

And if the problem persist then do a make V=1 and post output here. This information combined should tell what goes wrong.

Sam

#3 lore raw

Am Freitag 31 August 2007 schrieb Sam Ravnborg:

Quoted 10 lines · Alexey Dobriyan
Quoted 6 lines · Oliver Neukum
Quoted 3 lines

I only touched sound/usb/usbaudio.c
Nevertheless the whole subtree und sound/ is recompiling. What's happening?

Not here. Do make V=2, it should say why it's recompiling.

And if the problem persist then do a make V=1 and post output here. This information combined should tell what goes wrong.

Not reproducible. Sorry.

Regards
Oliver

#4 lore raw
Quoted 7 lines · Oliver Neukum

Am Freitag 31 August 2007 schrieb Sam Ravnborg:

Quoted 6 lines · Alexey Dobriyan
Quoted 5 lines · Oliver Neukum
Quoted 3 lines

I only touched sound/usb/usbaudio.c
Nevertheless the whole subtree und sound/ is recompiling. What's happening?

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

Not here. Do make V=2, it should say why it's recompiling.

And if the problem persist then do a make V=1 and post output here. This information combined should tell what goes wrong.

Not reproducible. Sorry.

NFS/etc. involved?

Jan

#5 lore raw

Am Freitag 31 August 2007 schrieb Jan Engelhardt:

Quoted 8 lines · Oliver Neukum
Quoted 7 lines

Am Freitag 31 August 2007 schrieb Sam Ravnborg:

Quoted 6 lines · Alexey Dobriyan
Quoted 5 lines · Oliver Neukum
Quoted 3 lines

I only touched sound/usb/usbaudio.c
Nevertheless the whole subtree und sound/ is recompiling. What's happening?

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Quoted 1 line

Not here. Do make V=2, it should say why it's recompiling.

And if the problem persist then do a make V=1 and post output here. This information combined should tell what goes wrong.

Not reproducible. Sorry.

NFS/etc. involved?

No, exclusively on reiserfs.

Regards
Oliver

#6 lore raw
In reply to Oliver Neukum
Quoted 5 lines · Oliver Neukum

Hi,

I only touched sound/usb/usbaudio.c
Nevertheless the whole subtree und sound/ is recompiling. What's happening?

The only file that gets compiled (CC) should be sound/usb/usbaudio.c

It seems you are confused by the fact that this recompilation results in several relinks (LD)?

Quoted 2 lines

Regards
Oliver

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed
#7 lore raw

Am Freitag 31 August 2007 schrieben Sie:

Quoted 9 lines · Oliver Neukum
Quoted 5 lines

Hi,

I only touched sound/usb/usbaudio.c
Nevertheless the whole subtree und sound/ is recompiling. What's happening?

The only file that gets compiled (CC) should be sound/usb/usbaudio.c

Quoted 8 lines

It seems you are confused by the fact that this recompilation results in several relinks (LD)?

Quoted 2 lines

      Regards
              Oliver

cu
Adrian

Nope, it recompiled everything under sound/ and a lot of stuff under net/. I'll check the system for odd scripts running at night touching stuff.

Regards
Oliver

#8 lore raw
In reply to Adrian Bunk
Quoted 11 lines · Adrian Bunk
Quoted 5 lines · Oliver Neukum

Hi,

I only touched sound/usb/usbaudio.c
Nevertheless the whole subtree und sound/ is recompiling. What's happening?

The only file that gets compiled (CC) should be sound/usb/usbaudio.c

It seems you are confused by the fact that this recompilation results in several relinks (LD)?

Or something else changed that he didn't realize. Just the other day, I applied a one-line patch that hit one .c file, and *the entire kernel* started rebuilding.

Took me a while to figure out that I'd been looking for something else, and done a 'vi Makefile' in the top level, and exited with 'ZZ' rather than ':q' ;)

#9 lore raw
Quoted 13 lines · On Fri, Aug 31, 2007 at 11:00:27AM -0400, [email protected] wrote:
Quoted 11 lines · Adrian Bunk
Quoted 5 lines · Oliver Neukum

Hi,

I only touched sound/usb/usbaudio.c
Nevertheless the whole subtree und sound/ is recompiling. What's happening?

The only file that gets compiled (CC) should be sound/usb/usbaudio.c

It seems you are confused by the fact that this recompilation results in several relinks (LD)?

Quoted 6 lines

Or something else changed that he didn't realize. Just the other day, I applied a one-line patch that hit one .c file, and *the entire kernel* started rebuilding.

Took me a while to figure out that I'd been looking for something else, and done a 'vi Makefile' in the top level, and exited with 'ZZ' rather than ':q' ;)

That should not result in a full rebuild, but you would see at least stuff in kernel/ being compiled.

kbuild try to track all dependencies and sometimes people have a few suprises. But the important part is that people *trust* that kbuild does the right thing when they touch something - and so it is these days.

Sam

#10 lore raw
In reply to [email protected]
Quoted 10 lines · On Aug 31 2007 11:00, [email protected] wrote:
Quoted 3 lines

It seems you are confused by the fact that this recompilation results in several relinks (LD)?

Or something else changed that he didn't realize. Just the other day, I applied a one-line patch that hit one .c file, and *the entire kernel* started rebuilding.

Took me a while to figure out that I'd been looking for something else, and done a 'vi Makefile' in the top level, and exited with 'ZZ' rather than ':q' ;)

Changing the top makefile (where your version info is) should only result in rebuilding the .mod.c, .mod.o and .ko files.

Jan