Sandro
-
Posts
466 -
Joined
-
Last visited
-
Days Won
20
Content Type
Profiles
Forums
Blogs
Posts posted by Sandro
-
-
If you wanna try with latest gcc version in portage tree:
# echo "=sys-devel/gcc-5.3.0-r1">>/etc/portage/package.unmask # emerge =sys-devel/gcc-5.3.0-r1 # gcc-config -l (will list available versions) # gcc-config -f N (where N will be the number relative to the newer gcc (2 i think))
Take a look here https://www.phoronix.com/scan.php?page=news_item&px=GCC-5.3-New-Opt-Tests
Here https://gcc.gnu.org/gcc-5/changes.html
IA-32/x86-64- New ISA extensions support AVX-512{BW,DQ,VL,IFMA,VBMI} of Intel's CPU codenamed Skylake Server was added to GCC. That includes inline assembly support, new intrinsics, and basic autovectorization. These new AVX-512 extensions are available via the following GCC switches: AVX-512 Vector Length EVEX feature: -mavx512vl, AVX-512 Byte and Word instructions: -mavx512bw, AVX-512 Dword and Qword instructions: -mavx512dq, AVX-512 FMA-52 instructions: -mavx512ifma and for AVX-512 Vector Bit Manipulation Instructions: -mavx512vbmi.
- New ISA extensions support Intel MPX was added to GCC. This new extension is available via the -mmpx compiler switch. Intel MPX is a set of processor features which, with compiler, run-time library and OS support, brings increased robustness to software by run-time checking pointer references against their bounds. In GCC Intel MPX is supported by Pointer Bounds Checker and libmpx run-time libraries.
- The new -mrecord-mcount option for -pg generates a Linux kernel style table of pointers to mcount or __fentry__ calls at the beginning of functions. The new -mnop-mcount option in addition also generates nops in place of the __fentry__ or mcount call, so that a call per function can be later patched in. This can be used for low overhead tracing or hot code patching.
- The new -malign-data option controls how GCC aligns variables. -malign-data=compat uses increased alignment compatible with GCC 4.8 and earlier, -malign-data=abi uses alignment as specified by the psABI, and -malign-data=cacheline uses increased alignment to match the cache line size. -malign-data=compat is the default.
- The new -mskip-rax-setup option skips setting up the RAX register when SSE is disabled and there are no variable arguments passed in vector registers. This can be used to optimize the Linux kernel.
------------------------------------
Hello :)
-
Hi Dear Oleg .... i've trouble with mouse wheel :| I wanna change it (but it is a good mouse: http://www.techspot.com/images/products/mice/org/1706423119_701250880_o.jpg
However,
sandro@ci74771ht ~ $ eix -I sys-devel/gcc [I] sys-devel/gcc Available versions: (4.8) 4.8.5^s (4.8.5) 4.8.5-r1^s (4.9) 4.9.2^s 4.9.2-r1^s 4.9.2-r2^s 4.9.3^s 4.9.3-r1^s 4.9.3-r2^s (4.9.3) 4.9.3-r3^s (5.3) [M]5.3.0^s (5.3.0) [M]5.3.0-r1^s {ada altivec cxx doc +fortran go graphite hardened libssp multilib multislot nls objc objc++ openmp sanitize vanilla} Installed versions: 4.9.3-r3(4.9.3)^s(16:08:08 04/05/2016)(ada cxx fortran go graphite multilib nls objc objc++ openmp -altivec -doc -hardened -libssp -multislot -sanitize -vanilla) Description: The GNU Compiler CollectionThe 4.9.3 doesn't recognize "-march=skylake" .... i think then that there are 2 solutions: use the native_64 or update (unmasking) the GCC-5.X
Hello :)
-
$ tail -30 /proc/cpuinfo
Then I think that at this time there aren't ebuilds that uses SIMD newer than avx2
But with "-march=native", gcc will compile binary code using also > avx2 instructions if supported by your Skylake.
___________________________________________________________________
These are the mine (i7 "Haswell 4771 @3,5 GHz not overclocked)
options passed: -v test.c -march=haswell -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mmovbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mno-lwp -mfma -mno-fma4 -mno-xop -mbmi -mbmi2 -mno-tbm -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mrtm -mhle -mrdrnd -mf16c -mfsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=haswell -O2 options enabled: -faggressive-loop-optimizations -falign-labels -fasynchronous-unwind-tables -fauto-inc-dec -fbranch-count-reg -fcaller-saves -fcombine-stack-adjustments -fcommon -fcompare-elim -fcprop-registers -fcrossjumping -fcse-follow-jumps -fdefer-pop -fdelete-null-pointer-checks -fdevirtualize -fdevirtualize-speculatively -fdwarf2-cfi-asm -fearly-inlining -feliminate-unused-debug-types -fexpensive-optimizations -fforward-propagate -ffunction-cse -fgcse -fgcse-lm -fgnu-runtime -fgnu-unique -fguess-branch-probability -fhoist-adjacent-loads -fident -fif-conversion -fif-conversion2 -findirect-inlining -finline -finline-atomics -finline-functions-called-once -finline-small-functions -fipa-cp -fipa-profile -fipa-pure-const -fipa-reference -fipa-sra -fira-hoist-pressure -fira-share-save-slots -fira-share-spill-slots -fisolate-erroneous-paths-dereference -fivopts -fkeep-static-consts -fleading-underscore -flifetime-dse -fmath-errno -fmerge-constants -fmerge-debug-strings -fmove-loop-invariants -fomit-frame-pointer -foptimize-sibling-calls -foptimize-strlen -fpartial-inlining -fpeephole -fpeephole2 -fprefetch-loop-arrays -free -freg-struct-return -freorder-blocks -freorder-blocks-and-partition -freorder-functions -frerun-cse-after-loop -fsched-critical-path-heuristic -fsched-dep-count-heuristic -fsched-group-heuristic -fsched-interblock -fsched-last-insn-heuristic -fsched-rank-heuristic -fsched-spec -fsched-spec-insn-heuristic -fsched-stalled-insns-dep -fschedule-insns2 -fshow-column -fshrink-wrap -fsigned-zeros -fsplit-ivs-in-unroller -fsplit-wide-types -fstrict-aliasing -fstrict-overflow -fstrict-volatile-bitfields -fsync-libcalls -fthread-jumps -ftoplevel-reorder -ftrapping-math -ftree-bit-ccp -ftree-builtin-call-dce -ftree-ccp -ftree-ch -ftree-coalesce-vars -ftree-copy-prop -ftree-copyrename -ftree-cselim -ftree-dce -ftree-dominator-opts -ftree-dse -ftree-forwprop -ftree-fre -ftree-loop-if-convert -ftree-loop-im -ftree-loop-ivcanon -ftree-loop-optimize -ftree-parallelize-loops= -ftree-phiprop -ftree-pre -ftree-pta -ftree-reassoc -ftree-scev-cprop -ftree-sink -ftree-slsr -ftree-sra -ftree-switch-conversion -ftree-tail-merge -ftree-ter -ftree-vrp -funit-at-a-time -funwind-tables -fvar-tracking -fvar-tracking-assignments -fzero-initialized-in-bss -m128bit-long-double -m64 -m80387 -mabm -maes -malign-stringops -mavx -mavx2 -mbmi -mbmi2 -mcx16 -mf16c -mfancy-math-387 -mfma -mfp-ret-in-387 -mfsgsbase -mfxsr -mglibc -mhle -mieee-fp -mlong-double-80 -mlzcnt -mmmx -mmovbe -mpclmul -mpopcnt -mpush-args -mrdrnd -mred-zone -mrtm -msahf -msse -msse2 -msse3 -msse4 -msse4.1 -msse4.2 -mssse3 -mtls-direct-seg-refs -mvzeroupper -mxsave -mxsaveopt
-
@quantum: nothing to do; the error compares also with my system.
-
I'm with the "stable", and i've made an experiment installing gnucash.
When I try to update @world i'm in the same your situation.
But .... is necessary to update guile ? Which ebuilds requires strictly the 2.0.11 ? :wacko:
However, i've emerged gnucash; then emerge @preserved-rebuild (4 ebuilds recompiled with guile 1.8.x).
Making a revdep-rebuild only libreoffice-bin was reinstalled.
-
And if You use:
# emerge -DNupv world --with-bdeps=y
How is the output ?
-
k8-64x2 ~ # echo "=app-portage/gentoolkit-0.3.1-r1 ~amd64">>/etc/portage/package.accept_keywords
-----cut------
k8-64x2 ~ # euse -i xine
global use flags (searching: xine)
************************************************************
[+ C ] xine - Add support for the XINE movie libraries
local use flags (searching: xine)
************************************************************
[+ C ] xine
media-plugins/vdr-xineliboutput: Compile the xine input plugin for
displaying vdr video and OSD
[+ B] 1.1.0 [gentoo]
[+ B] 2.0.0_p20130821 [gentoo]
[+ B] 2.0.0_p20150220 [gentoo]
[+ B] 9999 [gentoo]
Ok Cardinal .... You're ever a real "Guru" ^^
Thx :)
-
@Cardinal:
I've:
k8-64x2 ~ # grep stag /etc/motd >>> Release: stage3-generic_64-funtoo-stable-2015-11-07 k8-64x2 ~ # k8-64x2 ~ # eix -I gentoolkit [I] app-portage/gentoolkit Available versions: 0.3.0.8-r2 ~0.3.0.9 ~0.3.0.9-r1 0.3.0.9-r2 ~0.3.1-r1 **9999 {PYTHON_TARGETS="pypy python2_7 python3_3 python3_4 python3_5"} Installed versions: 0.3.0.9-r2(00:26:01 12/02/2016)(PYTHON_TARGETS="python2_7 python3_4 -pypy -python3_3") Homepage: https://www.gentoo.org/proj/en/portage/tools/index.xml Description: Collection of administration scripts for Gentoo k8-64x2 ~ # euse -i xine WARNING: 'portageq envvar PORTDIR' is deprecated. Use any of 'get_repos, get_repo_path, repos_config' instead. WARNING: 'portageq envvar PORTDIR' is deprecated. Use any of 'get_repos, get_repo_path, repos_config' instead. WARNING: 'portageq envvar PORTDIR' is deprecated. Use any of 'get_repos, get_repo_path, repos_config' instead. global use flags (searching: xine) ************************************************************ [+ C ] xine - Add support for the XINE movie libraries local use flags (searching: xine) ************************************************************ [+ C ] xine media-plugins/vdr-xineliboutput: Compile the xine input plugin for displaying vdr video and OSD [+ B] 1.1.0 [gentoo] [+ B] 2.0.0_p20130821 [gentoo] [+ B] 2.0.0_p20150220 [gentoo] [+ B] 9999 [gentoo] k8-64x2 ~ #Now i try to update gentoolkit.
-
Hi;
Using the euse command, for example
# euse -i xine
I've those warnings:
WARNING: 'portageq envvar PORTDIR' is deprecated. Use any of 'get_repos, get_repo_path, repos_config' instead. WARNING: 'portageq envvar PORTDIR' is deprecated. Use any of 'get_repos, get_repo_path, repos_config' instead. WARNING: 'portageq envvar PORTDIR' is deprecated. Use any of 'get_repos, get_repo_path, repos_config' instead.
How could I do ?
Thanx :)
-
Or is possible to use
"-march=native"
take a look with 2 terminals the differencies between
echo 'int main(){return 0;}' > test.c && gcc -v -Q -march=native -O2 test.c -o test && rm test.c testand
echo 'int main(){return 0;}' > test.c && gcc -v -Q -march=skylake -O2 test.c -o test && rm test.c testNow there are also the ultimates processors (Broadwell-E with turbo boost technology 3.0 and other new features) :wacko:
Then same "family" may have differencies with new "steppings".
So I use "native".
And if You want to use gentoo-sources with experimental local use flag enabled You can compile also the kernel optimized for various architectures and also with "native".
-
Hi to All.
It is not working correctly suspension ram on an Acer laptop "Aspire" 5230.
When i close the cover, it seems that go in suspension.
But opening the cover, the laptop does not "wake up" and i must force the shutdown using "power button" for 5 seconds.
Some info of this system:
k8-64x2 ~ # uname -a
Linux k8-64x2 4.4.6-gentoo #1 SMP PREEMPT Sun May 29 19:50:33 CEST 2016 x86_64 AMD Athlon(tm) X2 Dual-Core QL-60 AuthenticAMD GNU/Linux
k8-64x2 ~ # lspci|grep -i vga
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RS780M [Mobility Radeon HD 3200]
global use flags (searching: upower)
************************************************************
[+ C ] upower - Enable power management support
[I] sys-power/upower
Available versions: 0.99.1(0/3) 0.99.2(0/3) 0.99.3(0/3) 0.99.3-r1(0/3) -*0.99.4.20150528(0/3) -*0.99.4.20150708(0/3) -*0.99.4.20150716(0/3) {+deprecated doc +introspection ios KERNEL="FreeBSD linux"}
Installed versions: 0.99.3-r1(21:33:10 02/06/2016)(deprecated introspection ios KERNEL="linux -FreeBSD")
k8-64x2 ~ # eix pm-utils
[I] sys-power/pm-utils
Available versions: 1.4.1-r6 ~1.4.1-r7 {alsa debug ntp VIDEO_CARDS="intel radeon"}
Installed versions: 1.4.1-r6(21:34:03 02/06/2016)(alsa -debug -ntp VIDEO_CARDS="radeon -intel")
I don't know if are necessary other informations.
Thank You for any suggestion :)
-
Hi to All ... i've trouble with the USE "gconf" then i'm n ot able to install compiz in my Funtoo "stable".
In Fedora 24 alpha it works.
How can i do ?
ci74771ht ~ # emerge compiz compiz-fusion emerald hicolor-icon-theme --autounmask-write Calculating dependencies... done! emerge: there are no ebuilds built with USE flags to satisfy ">=x11-wm/compiz-0.8.8[gconf?]". !!! One of the following packages is required to complete your request: - x11-wm/compiz-0.9.12.2::gentoo (Missing IUSE: gconf) - x11-wm/compiz-0.9.12.1::gentoo (Missing IUSE: gconf) - x11-wm/compiz-0.9.12::gentoo (Missing IUSE: gconf) (dependency required by "x11-plugins/compiz-plugins-extra-0.8.8::gentoo" [ebuild]) (dependency required by "x11-wm/compiz-fusion-0.8.8::gentoo" [ebuild]) (dependency required by "compiz-fusion" [argument])
My "epro" is
ci74771ht ~ # epro list === flavor: === core*, desktop, hardened, minimal, server, workstation === build: === current, experimental, (stable*) === arch: === arm-32bit, pure64, x86-32bit, (x86-64bit*) === subarch: === amd64-bulldozer, amd64-jaguar, amd64-k10, amd64-k8, amd64-k8+sse3 amd64-piledriver, amd64-steamroller, atom_64, btver1_64, core-avx-i core2_64, corei7, generic_64, intel64-broadwell, intel64-haswell intel64-ivybridge, intel64-nehalem, intel64-sandybridge, intel64-silvermont intel64-westmere, native_64*, nocona, opteron_64, xen-pentium4+sse3_64 === mix-ins: === X*, audio*, cinnamon, console-extras*, dvd*, gnome*, gnome-3.16-fixups* hardened, kde*, kde-plasma-5, lxde, lxqt, mate*, media*, media-pro* mediadevice-audio-consumer, mediadevice-audio-pro, mediadevice-base mediadevice-video-consumer, mediadevice-video-pro, mediaformat-audio-common mediaformat-audio-extra*, mediaformat-gfx-common, mediaformat-gfx-extra* mediaformat-video-common, mediaformat-video-extra*, no-emul-linux-x86 no-systemd*, openvz-host, print*, python3-only, vmware-guest xfce*
Thanks :)
-
Thanx for Your answer :)
However is possible to change the size of /dev/shm using the size= in mount options.
By default /dev/shm is "half of the total RAM"
shm 7,9G 308K 7,9G 1% /dev/shm
If i do
# mount -o remount,size=15G /dev/shm shm 15G 8,8M 15G 1% /dev/shm
E.G. if you don't start the graphic system i think that You could use up to 3 GiB for your temporary file system.
Or may be to have a "conflict" in this case with the /run giving then possible errors or have "swapping" ?
(Now I try to compile debian-sources with "binary" thath requires 14 GiB to make a little test)
About ccache the "gain" about speedness to compile is expecially for devel that may test softwares then recompile more then once the same ebuild to test it (It was so written in the Gentoo Guide); but i can make a little test; have you got some personal xperience about the use of ccache (e. g. using qlop -gH or time emerge ebuild) ?
Thanx (i hope not to bore you with those questions).
PS: 15 GiB for debian-sources (with binary) are not sufficient; so i've made a
# mount -o remount,size=16G /dev/shm
And now i'm compiling it.
I'm curious if the system will swap (i'm on KDE 4.x with all effects enabled).
OK: little "report"
time to compiling debian-sources: real 17m57.877s
swap up to 3 GiB (but is fast cause is in a partion of my ssd)Software opened during compilation: firefox, thunderbird, htop.
now the situation is:
ci74771ht ~ # free -m total used free shared buff/cache available Mem: 15993 1166 13347 14 1478 14712 Swap: 8191 222 7969
I hope that this experiment could be considered a little nice :)
-
Thank You very mutch; i've bookmarked this page :)
But ... I wonder which of the two methods can be considered better ?
mumble mumble ... I think a discussion "fruitful and interesting" :)
2 GB for /var/tmp may be usable for not all the ebuilds ....
However, with 4 GiB of RAM the /dev/shm (that is half of total memory by default) create the same situation (then 2GiB of /dev/shm mounte as tmpfs).
mumble .... What do You think About ?
I hope that my method must have not troubles about "security" .... :|
Thanx Friend :)
-
tmp-meteque:
I'm curious; what method do you use to compile in RAM ?
Do You mount /var/tmp on a tmpfs ?
Could I see Your /etc/fstab ?
Thanks dear friend _'_
-
cardinal: You are a "real master" and Your knoledge is very great :)
I'd like to be Your friend :)
I thought also about a
$ su -c "# emerge =x11-base/xorg-server-1.18.3
I don't like "sudo" and i don't use it.
Thank You to have explained about "zsh" :)
However, dear Cardianl you're a "real great Teacher" :)
Thanks for Your works _'_
Greetings
Sandro :)
-
Uhm ... very strange.
Try
$ su - insert root_passwordd # emerge -DNupv =x11-base/xorg-server-1.18.3
Thiis (and eventually other) ebuild(s) must be unmasked.
-
Since i've 16 GiB of ram i use /dev/shm as PORTAGE_TMPDIR to compile the system (however, /dev/shm after a reboot will be cleaned up; /dev/shm is a tmpfs in RAM "volatile memory").
using in /etc/fstab:
shm /dev/shm tmpfs exec,rw,mode=1777 0 0
About eclean, i think that your "policy" is better than the mine .... also for Cardinal my method is not "the right way".
Last thing, I remove older kernels; so take a look in /usr/src/ and in /lib/modules if there are "ancient" kernels that requires space on disk.
(excuse my "bad US Language").
Pleased that you've solved :)
Hello Friends :)
-
Hi hope not to bore ....
But sometimes i think may be a good thing to take a look into directories with "obsolete" files to have a gain about space on disk.
The "*Trash" must be deleted sometimes....
so i've asked about df -h and du -hs
For Example I've my 2 little and very elementary scripts that i use to clean system:
ci74771ht ~ # cat Pulisci rm -rf /usr/portage/distfiles rm -rf /var/tmp/portage rm -rf /dev/shm/portage
And
ci74771ht ~ # cat Clean_Kernel cd /usr/src/linux && make clean && cd ~
With my Clean_kernel i can free 8 GiB of temp files (i use genkernel).
For me is a good idea.
Hello to All _||_
PS: and after an
# emerge -DNu world --with-bdeps=y
,
# emerge -c
-
Hi; i'm readnig your build.log.
there is a trouble about space on device (it seems).
/var/tmp/portage/sys-devel/gcc-4.9.3-r3/temp/ccMwer11.s: Assembler messages:/var/tmp/portage/sys-devel/gcc-4.9.3-r3/temp/ccMwer11.s: Fatal error: can't write i386.o: No space left on device/usr/x86_64-pc-linux-gnu/bin/as: BFD (Funtoo 2.25) 2.25.0 assertion fail elf.c:2660/usr/x86_64-pc-linux-gnu/bin/as: BFD (Funtoo 2.25) 2.25.0 assertion fail elf.c:2660/usr/x86_64-pc-linux-gnu/bin/as: BFD (Funtoo 2.25) 2.25.0 assertion fail elf.c:2660/usr/x86_64-pc-linux-gnu/bin/as: BFD (Funtoo 2.25) 2.25.0 assertion fail elf.c:2660/usr/x86_64-pc-linux-gnu/bin/as: BFD (Funtoo 2.25) 2.25.0 assertion fail elf.c:2660/usr/x86_64-pc-linux-gnu/bin/as: BFD (Funtoo 2.25) 2.25.0 assertion fail elf.c:2660/var/tmp/portage/sys-devel/gcc-4.9.3-r3/temp/ccMwer11.s: Fatal error: can't close i386.o: No space left on device
At first
# rm -rf /usr/portage/distfiles # rm -rf /var/tmp/portage # cd /usr/src/linux && make clean && cd ~
What tells to You a
df -h
?
If now there is more space on / (root filesystem) you can retry the
# emerge -1u gcc
Otherwise, put
# df -h # du -hs /*
-
Use the "button" "make solved" about the best (for You) answer :)
-
Excuse me if i've made errors with my answers :(
-
Ok .... very happy For You :)
-
I'm using kde4 (then with qt4 and "-qt5");
To emerge vlc try with
# euse -D qt5 media-video/vlc # euse -E qt4 media-video/vlc # emerge -DNu vlc
However, in my system (but i use Funtoo Stable), about vlc:
[ebuild R ] media-video/vlc-2.2.1-r1:0/5-8::gentoo USE="X a52 aalib alsa avcodec avformat bidi bluray cdda cddb dbus dts dvb dvbpsi dvd encode ffmpeg flac fontconfig gcrypt gnutls ieee1394 jack jpeg kde libass libcaca libnotify libsamplerate lirc lua matroska modplug mp3 mpeg mtp musepack ncurses ogg opengl png pulseaudio qt4 sdl speex svg swscale theora truetype udev v4l vaapi vnc vorbis x264 xcb xml xv (-altivec) -atmo (-audioqueue) -chromaprint -dc1394 -debug -directfb (-directx) (-dxva2) -faad -fdk -fluidsynth -gme -gnome -growl -httpd -kate (-libav) -libtar -libtiger -linsys -live (-macosx-dialog-provider) (-macosx-eyetv) (-macosx-qtkit) (-macosx-quartztext) (-media-library) (-neon) -omxil -opencv -optimisememory -opus -postproc -projectm -qt5 (-rdp) -rtsp -run-as-root -samba -schroedinger -sdl-image -sftp -shout -sid -skins -taglib {-test} -tremor -twolame -upnp -vcdx -vdpau -vlm -vpx -wma-fixed -x265 -zeroconf -zvbi" CPU_FLAGS_X86="mmx sse" 20450 KiB Total: 1 package (1 reinstall), Size of downloads: 20450 KiB(It will require others dependencies) :|

[Funtoo stable 64] Troubles with "locale"
in Installation Help
Posted
Hi to All.
I have installed a 2nd Funtoo in another partition of my PC but with Gnome, xfce4 ^ fluxbox.
I am not able to use "It" keyboard layout with Gnome.
I have troubles with locale and i don-t know how to configure correctly.
My situation
Now i-m writing on a it keyboard but using en_US layout
On my "Funtoo with xfce4 + KDE4" all runs perfectly with the same configuration.
What can I do to solve ?
Thanx to All.