Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fresh install - introspection flag makes fail.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
cyganosw
n00b
n00b


Joined: 20 Apr 2017
Posts: 14

PostPosted: Sat Apr 29, 2017 11:08 am    Post subject: Fresh install - introspection flag makes fail. Reply with quote

Hello. I'm installing about 4th time Gentoo again. Every previous time or emerge @world or when i tried to emerge gnome or kde always it stops at same package or packages. Generally when i compile libsoup, glib or networkmanager(all which has got introspection flag) the emerge fails. When i compile it without flag everything goes ok. It wouldn't be problem but now i have plasma installed and i want to emerge things like kdenetwork and it needs introspection flag in that packages(it want to reinstall them) and even if i turn it off it forces the flag. What can be the problem? I was searching for libsoup emerge fails on google but didn't find any info.

Other question i have problem with wifi manager. I compiled modules from kernel for my network, wpa supplicant is installed, the ifconfig shows wlp0s3 interface so everything should be ok but i have installed only pure plasma without anything only i have qt gui of wpa_supplicant. But on livedvd of gentoo on plasma on systray is something like Network when you push it it shows list of all wifi networks and then you can connect. What package is it? Because qt-gui of wpa doesn't show anything and it's problematic to turn back to livedvd and chroot all the time. I wanted to install kdenetwork-meta and other meta packages but they anyway needs introspection flag so i'm stuck.

Didn't know if this is good place for thread but it's like installation stage because system is pure fresh. (and this is most weird for me except the kernel missing things)

Code:

Portage 2.3.3 (python 3.4.5-final-0, default/linux/amd64/13.0, gcc-5.4.0, glibc-2.23-r3, 4.5.2-aufs-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.5.2-aufs-r1-x86_64-Intel-R-_Pentium-R-_CPU_3825U_@_1.90GHz-with-gentoo-2.3
KiB Mem:     6020860 total,   3596876 free
KiB Swap:    7167996 total,   7167996 free
Timestamp of repository gentoo: Fri, 28 Apr 2017 11:00:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.24.1-r1::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.24.2::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.15::gentoo
sys-devel/binutils:       2.26.1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ ftp://mirror.leaseweb.com/gentoo/ rsync://mirror.leaseweb.com/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo rsync://ftp.snt.utwente.nl/gentoo http://gentoo.prz.rzeszow.pl rsync://gentoo.prz.rzeszow.pl/gentoo http://ftp.vectranet.pl/gentoo/ rsync://ftp.vectranet.pl/gentoo/ ftp://ftp.vectranet.pl/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl alsa amd64 berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 kde modules multilib ncurses nls nptl openmp pam pcre qt4 readline seccomp session ssl tcpd unicode xattr zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="pl" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pl" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="inte i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

net-libs/libsoup-2.56.0::gentoo was built with the following:
USE="ssl -debug -gssapi -introspection -samba -test -vala" ABI_X86="64 -32 -x32"


P.S. only thing i can try more is to run emerge world with that flag maybe this will help
Back to top
View user's profile Send private message
markisthejob
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2008
Posts: 142
Location: Cork, Republic of Ireland

PostPosted: Sat Apr 29, 2017 11:22 am    Post subject: Reply with quote

You should start by setting your profile to plasma with eselect
Back to top
View user's profile Send private message
cyganosw
n00b
n00b


Joined: 20 Apr 2017
Posts: 14

PostPosted: Sat Apr 29, 2017 11:25 am    Post subject: Reply with quote

i did it at first times and this time i decided to not set profile to have not flagged yet system. emerge world with this flag also failed (eudev passed with flag but next package dev-libs/libgudev-230-r1 didn't :/). i will try also to set this profile but like i said i don't think this will help.

P.S. emerge world says 166 packages to reinstall :/ i miss old gentoo when it was migration from kernel 2.4 to kernel 2.6 now i feel like retarded in that all things :/ (last time i had gentoo about then - maybe little bit later the last things when i was using it was when kde4 was coming)
Back to top
View user's profile Send private message
markisthejob
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2008
Posts: 142
Location: Cork, Republic of Ireland

PostPosted: Sat Apr 29, 2017 11:50 am    Post subject: Reply with quote

Once you re-emerge with the plasma profile set you should have an easier time with your use flags.
If a package fails, make sure you post the error/build log here or it isnt possible to help you

EDIT: I forgot to mention you have a mistake in your make.conf
Quote:
VIDEO_CARDS="inte i965"
Back to top
View user's profile Send private message
cyganosw
n00b
n00b


Joined: 20 Apr 2017
Posts: 14

PostPosted: Sat Apr 29, 2017 12:11 pm    Post subject: Reply with quote

ok thanks for looking for error :) probably videodrivers will be next thing which i will ask after this because i see how slowly is loading whole system and it's making visual errors ( i mean here like bitmap noise something like matrix style but it's only specified parts of display like text parts)

