Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jul 2016 21:47:30 -0700
From:      bob prohaska <fbsd@www.zefox.net>
To:        Paul Mather <paul@gromit.dlib.vt.edu>
Cc:        Ian Lepore <ian@freebsd.org>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>, bob prohaska <fbsd@www.zefox.net>
Subject:   Re: Poudriere failing on some 10-STABLE ports --- "uses VFP register arguments"
Message-ID:  <20160703044730.GG3406@www.zefox.net>
In-Reply-To: <B84DD3F6-FBA3-48AD-BAE8-47B41B91944F@gromit.dlib.vt.edu>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 30, 2016 at 09:04:41AM -0400, Paul Mather wrote:
> 
> 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... :-)
> 

Moving to 11-CURRENT might not help much. An RPI2 at r302244 with ports at 417951 stops in
portmaster -af 
with: 

.....
Build a threading Perl? [y]  
Use which C compiler? [cc]  
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]  
What is the file extension used for shared libraries? [so]  
Make shared library basenames unique? [n]  
Build Perl for SOCKS? [n]  
Try to use long doubles if available? [n]  
Checking for optional libraries...
What libraries to use? [-lpthread -lgdbm -lm -lcrypt -lutil]  
What optimizer/debugger flag should be used? [-g]  
Any additional cc flags?
[-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include]  
Let me guess what the preprocessor flags are...
Any additional ld flags (NOT including libraries)?
[-lpthread -Wl,-E  -fstack-protector -L/usr/local/lib]  
Checking your choice of C compiler and flags for coherency...
I've tried to compile and run the following simple program:

#include <stdio.h>
int main() { printf("Ok\n"); return(0); }

I used the command:

	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

and I got the following output:

/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]  
Ok.  Stopping Configure.
===>  Script "Configure" failed unexpectedly.

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. 

Thanks for reading, any advice appreciated!

bob prohaska
 



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