Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jul 2016 15:25:19 -0400
From:      Paul Mather <paul@gromit.dlib.vt.edu>
To:        bob prohaska <fbsd@www.zefox.net>
Cc:        Ian Lepore <ian@freebsd.org>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: Poudriere failing on some 10-STABLE ports --- "uses VFP register arguments"
Message-ID:  <5D3A3A05-27B2-4680-9711-D02696D4ABE5@gromit.dlib.vt.edu>
In-Reply-To: <20160703044730.GG3406@www.zefox.net>
References:  <FD6DC5B4-46CD-4494-853B-955C790946EA@gromit.dlib.vt.edu> <CAJwjRmRZDVMHTV7-gKpu9Kq25wHMt1CQYuLKcZY5QgX8ZARULg@mail.gmail.com> <854D8FF8-CE45-44C1-B371-79AA6DD782FB@gromit.dlib.vt.edu> <1466799055.72182.50.camel@freebsd.org> <B84DD3F6-FBA3-48AD-BAE8-47B41B91944F@gromit.dlib.vt.edu> <20160703044730.GG3406@www.zefox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jul 3, 2016, at 12:47 AM, bob prohaska <fbsd@www.zefox.net> wrote:

> On Thu, Jun 30, 2016 at 09:04:41AM -0400, Paul Mather wrote:
>>=20
>> I think this package building issue is probably a gentle hint that I =
should also upgrade my 10-STABLE armv6 systems (Raspberry Pi) to =
11-CURRENT, like my BeagleBone Black.  It's probably better in the long =
run than trying to figure out how to build 10-STABLE packages, as =
11-CURRENT appears to be where all the focus and TLC is in the =
FreeBSD/arm world nowadays.  Plus, I'd only have to maintain one local =
FreeBSD/arm package repository... :-)
>>=20
>=20
> Moving to 11-CURRENT might not help much. An RPI2 at r302244 with =
ports at 417951 stops in
> portmaster -af=20
> with:=20
>=20
> .....
> Build a threading Perl? [y] =20
> Use which C compiler? [cc] =20
> Checking for GNU cc in disguise and/or its version number...
> Now, how can we feed standard input to your C preprocessor...
> Directories to use for library searches?
> [/usr/lib /usr/local/lib /usr/bin/../lib/clang/3.8.0/lib /usr/lib] =20
> What is the file extension used for shared libraries? [so] =20
> Make shared library basenames unique? [n] =20
> Build Perl for SOCKS? [n] =20
> Try to use long doubles if available? [n] =20
> Checking for optional libraries...
> What libraries to use? [-lpthread -lgdbm -lm -lcrypt -lutil] =20
> What optimizer/debugger flag should be used? [-g] =20
> Any additional cc flags?
> [-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DDEBUGGING =
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include] =20
> Let me guess what the preprocessor flags are...
> Any additional ld flags (NOT including libraries)?
> [-lpthread -Wl,-E  -fstack-protector -L/usr/local/lib] =20
> Checking your choice of C compiler and flags for coherency...
> I've tried to compile and run the following simple program:
>=20
> #include <stdio.h>
> int main() { printf("Ok\n"); return(0); }
>=20
> I used the command:
>=20
> 	cc -o try -g -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DDEBUGGING =
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include =
-lpthread -Wl,-E -fstack-protector -L/usr/local/lib try.c -lpthread =
-lgdbm -lm -lcrypt -lutil
> 	 ./try
>=20
> and I got the following output:
>=20
> /usr/bin/ld: ERROR: try uses VFP register arguments, =
/usr/local/lib/libgdbm.so does not
> /usr/bin/ld: failed to merge target specific data of file =
/usr/local/lib/libgdbm.so
> cc: error: linker command failed with exit code 1 (use -v to see =
invocation)
> I can't compile the test program.
> You have a BIG problem.  Shall I abort Configure [y] =20
> Ok.  Stopping Configure.
> =3D=3D=3D>  Script "Configure" failed unexpectedly.
>=20
> It appears that a mismatch has developed between the base system and =
the ports which
> hasn't been resolved by building world. I'll try again but am not =
optimistic.=20
>=20
> Thanks for reading, any advice appreciated!
>=20
> bob prohaska


I'm not having any problems building FreeBSD/arm 11-CURRENT ports under =
FreeBSD/amd64 11-CURRENT via Poudriere.

My last successful build of lang/perl5.20 was on 2016-06-30:

=3D=3D=3D=3D>> Building lang/perl5.20
build started at Thu Jun 30 16:40:27 EDT 2016
port directory: /usr/ports/lang/perl5.20
building for: FreeBSD armv6_current-default-job-02 11.0-ALPHA5 FreeBSD =
11.0-ALPHA5 r302298 arm
maintained by: perl@FreeBSD.org
Makefile ident:      $FreeBSD: head/lang/perl5.20/Makefile 414862 =
2016-05-09 16:03:40Z mat $
Poudriere version: 3.1.14
Host OSVERSION: 1100120
Jail OSVERSION: 1100120



The revision of the FreeBSD/arm 11-CURRENT jail is later than yours =
above: r302298 vs. r302244.  I don't know whether that is significant.

I've not tried to build ports natively under FreeBSD/arm because it's =
much easier for me to build them on a build machine using Poudriere =
along with the other architectures for which I build local repositories.

Cheers,

Paul.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5D3A3A05-27B2-4680-9711-D02696D4ABE5>