Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:GA
gcc33
head-tail.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File head-tail.patch of Package gcc33
Index: gcc/configure.in =================================================================== --- gcc/configure.in.orig 2009-11-20 13:04:56.000000000 +0100 +++ gcc/configure.in 2009-11-20 13:05:00.000000000 +0100 @@ -1686,7 +1686,7 @@ elif test x$gcc_cv_as != x; then # GNU LD versions before 2.12.1 have buggy support for STV_HIDDEN. # This is irritatingly difficult to feature test for. Look for # the date string after the version number. - ld_ver=`$gcc_cv_ld --version 2>/dev/null | head -1` + ld_ver=`$gcc_cv_ld --version 2>/dev/null | head -n 1` if echo "$ld_ver" | grep GNU > /dev/null; then changequote(,)dnl ld_vers=`echo $ld_ver | sed -n 's,^.*[ ]\([0-9][0-9]*\.[0-9][0-9]*\(\|\.[0-9][0-9]*\(\|\.[0-9][0-9]*\)\)\)\([ ].*\|\)$,\1,p'` @@ -1751,7 +1751,7 @@ EOF # ??? There exists an elf-specific test that will crash # the assembler. Perhaps it's better to figure out whether # arbitrary sections are supported and try the test. - as_ver=`$gcc_cv_as --version 2>/dev/null | head -1` + as_ver=`$gcc_cv_as --version 2>/dev/null | head -n 1` if echo "$as_ver" | grep GNU > /dev/null; then changequote(,)dnl as_ver=`echo $as_ver | sed -e 's/GNU assembler \([0-9.][0-9.]*\).*/\1/'` @@ -1779,7 +1779,7 @@ if test x$gcc_cv_gas_major_version != x fi elif test x$gcc_cv_as != x; then # Check if this is GAS. - as_ver=`$gcc_cv_as --version < /dev/null 2> /dev/null | head -1` + as_ver=`$gcc_cv_as --version < /dev/null 2> /dev/null | head -n 1` rm -f a.out 2> /dev/null if echo "$as_ver" | grep GNU > /dev/null; then # Versions up to and including 2.11.0 may mis-optimize @@ -1832,7 +1832,7 @@ EOF # and we got the correct data, then succeed. if $gcc_cv_as -o conftest.o conftest.s > /dev/null 2>&1 \ && $gcc_cv_objdump -s -j .eh_frame conftest.o 2>/dev/null \ - | tail -3 > conftest.got \ + | tail -n 3 > conftest.got \ && { cmp conftest.lit conftest.got > /dev/null 2>&1 \ || cmp conftest.big conftest.got > /dev/null 2>&1; } then Index: gcc/configure =================================================================== --- gcc/configure.orig 2009-11-20 13:04:56.000000000 +0100 +++ gcc/configure 2009-11-20 13:05:00.000000000 +0100 @@ -7319,7 +7319,7 @@ elif test x$gcc_cv_as != x; then # GNU LD versions before 2.12.1 have buggy support for STV_HIDDEN. # This is irritatingly difficult to feature test for. Look for # the date string after the version number. - ld_ver=`$gcc_cv_ld --version 2>/dev/null | head -1` + ld_ver=`$gcc_cv_ld --version 2>/dev/null | head -n 1` if echo "$ld_ver" | grep GNU > /dev/null; then ld_vers=`echo $ld_ver | sed -n 's,^.*[ ]\([0-9][0-9]*\.[0-9][0-9]*\(\|\.[0-9][0-9]*\(\|\.[0-9][0-9]*\)\)\)\([ ].*\|\)$,\1,p'` ld_date=`echo $ld_ver | sed -n 's,^.*\([2-9][0-9][0-9][0-9]\)[-]*\([01][0-9]\)[-]*\([0-3][0-9]\).*$,\1\2\3,p'` @@ -7385,7 +7385,7 @@ EOF # ??? There exists an elf-specific test that will crash # the assembler. Perhaps it's better to figure out whether # arbitrary sections are supported and try the test. - as_ver=`$gcc_cv_as --version 2>/dev/null | head -1` + as_ver=`$gcc_cv_as --version 2>/dev/null | head -n 1` if echo "$as_ver" | grep GNU > /dev/null; then as_ver=`echo $as_ver | sed -e 's/GNU assembler \([0-9.][0-9.]*\).*/\1/'` as_major=`echo $as_ver | sed 's/\..*//'` @@ -7414,7 +7414,7 @@ if test x$gcc_cv_gas_major_version != x fi elif test x$gcc_cv_as != x; then # Check if this is GAS. - as_ver=`$gcc_cv_as --version < /dev/null 2> /dev/null | head -1` + as_ver=`$gcc_cv_as --version < /dev/null 2> /dev/null | head -n 1` rm -f a.out 2> /dev/null if echo "$as_ver" | grep GNU > /dev/null; then # Versions up to and including 2.11.0 may mis-optimize @@ -7467,7 +7467,7 @@ EOF # and we got the correct data, then succeed. if $gcc_cv_as -o conftest.o conftest.s > /dev/null 2>&1 \ && $gcc_cv_objdump -s -j .eh_frame conftest.o 2>/dev/null \ - | tail -3 > conftest.got \ + | tail -n 3 > conftest.got \ && { cmp conftest.lit conftest.got > /dev/null 2>&1 \ || cmp conftest.big conftest.got > /dev/null 2>&1; } then
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor