public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/6988] New: glibc compile failure with kernel-header >= 2.6.25 on sh architecture
@ 2008-10-27  4:18 masaki dot chikama at gmail dot com
  2008-10-27  4:19 ` [Bug libc/6988] " masaki dot chikama at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: masaki dot chikama at gmail dot com @ 2008-10-27  4:18 UTC (permalink / raw)
  To: glibc-bugs

Linux kernel >= 2.6.25 doesn't install asm/elf.h and asm/user.h
at make headers_install process.
This causes a glibc compile failure on sh architecture.
A proposed patch importing from kernel header is attached.

Here is build error log.

In file included from ../sysdeps/unix/sysv/linux/sh/sys/procfs.h:31,
                 from ../nptl/../nptl_db/thread_db.h:29,
                 from ../nptl/descr.h:33,
                 from ../nptl/sysdeps/sh/tls.h:87,
                 from ../include/tls.h:6,
                 from ../sysdeps/unix/sysv/linux/sh/sysdep.h:27,
                 from ../sysdeps/unix/sysv/linux/sh/sh4/sysdep.h:4,
                 from <stdin>:1:
../sysdeps/unix/sysv/linux/sh/sys/user.h:24:22: error: asm/user.h: No such file 
or directory
In file included from ../nptl/../nptl_db/thread_db.h:29,
                 from ../nptl/descr.h:33,
                 from ../nptl/sysdeps/sh/tls.h:87,
                 from ../include/tls.h:6,
                 from ../sysdeps/unix/sysv/linux/sh/sysdep.h:27,
                 from ../sysdeps/unix/sysv/linux/sh/sh4/sysdep.h:4,
                 from <stdin>:1:
../sysdeps/unix/sysv/linux/sh/sys/procfs.h:32:21: error: asm/elf.h: No such
file
 or directory
In file included from ../nptl/../nptl_db/thread_db.h:29,
                 from ../nptl/descr.h:33,
                 from ../nptl/sysdeps/sh/tls.h:87,
                 from ../include/tls.h:6,
                 from ../sysdeps/unix/sysv/linux/sh/sysdep.h:27,
                 from ../sysdeps/unix/sysv/linux/sh/sh4/sysdep.h:4,
                 from <stdin>:1:
../sysdeps/unix/sysv/linux/sh/sys/procfs.h:76: error: expected
specifier-qualifier-list before 'elf_gregset_t'
../sysdeps/unix/sysv/linux/sh/sys/procfs.h:102: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'prgregset_t'
../sysdeps/unix/sysv/linux/sh/sys/procfs.h:103: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'prfpregset_t'
In file included from ../nptl/descr.h:33,
                 from ../nptl/sysdeps/sh/tls.h:87,
                 from ../include/tls.h:6,
                 from ../sysdeps/unix/sysv/linux/sh/sysdep.h:27,
                 from ../sysdeps/unix/sysv/linux/sh/sh4/sysdep.h:4,
                 from <stdin>:1:
../nptl/../nptl_db/thread_db.h:383: error: expected declaration specifiers or
'...' before 'prfpregset_t'
../nptl/../nptl_db/thread_db.h:387: error: expected declaration specifiers or
'...' before 'prgregset_t'
../nptl/../nptl_db/thread_db.h:397: warning: type defaults to 'int' in
declaration of 'prfpregset_t'
../nptl/../nptl_db/thread_db.h:397: error: expected ';', ',' or ')' before '*'
token
../nptl/../nptl_db/thread_db.h:401: error: expected declaration specifiers or
'...' before 'prgregset_t'
make[2]: ***
[/builddir/build/BUILD/glibc-20080828T1623/build-sh4-linuxnptl/tcb-offsets.h]
Error 1
make[2]: Leaving directory `/builddir/build/BUILD/glibc-20080828T1623/csu'

-- 
           Summary: glibc compile failure with kernel-header >= 2.6.25 on sh
                    architecture
           Product: glibc
           Version: 2.8
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: masaki dot chikama at gmail dot com
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: sh4-redhat-linux
  GCC host triplet: sh4-redhat-linux
GCC target triplet: sh4-redhat-linux


http://sourceware.org/bugzilla/show_bug.cgi?id=6988

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <bug-6988-131@http.sourceware.org/bugzilla/>]

end of thread, other threads:[~2014-07-02  6:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-27  4:18 [Bug libc/6988] New: glibc compile failure with kernel-header >= 2.6.25 on sh architecture masaki dot chikama at gmail dot com
2008-10-27  4:19 ` [Bug libc/6988] " masaki dot chikama at gmail dot com
2008-12-27  3:17 ` vapier at gentoo dot org
2010-06-01  2:21 ` pasky at suse dot cz
     [not found] <bug-6988-131@http.sourceware.org/bugzilla/>
2014-07-02  6:03 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).