in my opinion gentoo handbook now is very bad way written (like for me the newbie of gentoo) it's like this : install stage do emerge world(which contains about lets say 200 packs) then do kernel and bootloader but what if it has to be to reinstall everything (like i did emerge world about 3 times). sorry for explaination it's hard to say for me that in english. Generally it says to configure the files or things in not good order. But it's only my own opinion.

P.S.

It failed at gobject-introspection. What should i paste here to get help?

https://pastebin.com/tdXGMbFh here is emerge output

P.S. 2

until anyone will tell he knows the problem well i try to emerge everything again starting from gcc binutils then whole system and then world maybe that's proper way. maybe it's because architecture was problem for this gentoo? i have set -march=native but i the architecture of computer is Broadwell but when was set to -march=broadwell(and haswell also) then everything was making fail. even emerge of perl was impassible. or should then be set to -march=broadwell and then reemerge of gcc? I was never good at this compiling instructions and also last time when i was doing that it was to choose like i686 or k8 or amd64 now it's milion of then to choose.
Back to top
View user's profile Send private message
markisthejob
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2008
Posts: 142
Location: Cork, Republic of Ireland

PostPosted: Sat Apr 29, 2017 1:32 pm    Post subject: Reply with quote

I might be wrong but maybe march=native might not be autodetecting your cpu correctly. What errors were you getting with march=broadwell? Did you try to recompile everything after changing or just continue trying to install packages?
Back to top
View user's profile Send private message
cyganosw
n00b
n00b


Joined: 20 Apr 2017
Posts: 14

PostPosted: Sat Apr 29, 2017 2:13 pm    Post subject: Reply with quote

didn't tried. i formatted disk and started again with native. now i emerged gcc again then sandbox but still fails at glib and now is something like this:

