Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Feb 2016 08:34:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 207102] misc/raspberrypi-userland: WITH_DEBUG= results in *** [interface/. . ./vcfiled_check.c.o] Error code 1 (stops the build)
Message-ID:  <bug-207102-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207102

            Bug ID: 207102
           Summary: misc/raspberrypi-userland: WITH_DEBUG=3D results in ***
                    [interface/. . ./vcfiled_check.c.o] Error code 1
                    (stops the build)
           Product: Ports & Packages
           Version: Latest
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: markmi@dsl-only.net
                CC: mikael.urankar@gmail.com
             Flags: maintainer-feedback?(mikael.urankar@gmail.com)
                CC: mikael.urankar@gmail.com

man ports reports that the make variable. . .

     WITH_DEBUG                    (bool) If set, debugging symbols are
                                   installed for ports binaries.

but when I use a make.conf with WITH_DEBUG=3D in it I get:

=3D=3D=3D>  Building for raspberrypi-userland-20151105_2
Scanning dependencies of target vcfiled_check
[  0%] Building C object
interface/vmcs_host/linux/vcfiled/CMakeFiles/vcfiled_check.dir/vcfiled_chec=
k.c.o
clang: error: argument unused during compilation: '-rdynamic'
clang: error: argument unused during compilation: '-rdynamic'
---
interface/vmcs_host/linux/vcfiled/CMakeFiles/vcfiled_check.dir/vcfiled_chec=
k.c.o
---
***
[interface/vmcs_host/linux/vcfiled/CMakeFiles/vcfiled_check.dir/vcfiled_che=
ck.c.o]
Error code 1

make[4]: stopped in
/usr/obj/portswork/usr/ports/misc/raspberrypi-userland/work/.build
1 error
. . .

Other context details:

# freebsd-version -ku; uname -aKU
11.0-CURRENT
11.0-CURRENT
FreeBSD rpi2 11.0-CURRENT FreeBSD 11.0-CURRENT #14 r295351M: Sun Feb  7
03:23:24 PST 2016=20=20=20=20
markmi@FreeBSDx64:/usr/obj/clang/arm.armv6/usr/src/sys/RPI2-NODBG  arm 1100=
097
1100097

# svnlite info /usr/ports/misc/raspberrypi-userland
Path: misc/raspberrypi-userland
Working Copy Root Path: /usr/ports
URL: https://svn0.us-west.freebsd.org/ports/head/misc/raspberrypi-userland
Relative URL: ^/head/misc/raspberrypi-userland
Repository Root: https://svn0.us-west.freebsd.org/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 408464
Node Kind: directory
Schedule: normal
Last Changed Author: amdmi3
Last Changed Rev: 408041
Last Changed Date: 2016-02-04 15:13:32 +0000 (Thu, 04 Feb 2016)

$ more /etc/make.conf=20
DEFAULT_VERSIONS+=3Dperl5=3D5.22
WRKDIRPREFIX=3D/usr/obj/portswork
WITH_DEBUG=3D
WITH_DEBUG_FILES=3D
MALLOC_PRODUCTION=3D
#
TO_TYPE=3Darmv6
VERSION_CONTEXT=3D11.0
CFLAGS+=3D-target ${TO_TYPE}--freebsd${VERSION_CONTEXT}-gnueabi -march=3Dar=
mv7-a
-mcpu=3Dcortex-a7 -mfloat-abi=3Dsoftfp -mno-unaligned-access
.if ${.MAKE.LEVEL} =3D=3D 0
CC=3D/usr/bin/clang
CXX=3D/usr/bin/clang++
CPP=3D/usr/bin/clang-cpp
.export CC
.export CXX
.export CPP
.endif

This is in a projects/clang380-imports context rather than a direct
11.0-CURRENT one: so clang 3.8.0 .

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207102-13>