From owner-freebsd-current@freebsd.org Tue Dec 8 09:02:38 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 14E159D3590 for ; Tue, 8 Dec 2015 09:02:38 +0000 (UTC) (envelope-from ray@woopwoop.com) Received: from mail-pf0-x232.google.com (mail-pf0-x232.google.com [IPv6:2607:f8b0:400e:c00::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E45591B08 for ; Tue, 8 Dec 2015 09:02:34 +0000 (UTC) (envelope-from ray@woopwoop.com) Received: by pfnn128 with SMTP id n128so9142593pfn.0 for ; Tue, 08 Dec 2015 01:02:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=woopwoop-com.20150623.gappssmtp.com; s=20150623; h=from:content-type:subject:date:message-id:to:mime-version; bh=3mernD//TMkpqEy2zPFPRMFskdPDTPp2euZIVbVKy9Y=; b=NwhN29dJAqQKpOjHjtoOzY10pxNni99tl9QJBc4jYmCM76zAm6pEBkxBGYHcU4tYDi 7lSppqNI3Lp5i7XR5ca0Q+VD7+KBW94AeHsXd3lgk5L16lZpW3Oy061UFC6g6WYon3zl XYPXjWa+R52pBMIbY2U68oiLyt5r3MYoJxvBQlHvjedHNXpFwS1atyC7wkOBP3iUhuWj WSADTVzV14UxVfJkyxQCfq1izY3kRZV4OJklVFj2Cubmw2PDnLxIYsQ2A4ZgfgeZwNNM Dp7GaKPAkIa6+LXTwViKUKCrTNuuqJ2+CJs39u2udf7ODCCW3Y0vJwBgZ6RzqxWSgdHB jc0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-type:subject:date:message-id:to :mime-version; bh=3mernD//TMkpqEy2zPFPRMFskdPDTPp2euZIVbVKy9Y=; b=LRagOOpMuOqmy+y6tAAauBgiQTcDv07C8TeoliEfX6eRV6NLLym/9/I2fxckEGduKz lZU7rUuY5VaLBPNpfn+T5l/fr3X0wmg3VxMv3Esg18zvZNVm+n7Om7bIQoOYZeSNXezA fx84mEt93tOPAXC3nFRHOANaq9EEIExoK0NvfNpKuTQW7/2HyDocSJ8szoae5zWhqayT T5mPVGYhWh71zKpyIJTZmJ5IwL79WGq+DR+SwJZ2mstWK/JYZhtUoHSzUA4v+uA0pr+X vL3/T/JmYQsoSgPBQWR8NjbleTATZUlqUnnhCITwkrCv05gqVAx1uIq8nfz0wexDLeGF k3EQ== X-Gm-Message-State: ALoCoQkzMGurizyFxQ8tOPfxc3Hyy23aOq/4VjPQ0m7qKEZ2C1FRBGsZFwlT2gC8Q3JIXCyfM8p5tRPqHwe6cbQmDmEF8nkREw== X-Received: by 10.98.68.8 with SMTP id r8mr2822006pfa.159.1449565354167; Tue, 08 Dec 2015 01:02:34 -0800 (PST) Received: from [10.0.10.26] ([220.240.231.173]) by smtp.gmail.com with ESMTPSA id h28sm3134596pfd.70.2015.12.08.01.02.31 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 08 Dec 2015 01:02:33 -0800 (PST) From: Ray Newman X-Pgp-Agent: GPGMail 2.5.1 Content-Type: multipart/signed; boundary="Apple-Mail=_43150F39-17E1-460B-BFDB-DECAA397B788"; protocol="application/pgp-signature"; micalg=pgp-sha512 Subject: Dwarf problem with gcc and gdb Date: Tue, 8 Dec 2015 19:02:26 +1000 Message-Id: To: FreeBSD-current@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) X-Mailer: Apple Mail (2.1878.6) X-Mailman-Approved-At: Tue, 08 Dec 2015 12:22:04 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Dec 2015 09:02:38 -0000 --Apple-Mail=_43150F39-17E1-460B-BFDB-DECAA397B788 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi, Compiled using gcc (FreeBSD Ports Collection) 4.8.5 on arm (Raspberry Pi = - several versions); BSDmakefile attached (make test used). gdb gives: GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you = are welcome to change it and/or distribute copies of it under certain = conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for = details. This GDB was configured as "armv6-marcel-freebsd"...Dwarf Error: wrong = version in compilation unit header (is 4, should be 2) [in module = /home/ray/mumps/mumps] I need to fix this to find the *real* problem. Thanks, Ray # Makefile for MUMPS BSD # Copyright (c) Raymond Douglas Newman, 1999 - 2014 # with help from Sam Habiel CC =3D gcc LIBS =3D -lm -lcrypt EXTRA =3D -O -Wall -Iinclude .ifmake test EXTRA =3D -O0 -g -gdwarf-2 -gstrict-dwarf -ggdb -Wall -Iinclude .endif SUBDIRS=3Dcompile database init runtime seqio symbol util xcall RM=3Drm -f PROG =3D mumps OBJS =3D compile/dollar.o \ compile/eval.o \ compile/localvar.o \ compile/parse.o \ compile/routine.o \ database/db_buffer.o \ database/db_daemon.o \ database/db_get.o \ database/db_ic.o \ database/db_kill.o \ database/db_locate.o \ database/db_main.o \ database/db_rekey.o \ database/db_set.o \ database/db_uci.o \ database/db_util.o \ database/db_view.o \ init/init_create.o \ init/init_run.o \ init/init_start.o \ init/mumps.o \ runtime/runtime_attn.o \ runtime/runtime_buildmvar.o \ runtime/runtime_debug.o \ runtime/runtime_func.o \ runtime/runtime_math.o \ runtime/runtime_pattern.o \ runtime/runtime_run.o \ runtime/runtime_ssvn.o \ runtime/runtime_util.o \ runtime/runtime_vars.o \ seqio/SQ_Util.o \ seqio/SQ_Signal.o \ seqio/SQ_Device.o \ seqio/SQ_File.o \ seqio/SQ_Pipe.o \ seqio/SQ_Seqio.o \ seqio/SQ_Socket.o \ seqio/SQ_Tcpip.o \ symbol/symbol_new.o \ symbol/symbol_util.o \ util/util_key.o \ util/util_lock.o \ util/util_memory.o \ util/util_routine.o \ util/util_share.o \ util/util_strerror.o \ xcall/xcall.o .c.o: ${CC} ${EXTRA} -c $< -o $@ all: ${OBJS} ${CC} ${EXTRA} -o ${PROG} ${OBJS} ${LIBS} test: ${OBJS} ${CC} ${EXTRA} -o ${PROG} ${OBJS} ${LIBS} clean: rm -f ${OBJS} ${PROG} ${PROG}.core --Apple-Mail=_43150F39-17E1-460B-BFDB-DECAA397B788 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJWZpyiAAoJELNPlXuPO1O+eWsH/j5FZB7rvhOLOHnzKZtvi4Je wbjvld/BS/sg4IbIz0wkOaPeRBF4U60JaYMd6nU2LTN8GhkNyrqbpXqEtUsbzmI5 p8Fn8UE9ftS9beoSmJn4lkl/dbJTphVdVbXbGkpqiIrTkVXIuHTYcMbkIhZiYoXn Sj/U7CZTmgZ9xjGBXLkLEpGkIj+LxVlh7k2aEcZhNA/pwrtQUd8ly+1Ug5JBMXhh ZAOrDnKfgo01+yh44kkUfHDIjZJRWVGsEdYT04/sx1EFvzCVigi+/rU1oaDVFCem R3MTspAxJYWvDjN+VwIKXIj9PL1LXYgAmpXmETy7Jb06wcnu/TSyePDyG94g5sk= =Xsu1 -----END PGP SIGNATURE----- --Apple-Mail=_43150F39-17E1-460B-BFDB-DECAA397B788--