Code:

 * Messages for package dev-libs/glib-2.50.3-r1:

 * FAILED postinst: 1
 * ERROR: dev-libs/glib-2.50.3-r1::gentoo failed (postinst phase):
 *   Update GIO modules cache failed (for amd64)
 *
 * Call stack:
 *     ebuild.sh, line  115:  Called pkg_postinst
 *   environment, line 4931:  Called multilib_foreach_abi 'multilib_pkg_postinst'
 *   environment, line 4451:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib_pkg_postinst'
 *   environment, line 4129:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib_pkg_postinst'
 *   environment, line 4127:  Called _multilib_multibuild_wrapper 'multilib_pkg_postinst'
 *   environment, line  716:  Called multilib_pkg_postinst
 *   environment, line 4928:  Called die
 * The specific snippet of code:
 *           gnome2_giomodule_cache_update || die "Update GIO modules cache failed (for ${ABI})"
 *
 * If you need support, post the output of `emerge --info '=dev-libs/glib-2.50.3-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/glib-2.50.3-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-libs/glib-2.50.3-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/glib-2.50.3-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/glib-2.50.3-r1/homedir'
 * S: '/var/tmp/portage/dev-libs/glib-2.50.3-r1/work/glib-2.50.3'

 * GNU info directory index is up-to-date.


it looks like it finished installation but weird :O and problem is with this GIO module update but internet says nothing. The most related thread is that:
https://forums.gentoo.org/viewtopic-t-1050474-start-0.html

i tried also to remove aes feature but maybe i will have to try others. I see there is also problem because of architecture.

EDIT:

i did with mmx sse sse2 flags only and still fails... :/ maybe whole system has to be recompilled without some flags? i checked that flags exactly for this processor but if it doesn't find broadwell in it then maybe using -march=native makes it like generation earlier which doesn't support all of that flags? should i try to recompile everything with -march=broadwell flag? is it safe? i don't mind about system but more about recompilling everything again again again and again because it's boring.

EDIT2:

i see this fault even on start of emerge:
Code:

>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/glib-2.50.3-r1/work/glib-2.50.3 ...
 * abi_x86_64.amd64: running multilib-minimal_abi_src_configure
/var/tmp/portage/dev-libs/glib-2.50.3-r1/temp/environment: line 4605: 21579 Illegal instruction     $(tc-getPKG_CONFIG) --version &> /dev/null


EDIT3:

i'm not so much sure but i found some code how to check which flags gcc will use while compilation so:
Code:

chroot) livecd / # gcc -### -E - -march=native 2>&1 | sed -r '/cc1/!d;s/(")|(^.* - )|( -mno-[^\ ]+)//g'
-march=broadwell -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -mmovbe -mpclmul -mpopcnt -mabm -msse4.2 -msse4.1 -mlzcnt -mrdrnd -mfsgsbase -mrdseed -mprfchw -mfxsr --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=broadwell -fstack-protector-strong


that would say gcc anyway uses -march=broadwell as same as -march=native so now i'm even more tired about all that... weird is that it was failing when i had broadwell set for march.

EDIT4:

and also this:
Code:

(chroot) livecd / # g-ir-scanner
Illegal instruction


weird because with --help it shows help. i'm not so good at that things so generally i do blind work than i'm sorry for my stupidity. I think first i have to emerge gobject-introspection without fail and rest should go easy.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13867

PostPosted: Sat Apr 29, 2017 4:34 pm    Post subject: Reply with quote

First, please quit wiping the system. If you do not know how you broke it, starting over costs time and may land you in exactly the same situation. There are some cases where wiping is the right answer, but usually it is not. If wiping is necessary, someone here will tell you that starting over is best. Second, please pick one problem to solve at a time. Describe what you want to happen. Show all the output from the failed command(s), as well as the command itself. Sometimes your choice of parameters is important. Use a pastebin for any output longer than about one screen height.

I see that you provided emerge --info higher up in the thread, but you have since wiped the system at least once. Is that output still accurate? If not, please post the current output.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7094
Location: Saint Amant, Acadiana

PostPosted: Sat Apr 29, 2017 4:38 pm    Post subject: Reply with quote

In addition to what Hu said. Install the base system and boot into it. After your base system is functioning and error-free start installing software.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
cyganosw
n00b
n00b


Joined: 20 Apr 2017
Posts: 14

PostPosted: Mon May 01, 2017 6:46 pm    Post subject: Reply with quote

What info do you still need? I gave you a lot of outputs and i'm not a proffesionalist with this.

If the make.conf makes problems? I mean here setting of architecture or flags. The sentence "illegal instruction" i guess says some programs are compilled wrong way with architecture and when emerge wanted to use them (in this case gio module cache update) then made fault. Or gio update is using program from package glib which i compilled and it was also compilled wrong way with arch. I'm newbie so i hope more experienced users would tell me what can be the reasons of this error (if needed i can try all of possibilities).

I didn't precise what is the question in this thread because i have pasted few diffirent errors from same group of packages which is connected to the one general problem( i guess with glib) and my plan was to install some network manager which will allow me to connect to wifi network to not have to use liveusb anymore to use internet help. Problem for me is to make it from command line because whole life earlier on gentoo i was using PC computer with ethernet card so the configuration from ifconfig was extra normal for me. But now i have laptop with wifi and things like wpa supplicant and config files from them are magic for me.

So please tell me what exactly else you want to know or you want me to paste here.

My processor is Intel Pentium 3825U
Architecture is Broadwell-U(or without i don't know if it does matter)

But gcc output which i pasted says -march=native puts it as broadwell so in this case is there diffirence between setting native and broadwell? I asked same questions earlier but noone answered and for me they're also important.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7094
Location: Saint Amant, Acadiana

PostPosted: Mon May 01, 2017 7:39 pm    Post subject: Reply with quote

AFAIK -march=native should work fine with Intel processors.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
cyganosw
n00b
n00b


Joined: 20 Apr 2017
Posts: 14

PostPosted: Mon May 01, 2017 7:46 pm    Post subject: Reply with quote

but architecture is for sure good and only thing is possibly to be wrong is cpu flags but these flags i have taken from the internet on page about this processor. can anyone tell me when usually happens "illegal instruction" fault? i mean what circumstances?

https://forums.gentoo.org/viewtopic-t-961210-highlight-broadwell.html

check this link please there is something like that:

Quote:

Hashwell Processors has -march=core-avx2 (-march=native still not support )

for >=gcc-4.7.2


and

Quote:


Support for the new Intel processor codename Haswell with AVX2, FMA, BMI, BMI2, LZCNT is available through -march=core-avx2.


2 questions also: Is kernel does matters? I have used genkernel with menuconfig but only thing which i didn't changed in settings was processor setup.
Second, is it good to step back to some gcc4 version which supports broadwell? Or other way, maybe i should find some info about gcc6? I dont think so it's so new processor so shouldn't search in top news also.

And if i know good haswell is PC equivalent of laptop's broadwell so maybe should be same? How do you think?


Last edited by cyganosw on Mon May 01, 2017 8:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7094
Location: Saint Amant, Acadiana

PostPosted: Mon May 01, 2017 7:57 pm    Post subject: Reply with quote

I happen to have same CPU in my Kodi box, -march=native worked well with gcc-5.4 (using -march=silvermont). Never got illegal instruction with it.

Code:
CPU_FLAGS_X86="aes mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"


Correct CPU_FLAGS_X86 for your CPU.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
cyganosw
n00b
n00b


Joined: 20 Apr 2017
Posts: 14

PostPosted: Mon May 01, 2017 8:14 pm    Post subject: Reply with quote

@Jaglover:
After flags change what should i reinstall? What command would be the best? i know "emerge --deep --newuse world" but this is not use flags so please advice me some command after cpu flags change. P.S. Thanks for flags :)

2 question:
So lets say fault was because of bad cpu flags so it's not enough if i will try to pass glib or gobject again? I should probably first reistall all software with new flags to expect some change yes? Or only gcc?

EDIT:

I found this article on the internet:

https://bbs.archlinux.org/viewtopic.php?id=210740

but i'm too rookie to analyse this(too difficult) but maybe for you it will be clear what they say.
Maybe it's good to change march to broadwell and change cpu flags and remerge everything?
Back to top
View user's profile Send private message
desultory
Administrator
Administrator


Joined: 04 Nov 2005
Posts: 9236

PostPosted: Tue May 02, 2017 4:00 am    Post subject: Reply with quote

Hu wrote:
First, please quit wiping the system. If you do not know how you broke it, starting over costs time and may land you in exactly the same situation. There are some cases where wiping is the right answer, but usually it is not. If wiping is necessary, someone here will tell you that starting over is best. Second, please pick one problem to solve at a time. Describe what you want to happen. Show all the output from the failed command(s), as well as the command itself. Sometimes your choice of parameters is important. Use a pastebin for any output longer than about one screen height.

I see that you provided emerge --info higher up in the thread, but you have since wiped the system at least once. Is that output still accurate? If not, please post the current output.
I would even take that a step further and note that, especially while learning the system, it can be more useful in the long term to recover a system by means with less immediate efficiency, taking the opportunity to learn it in greater depth instead of using the most expedient means of repair. At least in the context of situations where it may indeed be faster to reinstall.


cyganosw wrote:
@Jaglover:
After flags change what should i reinstall? What command would be the best? i know "emerge --deep --newuse world" but this is not use flags so please advice me some command after cpu flags change. P.S. Thanks for flags :)
If it is not a USE flag change, then do not rely on things that operate based on those flags, rebuilding everything is precisely the use case for the -e (--emptytree) option. Though that is not necessarily the first step.
cyganosw wrote:
2 question:
So lets say fault was because of bad cpu flags so it's not enough if i will try to pass glib or gobject again? I should probably first reistall all software with new flags to expect some change yes? Or only gcc?

EDIT:

I found this article on the internet:

https://bbs.archlinux.org/viewtopic.php?id=210740

but i'm too rookie to analyse this(too difficult) but maybe for you it will be clear what they say.
Maybe it's good to change march to broadwell and change cpu flags and remerge everything?
Adapting procedures from rough analogs to your use case adds extra complexity, it is usually better to avoid that until you are sufficiently familiar with the system with which you are working. A better, though still somewhat rough, fit could be found in the Gentoo wiki.
Back to top
View user's profile Send private message
cyganosw
n00b
n00b


Joined: 20 Apr 2017
Posts: 14

PostPosted: Tue May 02, 2017 6:56 pm    Post subject: Reply with quote

@Jaglover:

Where did you get those flags?
Internet says:

Quote:

Intel Broadwell CPU with 64-bit extensions, MOVBE, MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, POPCNT, AVX, AVX2, AES, PCLMUL, FSGSBASE, RDRND, FMA, BMI, BMI2, F16C, RDSEED, ADCX and PREFETCHW instruction set support.


https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/i386-and-x86-64-Options.html#i386-and-x86-64-Options

but:

http://www.cpu-world.com/CPUs/Pentium_Dual-Core/Intel-Pentium%203825U%20Mobile%20processor.html

this site says there is no supported AVX and AES. Every site says something other... :/


Last edited by cyganosw on Tue May 02, 2017 7:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7094
Location: Saint Amant, Acadiana

PostPosted: Tue May 02, 2017 7:07 pm    Post subject: Reply with quote

I think I was wrong, your CPU is not exactly same as mine. :oops: Emerge app-portage/cpuid2cpuflags.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
cyganosw
n00b
n00b


Joined: 20 Apr 2017
Posts: 14

PostPosted: Tue May 02, 2017 7:08 pm    Post subject: Reply with quote

Don't completely understand your post. Why forget broadwell? I don't think so silvermont would work at mine example i mean why it should work? native recognizes it also as a broadwell. I really don't know what to do.

EDIT:

It says same flags as you gave to me. It should be proper because i found next site which says there is no AVX and AES support. maybe this was the problem of everything?

EDIT2:

How to check it the fastest way? I want to check first -march=broadwell with new flags and if will not work then native with new flags i have big hope it was the reason. What should i do to make it most efficient trial? Emerge binutils => gcc => libtool => glibc and then let's say glib and gobject-introspection? This way would show me if i fixed the problem?

Or there is no difference if i use native or broadwell if native makes it broadwell any way?

BTW now i see the wiki says(if i good understood) once -march is set for the proper arch the flags are adjusted automatically:

Quote:

Normally none of these flags need to be added to /etc/portage/make.conf, as long as the system is using the correct -march (for example, -march=nocona implies -msse3). Some notable exceptions are newer VIA and AMD64 CPUs that support instructions not implied by -march (such as SSE3). For CPUs like these additional flags will need to be enabled where appropriate after checking /proc/cpuinfo.


AND LAST QUESTION for now : If everything will go fine, i need to reinstall kernel also? I know maybe its stupid question but i had to ask. (i bet answer is yes)

EDIT3:

Don't know why but failed with -march=broadwell but -march=native i see it's still compilling. weird thing very...

EDIT 4:

I reinstalled gcc binutils and libtool but without glibc(don't know if its corelated) and still same situation.
Back to top
View user's profile Send private message
cyganosw
n00b
n00b


Joined: 20 Apr 2017
Posts: 14

PostPosted: Sun May 07, 2017 11:05 am    Post subject: Reply with quote

Noone has no more ideas?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum