Package Base Details: linux-ck

Git Clone URL: https://aur.archlinux.org/linux-ck.git (read-only)
Submitter: graysky
Maintainer: graysky
Last Packager: graysky
Votes: 405
Popularity: 5.501864
First Submitted: 2011-07-22 14:51
Last Updated: 2019-05-16 20:56

Packages (2)

graysky commented on 2011-08-28 16:23

@t3ddy - post the output of:
grep 'model\|family' /proc/cpuinfo | head -n3

Det commented on 2011-08-28 15:52

@t3ddy, is the reason you're not using "-march=native" in your 'makepkg.conf' that you get unexecutable binaries with it?

If that's the case you could try with "-march=core-7-avx" in the PKGBUILD instead and see how it goes (I don't really understand why are you using "-march=prescott" in makepkg.conf anyway, since that optimizes for _all_ Pentium 4 Prescott processors in general - and the first ones were released over 7 years ago). That should work as I don't think the other GCC flags are causing this (which can also be seen from the PKGBUILD graysky provided).

@graysky, makepkg.conf doesn't affect kernel packages in any way. The only thing it does is that it changes the command line of "/usr/src/linux-3.0-ck/scripts/mod/.empty.o.cmd" by a tiny bit (and not even the march/mtune stuff). You can confirm that yourself too, if you wish :).

Det commented on 2011-08-28 15:49

@t3ddy, is the reason you're not using "-march=native" in your 'makepkg.conf' that you get unexecutable binaries with it?

If that's the case you could try with "-march=core-7-avx" in the PKGBUILD instead and see how it goes (I don't really understand why are you using "-march=prescott" in makepkg.conf anyway, since that optimizes for _all_ Pentium 4 Prescott processors in general - and the first ones were released over 7 years ago). That should works as I don't think the other GCC flags are causing this (which can also be seen from the PKGBUILD graysky provided).

@graysky, makepkg.conf doesn't affect kernel packages in any way. The only thing it does is that it changes the command line of "/usr/src/linux-3.0-ck/scripts/mod/.empty.o.cmd" by a tiny bit (and not even the march/mtune stuff). You can confirm that yourself too, if you wish :).

t3ddy commented on 2011-08-28 14:21

makepkg.conf -> http://pastebin.com/gGzG8JKp

I think the point could be that I'm on i686 and not x86_64.
Also a custom .config works removing flags.

graysky commented on 2011-08-28 13:57

@Det - Here are the files used to build the corei7-avx for x86_64. These are generated by my build script based on the AUR package. For more see my github (link on wiki).
*PKGBUILD - Note the flags on line 173. http://pastebin.com/yNDi51j9
*config - http://pastebin.com/nh0xPESn
*makepkg.conf - http://pastebin.com/n1wakQqc

@t3ddy - Please post your /etc/makepkg.conf to pastebin. Also, are you customizing the build or building it as downloaded (i.e. any mods via the nconfig)?

graysky commented on 2011-08-28 13:56

@Det - Here are the files used to build the generic x86_64. These are generated by my build script based on the AUR package. For more see my github (link on wiki).
*PKGBUILD - Note the flags on line 173. http://pastebin.com/yNDi51j9
*config - http://pastebin.com/nh0xPESn
*makepkg.conf - http://pastebin.com/n1wakQqc

@t3ddy - Please post your /etc/makepkg.conf to pastebin. Also, are you customizing the build or building it as downloaded (i.e. any mods via the nconfig)?

graysky commented on 2011-08-28 13:54

@Det - Here are the files used to build the generic x86_64. These are generated by my build script based on the AUR package. For more see my github (link on wiki).
*PKGBUILD - Note the flags on line 173. http://pastebin.com/V9eFW4Um
*config - http://pastebin.com/FhvUfqcf
*makepkg.conf - http://pastebin.com/m4VdMYca

@t3ddy - Please post your /etc/makepkg.conf to pastebin. Also, are you customizing the build or building it as downloaded (i.e. any mods via the nconfig)?

t3ddy commented on 2011-08-28 13:33

From repo's I use corei7-avx

Anyway it seems Det is right: removing the flags works.
Now I'll try to compile, without flags, a custom .config to give you more feedback

Det commented on 2011-08-28 13:15

Oh, there's multiple optimized versions there. But how would you know that t3ddy didn't just try the generic one?

graysky commented on 2011-08-28 12:36

@teddy - The entries look file. I am at a loss.

@Det - It can't be the flags because they are the same as I used when I compiled the packages for the repo. See my github script (URL on the wiki page). Also, I missed your previous question about the flags. I guess I'm reluctant to change them until I can confirm within the files from the linux package which flags are defaulted when not specified.