diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-04-07 16:31:05 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-04-07 16:31:05 +0000 |
commit | 7f9a8b5f55cc1409cc93277bbe8449a898bac835 (patch) | |
tree | 8d51e709a8586318fbad65a0c0f2e0ad660cd517 | |
parent | 27a5bb33ac41b838dd3c4ebdc3a75a6ad666dfc7 (diff) | |
download | glibc-7f9a8b5f55cc1409cc93277bbe8449a898bac835.tar.gz glibc-7f9a8b5f55cc1409cc93277bbe8449a898bac835.tar.xz glibc-7f9a8b5f55cc1409cc93277bbe8449a898bac835.zip |
Update.
1998-04-07 19:03 Zack Weinberg <zack@rabi.phys.columbia.edu> * glibcbug.in: On linux, report version of kernel headers seen by compiler.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | glibcbug.in | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 4b08547c1a..c5d5f09a8e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1998-04-07 19:03 Zack Weinberg <zack@rabi.phys.columbia.edu> + + * glibcbug.in: On linux, report version of kernel headers seen + by compiler. + 1998-04-07 16:18 Ulrich Drepper <drepper@cygnus.com> * libc.map: Add __asprintf to GLIBC_2.1. diff --git a/glibcbug.in b/glibcbug.in index dd953c5c2d..cc570408f2 100644 --- a/glibcbug.in +++ b/glibcbug.in @@ -107,6 +107,12 @@ ARCH=`[ -f /bin/arch ] && /bin/arch` MACHINE=`[ -f /bin/machine ] && /bin/machine` CCVERSION=`$CC -v 2>&1 | sed -n 's/gcc version //p'` +case $HOST in *linux*) + KHDRS=`(echo '#include <linux/version.h> + echo '! UTS_RELEASE' ) | + $CC -E - | sed -n '/!/s/[! "]//gp'`;; +esac + ORGANIZATION_C='<organization of PR author (multiple lines)>' SYNOPSIS_C='<synopsis of the problem (one line)>' SEVERITY_C='<[ non-critical | serious | critical ] (one line)>' @@ -149,6 +155,7 @@ ${ORGANIZATION- $ORGANIZATION_C} `[ -n "$CFLAGS" ] && echo Build CFLAGS: $CFLAGS` `[ -n "$CC" ] && echo Build CC: $CC` `[ -n "$CCVERSION" ] && echo Compiler version: $CCVERSION` +`[ -n "$KHDRS" ] && echo Kernel headers: $KHDRS` `[ -n "$VERSIONING" ] && echo Symbol versioning: $VERSIONING` `[ -n "$BUILD_STATIC" ] && echo Build static: $BUILD_STATIC` `[ -n "$BUILD_SHARED" ] && echo Build shared: $BUILD_SHARED` |