amd64-gcc question

William A. Mahaffey III wam at hiwaay.net
Thu Nov 12 14:15:23 UTC 2015



Howdy, new to this list. I posted this to FreeBSD-users & was advised to 
try this list or the GNU GCC list, so here goes:


I pkg-installed amd64-gcc over the weekend hoping for Graphite 
(auto-loop parallelization) support, but no go. I looked around over the 
weekend & found that there was no port for that package, only the pkg. I 
just did a 'portsnap fetch upgrade' & there is now a port for amd64-gcc, 
but it includes no files & no pkg-descr file. I determined over the 
weekend that the gcc's from about V4.3 on can indeed be built w/ 
Graphite support, but you need to do it manually. I found a post dated 
2010 from someone who did it under linux: 
http://openwall.info/wiki/internal/gcc-local-build. I see no configure 
files for any of the gcc ports (I have the entire ports tree downloaded 
& local, & freshly updated as of a few min. ago). What is the 
canonical/BPP (FreeBSD 9.3R) way of recompiling a port with different 
config flags ?


I did find ports/pkgs for the 2 main components apparently needed for 
Graphite support (cloog & ppl) & pkg-installed them over the weekend, so 
I am ready to go on that front.


I have gotten as far as running 'make showconfig' in the various gcc* & 
amd64-gcc directories to see what info I could get on default config 
options. In all cases they gave options & said to run 'make config' to 
change options. I didn't even see a 'config:' entry in the Makefiles 
(probably included from elsewhere, but I didn't chase it). I only want 
to make the minimum # of config mods necessary (trusting that pkg/port 
maintainers probably know more than I about their various pkg's & ports) 
to add the cloog & ppl support & recompile.


I have been using pkg almost exclusively to maintain my (now 3) FreeBSD 
9.3R boxen, except for recompiling the linux-c6 flash plugin for this 
box whenever it get upgraded, so I have *no* experience with getting 
more nitty-gritty w/ FreeBSD ports than that :-/. TIA & have a good one.


BTW:

[wam at devbox, pre, 8:19:58am] 676 % uname -a
FreeBSD devbox 9.3-RELEASE-p24 FreeBSD 9.3-RELEASE-p24 #0: Sat Aug 22 
01:54:44 UTC 2015 
root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
[wam at devbox, pre, 8:20:00am] 677 % sysctl -A | grep -A1 -B1 model
hw.machine: amd64
hw.model: AMD A8-6500 APU with Radeon(tm) HD Graphics
hw.ncpu: 4
--
dev.rgephy.0.%location: phyno=1
dev.rgephy.0.%pnpinfo: oui=0xe04c model=0x0 rev=0x0
dev.rgephy.0.%parent: miibus0
[wam at devbox, pre, 8:20:12am] 678 %


-- 

	William A. Mahaffey III

  ----------------------------------------------------------------------

	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                            -- Gen. George S. Patton Jr.

_______________________________________________
freebsd-questions at freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-toolchain mailing list