From: Xose Vazquez Perez Subject: Re: [BUG] multipath-tools: multipathd/main.c: cannot jump from this goto statement to its label Date: Wed, 6 Jul 2016 21:54:32 +0200 Message-ID: <8438d5fe-5a4d-f6d5-8012-4bad9784fc25@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: device-mapper development , Hannes Reinecke List-Id: dm-devel.ids On 06/29/2016 03:36 PM, Xose Vazquez Perez wrote: > spotted by clang-3.8.0: > > make[1]: Entering directory '/home/xose/tmp/arrays/multipath-tools.x1/multipathd' > clang -O2 -g -pipe -Wformat-security -Wall -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wunused -Wstrict-prototypes -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmultipath > -I../libmpathpersist -I../libmpathcmd -DUSE_SYSTEMD=229 -c -o main.o main.c > main.c:586:3: error: cannot jump from this goto statement to its label > goto out_unlock; > ^ > main.c:631:38: note: jump bypasses initialization of variable with __attribute__((cleanup)) > do { struct __pthread_cleanup_frame __clframe __attribute__ ((__cleanup__ (__pthread_cleanup_routine))) = { .__cancel_routine = (cleanup_lock), .__cancel_arg = (&vecs->lock), .__do_it = 1 };; > ^ > 1 error generated. > Hannes, could you please check this error? The code was added in 97846ae8. Thank you.