Skip to contentSkip to conversation

linux-next: build failure after merge of the rd-docs tree

DISCUSSION Stephen Rothwell 3 participants 6 messages Sep 16, 2014 – Sep 17, 2014 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Randy,

After merging the rd-docs tree, today's linux-next build (powerpc allyesconfig) failed like this:

Documentation/vDSO/vdso_test.c:15:22: fatal error: sys/auxv.h: No such file or directory

Caused by commit e9cb990eff15 ("Documentation: update vDSO makefile to build portable examples").

I have reverted that commit for today.

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]
#1 lore raw
Quoted 7 lines · Stephen Rothwell

Hi Randy,

After merging the rd-docs tree, today's linux-next build (powerpc allyesconfig) failed like this:

Documentation/vDSO/vdso_test.c:15:22: fatal error: sys/auxv.h: No such file or directory

What glibc version are you running?
It appears the function getauxval (and I assume the missing header) were only added in glibc 2.16.

Thanks,

Peter

#2 lore raw

Hi Peter,

Quoted 6 lines · On Tue, 16 Sep 2014 13:19:07 -0400 Peter Foley <[email protected]> wrote:
Quoted 4 lines · Stephen Rothwell

After merging the rd-docs tree, today's linux-next build (powerpc allyesconfig) failed like this:

Quoted 6 lines
Quoted 2 lines

Documentation/vDSO/vdso_test.c:15:22: fatal error: sys/auxv.h: No such file or directory

What glibc version are you running?
It appears the function getauxval (and I assume the missing header) were only added in glibc 2.16.

My build machine runs Debian stable which only has libc6 version 2.13.

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]
#3 lore raw
Quoted 3 lines · Stephen Rothwell

Hi Peter,

My build machine runs Debian stable which only has libc6 version 2.13.

Ok, depending on a specific glibc version seems kinda hacky. Maybe we should just disable auto-building vdso_test?

Randy?

#4 lore raw
Quoted 10 lines · Peter Foley
Quoted 3 lines · Stephen Rothwell

Hi Peter,

My build machine runs Debian stable which only has libc6 version 2.13.

Ok, depending on a specific glibc version seems kinda hacky. Maybe we should just disable auto-building vdso_test?

Randy?
--

I don't have a good answer to that, so yes, I suppose just disable it. Please send a patch.

Thanks,

Signature · 1 line
~Randy
#5 lore raw
Quoted 2 lines · Randy Dunlap

I don't have a good answer to that, so yes, I suppose just disable it. Please send a patch.

Will do.