[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

unwind_frame_discard lastpipe-exec warning

From: Doug Kehn
Subject: unwind_frame_discard lastpipe-exec warning
Date: Thu, 23 Feb 2012 11:20:54 -0600
User-agent: Mutt/1.5.21 (2010-09-15)

Configuration Information [Automatically generated, do not change]:
Machine: arm
OS: linux-gnueabi
Compiler: arm-cortex_a8-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 
-mfpu=neon -mfloat-abi=softfp -mlittle-endian
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='arm' 
-DCONF_OSTYPE='linux-gnueabi' -DCONF_MACHTYPE='arm-cortex_a8-linux-gnueabi' 
-DCONF_VENDOR='cortex_a8' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' 
-I/home/dkehn/current/u/src/user/bash/bash-4.2-20-src.d/lib   -Wall 
uname output: Linux none 2.6.37 #1 Tue Feb 14 10:07:19 CST 2012 armv7l GNU/Linux
Machine Type: arm-cortex_a8-linux-gnueabi

Bash Version: 4.2
Patch Level: 20
Release Status: release

        When cross-compiling bash_cv_job_control_missing gets set to
        missing (bash_cv_job_control_missing=missing) because job
        control can't be validated.  Without job control using '|'
        results in a unwind_frame_discard warning.

        # echo hello | grep hello
        -sh: warning: unwind_frame_discard: lastpipe-exec: frame not found

        Compile bash without job control.  Then execute:
        echo hello | grep hello

        When cross-compiling, passing
        bash_cv_job_control_missing=present to configure enables job
        control and prevents the warning from being emitted.

        In execute_cmd.c, execute_pipeline() calls
        begin_unwind_frame ("lastpipe-exec").  This call is wrapped by a
        #if defined (JOB_CONTROL).  At the end of execute_pipeline(), a
        call is made to discard_unwind_frame ("lastpipe-exec").  This
        call is always executed.  It should probably be wrapped by a
        #if defined (JOB_CONTROL).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]