Re: how to install gcc-6 in debian bullseye

2022-05-02 Thread tomas
On Mon, May 02, 2022 at 11:51:02PM +0300, Georgi Naplatanov wrote: > On 5/2/22 23:25, michaelmorgan...@gmail.com wrote: > > Can anyone kindly instruct me how to install gcc-6 in Debian 11? I need > > compile a software and was hinted gcc version (10) is too high. I have > > o

Re: how to install gcc-6 in debian bullseye

2022-05-02 Thread Georgi Naplatanov
On 5/2/22 23:25, michaelmorgan...@gmail.com wrote: > Can anyone kindly instruct me how to install gcc-6 in Debian 11? I need > compile a software and was hinted gcc version (10) is too high. I have > old machine with gcc 6 and was able to compile it there. > It seems that Debian 9

Re: how to install gcc-6 in debian bullseye

2022-05-02 Thread Greg Wooledge
On Mon, May 02, 2022 at 03:25:20PM -0500, michaelmorgan...@gmail.com wrote: > Can anyone kindly instruct me how to install gcc-6 in Debian 11? I need > compile a software and was hinted gcc version (10) is too high. I have > old machine with gcc 6 and was able to compile it there. Sto

how to install gcc-6 in debian bullseye

2022-05-02 Thread michaelmorgan937
Can anyone kindly instruct me how to install gcc-6 in Debian 11? I need compile a software and was hinted gcc version (10) is too high. I have old machine with gcc 6 and was able to compile it there. Thank you very much. Michael

Re: No man page for gcc

2022-03-12 Thread Roberto C . Sánchez
On Sat, Mar 12, 2022 at 10:36:57PM +0100, Steve Keller wrote: > On debian bullseye I have installed GCC but don't find any manual page. > What am I missing? > You'll need to add 'contrib' and 'non-free' to your sources and then install the gcc-doc pack

No man page for gcc

2022-03-12 Thread Steve Keller
On debian bullseye I have installed GCC but don't find any manual page. What am I missing? Steve

Re: Debian and FSF docs (was: Man pages for gcc)

2021-12-10 Thread Andrei POPESCU
On Vi, 10 dec 21, 17:17:24, Andrew M.A. Cater wrote: > On Fri, Dec 10, 2021 at 12:41:01PM +0100, Andrei POPESCU wrote: > > > At the very least Debian could split non-free into sections or add more > > areas (non-free firmware being another obvious candidate for splitting > > out). > > > > Do w

Re: Debian and FSF docs (was: Man pages for gcc)

2021-12-10 Thread Andrew M.A. Cater
On Fri, Dec 10, 2021 at 12:41:01PM +0100, Andrei POPESCU wrote: > On Du, 31 oct 21, 17:37:10, Stefan Monnier wrote: > > > This is because GNU releases their documentation under a different license > > > than their source code. And Debian considers the GNU documentation > > > license to be non-free

Re: Debian and FSF docs (was: Man pages for gcc)

2021-12-10 Thread Andrei POPESCU
On Du, 31 oct 21, 17:37:10, Stefan Monnier wrote: > > This is because GNU releases their documentation under a different license > > than their source code. And Debian considers the GNU documentation > > license to be non-free (rightly so, because it prohibits distributing > > modified versions).

Re: Man pages for gcc

2021-12-10 Thread Andrei POPESCU
On Du, 07 nov 21, 08:08:51, Emanuel Berg wrote: > Paul M. Foster wrote: > > > Folks: > > > > I'm sure everyone but me knows this, but I can't find a man > > page for gcc. > > Everyone knows it ... but this question has still been asked > one zi

Re: Man pages for gcc

2021-11-01 Thread Nicholas Geovanis
On Sun, Oct 31, 2021, 5:05 PM Nate Bargmann wrote: > * On 2021 31 Oct 16:27 -0500, Nicholas Geovanis wrote: > > > The info command is what you want for gcc. You may need to install the > > package for gcc info files. Another set of commands you might need info > > file

Re: Man pages for gcc

2021-10-31 Thread Nate Bargmann
* On 2021 31 Oct 16:27 -0500, Nicholas Geovanis wrote: > The info command is what you want for gcc. You may need to install the > package for gcc info files. Another set of commands you might need info > files for are coreutils. Try "info coreutils". While info is probabl

Re: Man pages for gcc

2021-10-31 Thread Dan Ritter
Paul M. Foster wrote: > Folks: > > I'm sure everyone but me knows this, but I can't find a man page for gcc. > There must be some docs somewhere. First question: why isn't there a man > page? Second question: what docs are available (or what package provides > t

Re: Man pages for gcc

2021-10-31 Thread Nicholas Geovanis
On Sun, Oct 31, 2021, 4:07 PM Paul M. Foster wrote: > Folks: > > I'm sure everyone but me knows this, but I can't find a man page for > gcc. There must be some docs somewhere. First question: why isn't there > a man page? Second question: what docs are available (o

Re: Man pages for gcc

2021-10-31 Thread Greg Wooledge
On Sun, Oct 31, 2021 at 04:58:34PM -0400, Paul M. Foster wrote: > I'm sure everyone but me knows this, but I can't find a man page for gcc. > There must be some docs somewhere. First question: why isn't there a man > page? Second question: what docs are available (or what

Man pages for gcc

2021-10-31 Thread Paul M. Foster
Folks: I'm sure everyone but me knows this, but I can't find a man page for gcc. There must be some docs somewhere. First question: why isn't there a man page? Second question: what docs are available (or what package provides them)? Running Debian 11. Paul

Re: gcc-10: options order important?

2021-09-03 Thread Sven Joachim
On 2021-09-03 12:24 +0200, Piotr A. Dybczyński wrote: > Hi, > > in contrary to previous versions, now in Debian 11 with gcc-10: > > gcc aa.c -lm -o aa works, but > > gcc -lm aa.c -o aa does not work, saying: > > /usr/bin/ld: /tmp/ccWyhudO.o: in fun

Re: gcc-10: options order important?

2021-09-03 Thread tomas
On Fri, Sep 03, 2021 at 12:59:27PM -0400, Greg Wooledge wrote: > On Fri, Sep 03, 2021 at 02:12:46PM +0100, Tixy wrote: > > > A man page a found online [1] says linking happens as Greg described, > > > and this is true looking at a 6 year old copy of that page on > > > archive.org. So seems strange

Re: gcc-10: options order important?

2021-09-03 Thread Greg Wooledge
use the non-option ".bashrc" terminates option processing. All remaining arguments are to be treated as files or directories.) All I can speculate is that GNU ld (the linker that gcc uses) must have had some tweaks done to it over the years, and now has settled back into its original behav

Re: gcc-10: options order important?

2021-09-03 Thread Tixy
On Fri, 2021-09-03 at 14:10 +0100, Tixy wrote: > On Fri, 2021-09-03 at 12:24 +0200, Piotr A. Dybczyński wrote: > > Hi, > > > > in contrary to previous versions, now in Debian 11 with gcc-10: > > > > gcc aa.c -lm -o aa works, but > > > &g

Re: gcc-10: options order important?

2021-09-03 Thread Tixy
On Fri, 2021-09-03 at 12:24 +0200, Piotr A. Dybczyński wrote: > Hi, > > in contrary to previous versions, now in Debian 11 with gcc-10: > > gcc aa.c -lm -o aa works, but > > gcc -lm aa.c -o aa does not work, saying: [...] > It seems that an option

Re: gcc-10: options order important?

2021-09-03 Thread Greg Wooledge
On Fri, Sep 03, 2021 at 12:24:39PM +0200, Piotr A. Dybczyński wrote: > Hi, > > in contrary to previous versions, now in Debian 11 with gcc-10: > > gcc aa.c -lm -o aa works, but > > gcc -lm aa.c -o aa does not work, saying: > > /usr/bin/ld: /

gcc-10: options order important?

2021-09-03 Thread Piotr A. Dybczyński
Hi, in contrary to previous versions, now in Debian 11 with gcc-10: gcc aa.c -lm -o aa works, but gcc -lm aa.c -o aa does not work, saying: /usr/bin/ld: /tmp/ccWyhudO.o: in function `main': aa.c:(.text+0x1f): undefined reference to `sqrt' collect2: error: ld

Re: How to build GCC for a specific machine using pbuilder?

2020-06-19 Thread deloptes
Mikhail Morfikov wrote: > I know, but have you ever seen the debian/ dir in the gcc sources? Take a > look here[1]. > Until now I have not, but what is exactly the problem? You have what you need in the beginning include debian/rules.defs include debian/rules.unpack include debian/ru

Re: How to build GCC for a specific machine using pbuilder?

2020-06-19 Thread Mikhail Morfikov
an/ dir I should change >> to build the GCC for my machine only. Any suggestions? Also how to >> include/exclude patches so they were applied to the source -- there's no >> "debian/patches/series" file. > > usually it is in debian/rules (this is the debians

Re: How to build GCC for a specific machine using pbuilder?

2020-06-19 Thread deloptes
Mikhail Morfikov wrote: > I've read something about setting flags like: --enable-languages= or > --disable-multilib , which I think would speed the whole process up, but > unfortunately I have no idea which file in the debian/ dir I should change > to build the GCC for my

How to build GCC for a specific machine using pbuilder?

2020-06-19 Thread Mikhail Morfikov
I wanted to change the GCC source a little bit by adding some patches that aren't available in Debian. I downloaded the Debian GCC source via "apt-get source" . I tried to build the source in the Debian way (using pbuilder) just to test how much time would it take. I gave up a

Re: Compiling Linux with "bdver2" gcc optimization option

2019-08-21 Thread Étienne Mollier
Franco Martelli, on 2019-08-20: > mm/memory.o: warning: objtool: remap_pfn_range()+0xd5: unsupported > intra-function call > > that it's part of linux-kbuild-4.19 package maybe I should submit a bug > report to this package or is another one a better choice? Hi Franco, Should you submit a bug re

Re: Compiling Linux with "bdver2" gcc optimization option

2019-08-20 Thread Franco Martelli
On 19/08/19 at 21:18, Étienne Mollier wrote: > Franco Martelli, on 2019-08-19: >> I was thinking to submit a bug report against gcc-8 package. Now that I >> have a work around, "bdver1" compiles without warnings, I can say >> enough, what do you think about? > &g

Re: Compiling Linux with "bdver2" gcc optimization option

2019-08-19 Thread Étienne Mollier
Franco Martelli, on 2019-08-19: > I was thinking to submit a bug report against gcc-8 package. Now that I > have a work around, "bdver1" compiles without warnings, I can say > enough, what do you think about? I don't know, to me it sounds more like little bugs on kernel

Re: Compiling Linux with "bdver2" gcc optimization option

2019-08-19 Thread Franco Martelli
I was thinking to submit a bug report against gcc-8 package. Now that I have a work around, "bdver1" compiles without warnings, I can say enough, what do you think about? Best regards -- Franco Martelli

Re: Compiling Linux with "bdver2" gcc optimization option

2019-08-16 Thread Étienne Mollier
Franco Martelli, on 2019-08-16: > On 16/08/19 at 17:22, Étienne Mollier wrote: [...] > > Compilers may have good optimization routines to boost the speed > > of the code in several situations, but in other ones there are > > trade-offs to take between size and performance of the code. I > > person

Re: Compiling Linux with "bdver2" gcc optimization option

2019-08-16 Thread Franco Martelli
> were a tremendous amount of warnings too, but some of the ones > you encountered did not appear: the thing with the missing jump > target for instance, nor the ANNOTATE_NOSPEC_ALTERNATIVE on the > retpoline thing. I am running Debian Sid, currently shipping > with Gcc 9, so

Re: Compiling Linux with "bdver2" gcc optimization option

2019-08-16 Thread Étienne Mollier
line thing. I am running Debian Sid, currently shipping with Gcc 9, so this is a difference to take in account though. Finally, building an upstream Linux 5.2 kernel instead of Buster's 4.19 does not show most of the warnings I encountered, as these are being fixed as they come, but probably no

Re: Compiling Linux with "bdver2" gcc optimization option

2019-08-14 Thread Franco Martelli
On 13/08/19 at 19:35, Étienne Mollier wrote: > Hi Franco, > > I'm not fluent enough in GCC 8 for x86_64 to answer to all the > various warnings you indicated. Some may be harmless, and some > may eat your data. I would do a few tests with a virtual > machine support

Re: Compiling Linux with "bdver2" gcc optimization option

2019-08-13 Thread Étienne Mollier
ed warnings...] > what does it means? Is there a way to get the kernel optimized for my > CPU as it happened in the previous Debian versions? Hi Franco, I'm not fluent enough in GCC 8 for x86_64 to answer to all the various warnings you indicated. Some may be harmless, and some may ea

Compiling Linux with "bdver2" gcc optimization option

2019-08-13 Thread Franco Martelli
Hi, everybody in order to achieve Linux kernel optimized for my CPU AMD FX-8350 Bulldozer2 I changed the line 121 of linux-source-4.19/arch/x86/Makefile from: cflags-$(CONFIG_MK8) += $(call cc-option,-march=k8) to: cflags-$(CONFIG_MK8) += $(call cc-option,-march=bdver2) \ $(call

Re: Arduino and Python or gcc compiler?

2018-07-22 Thread cyaiplexys
On 07/22/2018 02:20 PM, Joe wrote: ...snip... At the level of the Arduino, and what it is used for, the C required isn't going to differ too much from Python. You're mostly going to be bit-banging. If you know one modern procedural language, you can at least potter around in others quite easily

Re: Arduino and Python or gcc compiler?

2018-07-22 Thread Joe
format is the same on both), select the board you have, plug it into a serial port (USB/serial chip these days) and you're away. The Arduino board has a built-in bootloader, meaning you don't need a specialist programmer, just a serial port. > > After watching some YouTube tutoria

Re: Arduino and Python or gcc compiler?

2018-07-22 Thread Cindy-Sue Causey
On 7/21/18, cyaiplexys wrote: > On 07/21/2018 07:36 PM, deloptes wrote: >> Hi, how old are you? >> The way you wrote is supposing you are New Gen kid. > > Why thank you! :) Actually, physically I'm over half a century old. I > just try to keep a young mind. I'm a New Gen kid to all this new tech >

Re: Arduino and Python or gcc compiler?

2018-07-22 Thread cyaiplexys
to perform real-time tasks. After watching some YouTube tutorials, I am starting to see that. The IDE isn't "real" C in that you're not directly compiling using gcc from the command line. It does everything for you behind the scenes. Not used to that since my old Windows da

Re: Arduino and Python or gcc compiler?

2018-07-22 Thread Erik Christiansen
On 22.07.18 10:29, cyaiplexys wrote: > I think my mindset also came from my days of trying to program the WowWee > RoboSapien RS Media (ARM/Linux with Java). That was like a fully > programmable computer and robot all in one. Then the full arduino environment will be more comfortable than raw C on

Re: Arduino and Python or gcc compiler?

2018-07-22 Thread cyaiplexys
might forget a year or two later. For my own hobbies, I just get curious about some of the "new" (I know this stuff has been around awhile) technology out there and like to see how it all works. It might be also worth learning some C. I had done some C programming now and then (K &a

Re: Arduino and Python or gcc compiler?

2018-07-22 Thread cyaiplexys
rce and upload it to the Arduino board. I would like to use gcc. Is there a cross-platform compiler for Arduino and gcc that anyone has had experience with that works or they can recommend? Or some way to program in Python? Sure if I was going there I wouldn't be after starting fr

Re: Arduino and Python or gcc compiler?

2018-07-22 Thread deloptes
cyaiplexys wrote: > Well, since I use Debian I assumed this would be a place to ask what to > get from the Debian repo that would help in achieving my goal. But you > do make a good point. I'll have to find some Arduino forums to ask some > questions in because I'm quite sure I'll have a lot of th

Re: Arduino and Python or gcc compiler?

2018-07-22 Thread Joe
nrelated) and even compiled them to .so (binary) using the 'cython' > compiler. > > While I could create C source of a Python script using cython, I > don't know how to compile the resulting C source and upload it to the > Arduino board. I would like to use gcc. > > I

Re: Arduino and Python or gcc compiler?

2018-07-21 Thread cyaiplexys
.so (binary) using the 'cython' compiler. While I could create C source of a Python script using cython, I don't know how to compile the resulting C source and upload it to the Arduino board. I would like to use gcc. Is there a cross-platform compiler for Arduino and gcc that anyon

Re: Arduino and Python or gcc compiler?

2018-07-21 Thread cyaiplexys
On 07/21/2018 07:36 PM, deloptes wrote: Hi, how old are you? The way you wrote is supposing you are New Gen kid. Why thank you! :) Actually, physically I'm over half a century old. I just try to keep a young mind. I'm a New Gen kid to all this new tech stuff though. Anyway few answers inli

Re: Arduino and Python or gcc compiler?

2018-07-21 Thread David Christensen
hile I could create C source of a Python script using cython, I don't know how to compile the resulting C source and upload it to the Arduino board. I would like to use gcc. Is there a cross-platform compiler for Arduino and gcc that anyone has had experience with that works or they can

Re: Arduino and Python or gcc compiler?

2018-07-21 Thread deloptes
' compiler. > More to learn -> add to the list > While I could create C source of a Python script using cython, I don't > know how to compile the resulting C source and upload it to the Arduino > board. I would like to use gcc. > More to learn -> add to the list

Arduino and Python or gcc compiler?

2018-07-21 Thread cyaiplexys
n script using cython, I don't know how to compile the resulting C source and upload it to the Arduino board. I would like to use gcc. Is there a cross-platform compiler for Arduino and gcc that anyone has had experience with that works or they can recommend? Or some way to program in P

Re: GCC 7

2018-06-14 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Jun 14, 2018 at 08:35:29AM -0700, Don Armstrong wrote: > On Thu, 14 Jun 2018, to...@tuxteam.de wrote: > > Took out mk-sbuild for a whirl. What I didn't like at all: when you > > invoke a command and it goes out and starts installing packages fo

Re: GCC 7

2018-06-14 Thread Don Armstrong
On Thu, 14 Jun 2018, to...@tuxteam.de wrote: > Took out mk-sbuild for a whirl. What I didn't like at all: when you > invoke a command and it goes out and starts installing packages for > you (and doing other assorted sysadmin tasks). You can do everything that mk-sbuild does for you manually, but

Re: GCC 7

2018-06-14 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Jun 14, 2018 at 01:06:27PM +0200, Irek Szcześniak wrote: > I tried schroot in a different way, as described here: > > https://wiki.debian.org/Schroot > > As part of the process, you install a complete, fresh Buster with: > > debootstrap bust

Re: GCC 7

2018-06-14 Thread Irek Szcześniak
I tried schroot in a different way, as described here: https://wiki.debian.org/Schroot As part of the process, you install a complete, fresh Buster with: debootstrap buster /srv/chroot/buster So this solution is like a container. Best, Irek On 14.06.2018 12:47, to...@tuxteam.de wrote:

Re: GCC 7

2018-06-14 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Jun 13, 2018 at 08:37:57AM -0700, Don Armstrong wrote: > On Wed, 13 Jun 2018, Irek Szcześniak wrote: > > Thanks for pointing out pbuilder, I think I'll give it a try. I also might > > want to try virtual containers, but it seems like an overki

Re: GCC 7

2018-06-14 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Jun 14, 2018 at 10:44:59AM +0200, Irek Szcześniak wrote: > Tomás, thank you again for your email. > > I didn't finally try pbuilder, because compiling GCC solved my > problem. If something goes wrong, I'll use schroot.

Re: GCC 7

2018-06-14 Thread Irek Szcześniak
Tomás, thank you again for your email. I didn't finally try pbuilder, because compiling GCC solved my problem. If something goes wrong, I'll use schroot. Thanks for pointing out pbuilder, it may come handy one day! Best, Irek On 13.06.2018 12:20, to...@tuxteam.de wrote:

Re: GCC 7

2018-06-14 Thread Irek Szcześniak
Thank you, Don, for your advice! I tried schroot, and it's awesome! I followed the steps on: https://wiki.debian.org/Schroot I was able to build my code just as on Buster. The difference between schroot and chroot is that with schroot you have assess to the files outside the root directory

Re: GCC 7

2018-06-14 Thread Irek Szcześniak
Georgi, thank you for you email. I gave it a try. On Stretch, GCC 8.1 compiled and installed cleanly. I put the path to the gcc binary (/usr/local/gcc-8.1.0/bin) in my PATH, and I compiled and ran my code without any other configuration. I expected some linking problems, but the binary

Re: GCC 7

2018-06-13 Thread Georgi Naplatanov
On 06/13/2018 11:04 AM, Irek Szcześniak wrote: > Hi, > > I need GCC 7 on my Debian Stretch.  Previously I upgraded my Stretch to > Testing (Buster), but I ran to some problems, and reinstalled the system > back to Stretch. > > Could someone offer an advice on how to get a wo

Re: GCC 7

2018-06-13 Thread Don Armstrong
On Wed, 13 Jun 2018, Irek Szcześniak wrote: > Thanks for pointing out pbuilder, I think I'll give it a try. I also might > want to try virtual containers, but it seems like an overkill. You might also try out schroot. Something like: apt-get install schroot ubuntu-dev-tools; mk-sbuild unstable;

Re: GCC 7

2018-06-13 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Jun 13, 2018 at 12:06:21PM +0200, Irek Szcześniak wrote: > Thanks, Tomás, for your email. > > I should have written before that I don't want the GCC 7 to be a > system-wide compiler, along with libraries and some other >

Re: GCC 7

2018-06-13 Thread Irek Szcześniak
Thanks, Tomás, for your email. I should have written before that I don't want the GCC 7 to be a system-wide compiler, along with libraries and some other dependencies. I need GCC 7 to compile my own code (C++17) that I run. I don't need to distribute the binaries. Yes, GCC 7 is

Re: GCC 7

2018-06-13 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Jun 13, 2018 at 10:04:25AM +0200, Irek Szcześniak wrote: > Hi, > > I need GCC 7 on my Debian Stretch. Previously I upgraded my Stretch > to Testing (Buster), but I ran to some problems, and reinstalled the > system

GCC 7

2018-06-13 Thread Irek Szcześniak
Hi, I need GCC 7 on my Debian Stretch. Previously I upgraded my Stretch to Testing (Buster), but I ran to some problems, and reinstalled the system back to Stretch. Could someone offer an advice on how to get a working GCC 7 on Debian Stretch, without upgrading to Testing? Thanks &

Re: How to correctly select gcc / why dkms rebuild failed on xtables-addons

2018-03-20 Thread David Wright
On Tue 20 Mar 2018 at 23:18:29 (+0100), Neo wrote: > Hey folks > > I've had a setup with xtables-addons running (on jessie with > standard repos), especially the geoip module in this case. The > normal upgrade path installed gcc-4.9 and broke my dkms setup and in > turn m

How to correctly select gcc / why dkms rebuild failed on xtables-addons

2018-03-20 Thread Neo
Hey folks I've had a setup with xtables-addons running (on jessie with standard repos), especially the geoip module in this case. The normal upgrade path installed gcc-4.9 and broke my dkms setup and in turn my iptables setup. So it fell back on my fail2ban protection against ssh sc

Re: Install or build an older gcc/g++ on new Debian (GCC backport)

2018-02-23 Thread Reco
Hi. On Fri, Feb 23, 2018 at 05:57:59PM +, Bas Ali wrote: > > Hi, > Just to need help for what concerning to build or/and install an older GCC on > a new Debian Distro (e.g 8.8 or 9.3) > The goal is to be able to compile and build binaries on the New Debian with &g

Re: Install or build an older gcc/g++ on new Debian (GCC backport)

2018-02-23 Thread Greg Wooledge
On Fri, Feb 23, 2018 at 05:57:59PM +, Bas Ali wrote: > Just to need help for what concerning to build or/and install an older GCC on > a new Debian Distro (e.g 8.8 or 9.3) > The goal is to be able to compile and build binaries on the New Debian with > an older GCC to keep backc

Install or build an older gcc/g++ on new Debian (GCC backport)

2018-02-23 Thread Bas Ali
Hi, Just to need help for what concerning to build or/and install an older GCC on a new Debian Distro (e.g 8.8 or 9.3) The goal is to be able to compile and build binaries on the New Debian with an older GCC to keep backcompatibility of binaries program previously built on Debian 7 (32bits

Re: kernel 4.14.15 compilation using GCC 8 in unstable.......

2018-01-27 Thread tv.deb...@googlemail.com
On 27/01/2018 22:47, Michael Lange wrote: Hi, On Sat, 27 Jan 2018 22:30:06 +0530 "tv.deb...@googlemail.com" wrote: Hi, you need to read the kernel-package doc, it requires configuration. Read at the minimum /usr/share/doc/kernel-package/README.gz It contains all the info you need, and even gi

Re: kernel 4.14.15 compilation using GCC 8 in unstable.......

2018-01-27 Thread Michael Lange
Hi, On Sat, 27 Jan 2018 22:30:06 +0530 "tv.deb...@googlemail.com" wrote: > Hi, you need to read the kernel-package doc, it requires configuration. > Read at the minimum /usr/share/doc/kernel-package/README.gz > It contains all the info you need, and even gives you hints as to how > to configure

Re: kernel 4.14.15 compilation using GCC 8 in unstable.......

2018-01-27 Thread tv.deb...@googlemail.com
On 27/01/2018 20:30, Michael Fothergill wrote: On 27 January 2018 at 13:38, Michael Lange wrote: Hi, On Sat, 27 Jan 2018 13:12:13 + Michael Fothergill wrote: ​I think I will sign up on the gcc gnu help page and ask people if they have a test case file I can run to 100% confirm the GCC

Re: kernel 4.14.15 compilation using GCC 8 in unstable.......

2018-01-27 Thread Michael Fothergill
On 27 January 2018 at 13:38, Michael Lange wrote: > Hi, > > On Sat, 27 Jan 2018 13:12:13 + > Michael Fothergill wrote: > > > ​I think I will sign up on the gcc gnu help page and ask people if they > > have a test case file I can run to 100% confirm the GCC 8 compi

Re: kernel 4.14.15 compilation using GCC 8 in unstable.......

2018-01-27 Thread Michael Fothergill
On 27 January 2018 at 13:38, Michael Lange wrote: > Hi, > > On Sat, 27 Jan 2018 13:12:13 + > Michael Fothergill wrote: > > > ​I think I will sign up on the gcc gnu help page and ask people if they > > have a test case file I can run to 100% confirm the GCC 8 compi

Re: kernel 4.14.15 compilation using GCC 8 in unstable.......

2018-01-27 Thread Michael Fothergill
On 27 January 2018 at 13:38, Michael Lange wrote: > Hi, > > On Sat, 27 Jan 2018 13:12:13 + > Michael Fothergill wrote: > > > ​I think I will sign up on the gcc gnu help page and ask people if they > > have a test case file I can run to 100% confirm the GCC 8 compi

Re: kernel 4.14.15 compilation using GCC 8 in unstable.......

2018-01-27 Thread Michael Fothergill
On 27 January 2018 at 13:17, Michael Lange wrote: > On Sat, 27 Jan 2018 12:32:24 + > Michael Fothergill wrote: > > > On 27 January 2018 at 11:59, Michael Lange wrote: > > > > > Hi, > > > > > > On Sat, 27 Jan 2018 11:26:25 + > > > Michael Fothergill wrote: > > > > > > > > > > > Where wo

Re: kernel 4.14.15 compilation using GCC 8 in unstable.......

2018-01-27 Thread Michael Lange
Hi, On Sat, 27 Jan 2018 13:12:13 + Michael Fothergill wrote: > ​I think I will sign up on the gcc gnu help page and ask people if they > have a test case file I can run to 100% confirm the GCC 8 compiler is > running properly.​ > ​Once I am convinced it is then the next stage

Re: kernel 4.14.15 compilation using GCC 8 in unstable.......

2018-01-27 Thread Michael Fothergill
it in some funny directory (even > > /tmp?) no one has ever heard of. > > > > I would be grateful for suggestions here. > > > > Could there be a bug in gcc 8 that made it forget to actually output the > > file? > > I don't think that gcc is to bla

Re: kernel 4.14.15 compilation using GCC 8 in unstable.......

2018-01-27 Thread Michael Lange
On Sat, 27 Jan 2018 12:32:24 + Michael Fothergill wrote: > On 27 January 2018 at 11:59, Michael Lange wrote: > > > Hi, > > > > On Sat, 27 Jan 2018 11:26:25 + > > Michael Fothergill wrote: > > > > > > > > Where would the default location of such a file be if were created > > > using the

Re: kernel 4.14.15 compilation using GCC 8 in unstable.......

2018-01-27 Thread Michael Fothergill
It does seem as if make-kpkg has gone awol here. MF

Re: kernel 4.14.15 compilation using GCC 8 in unstable.......

2018-01-27 Thread Michael Fothergill
it in some funny directory (even > > /tmp?) no one has ever heard of. > > > > I would be grateful for suggestions here. > > > > Could there be a bug in gcc 8 that made it forget to actually output the > > file? > > I don't think that gcc is to blame.

Re: kernel 4.14.15 compilation using GCC 8 in unstable.......

2018-01-27 Thread Michael Fothergill
On 27 January 2018 at 11:59, Michael Lange wrote: > Hi, > > On Sat, 27 Jan 2018 11:26:25 + > Michael Fothergill wrote: > > > > > Where would the default location of such a file be if were created using > > the make-kpkg command? > > the package should be in the source's parent directory, in

Re: kernel 4.14.15 compilation using GCC 8 in unstable.......

2018-01-27 Thread Michael Lange
.0-rc9-klappnase270118-10.00.Custom_amd64.deb > > Maybe Greg could think some find command that would search everywhere in > the install I have here and then find it in some funny directory (even > /tmp?) no one has ever heard of. > > I would be grateful for suggestions here. > >

Re: kernel 4.14.15 compilation using GCC 8 in unstable.......

2018-01-27 Thread Michael Fothergill
5 open-vm-tools-10.1.5 > root@mikef-PC:/usr/src# > > > ​Should the filename be something like linux-image-4.14.14.deb etc? > > Maybe Greg could think some find command that would search everywhere in > the install I have here and then find it in some funny directory (even > /

Re: kernel 4.14.15 compilation using GCC 8 in unstable.......

2018-01-27 Thread Michael Fothergill
of. I would be grateful for suggestions here. Could there be a bug in gcc 8 that made it forget to actually output the file? Thanks MF​ > > Regards > > Michael > > > .-.. .. ...- . .-.. --- -. --. .- -. -.. .--. .-. --- ... .--. . .-. > > Vulcans never bluff. > -- Spock, "The Doomsday Machine", stardate 4202.1 > >

Re: kernel 4.14.15 compilation using GCC 8 in unstable.......

2018-01-27 Thread Michael Fothergill
On 27 January 2018 at 11:26, Michael Fothergill < michael.fotherg...@gmail.com> wrote: > When you install the kernel, the following page ( > https://www.debian.org/releases/jessie/i386/ch08s06.html.en) says you > must run the following command: > > *​dpkg -i ../linux-image-3.16-subarchitecture_1.0

Re: kernel 4.14.15 compilation using GCC 8 in unstable.......

2018-01-27 Thread Michael Lange
Hi, On Sat, 27 Jan 2018 11:26:25 + Michael Fothergill wrote: > > Where would the default location of such a file be if were created using > the make-kpkg command? the package should be in the source's parent directory, in your case I guess in /usr/src . Regards Michael .-.. .. ...- .

Re: kernel 4.14.15 compilation using GCC 8 in unstable.......

2018-01-27 Thread Michael Fothergill
When you install the kernel, the following page ( https://www.debian.org/releases/jessie/i386/ch08s06.html.en) says you must run the following command: *​dpkg -i ../linux-image-3.16-subarchitecture_1.0.custom_i386.deb*. ​Do I need to run mrproper beforehand? I can't see any linux-image file in t

Re: kernel 4.14.15 compilation using GCC 8 in unstable.......

2018-01-27 Thread Michael Fothergill
-e 's/=M/Unknown Kernel Package Maintainer /g' \ -e 's/=ST/linux/g' -e 's/=B/x86_64/g' \ /usr/share/kernel-package/changelog > debian/changelog chmod 0644 debian/control debian/changelog make -f debian/rules debian/stamp/conf/kernel-conf make[2

Re: kernel 4.14.15 compilation using GCC 8 in unstable.......

2018-01-27 Thread Michael Fothergill
(Intel/Baytrail); it is the same with msr, > module not loaded automatically, when loaded manually the contents > of /dev/cpu/0 look just as on my AMD desktop machine. The output of the > checker script still says "No" in the lines referring to msr. > *BUT*, since I finally mana

Re: kernel 4.14.15 compilation using GCC 8 in unstable.......

2018-01-26 Thread Michael Lange
On Fri, 26 Jan 2018 23:49:46 +0100 Sven Hartge wrote: > Michael Lange wrote: > > > When I check /proc/cpuinfo I see that "msr" is listed in the "flags" > > section. So why doesn't the driver load automagically? > > It is not programmed to load automatically, because writing to MSRs is > danger

Re: kernel 4.14.15 compilation using GCC 8 in unstable.......

2018-01-26 Thread Michael Lange
of /dev/cpu/0 look just as on my AMD desktop machine. The output of the checker script still says "No" in the lines referring to msr. *BUT*, since I finally managed to compile 4.15.rc9 with gcc-7.3, the script claims the laptop is no longer vulnerable to "Spectre2". I think I&#x

Re: kernel 4.14.15 compilation using GCC 8 in unstable.......

2018-01-26 Thread Sven Hartge
Michael Lange wrote: > When I check /proc/cpuinfo I see that "msr" is listed in the "flags" > section. So why doesn't the driver load automagically? It is not programmed to load automatically, because writing to MSRs is dangerous and can even damage your computer or CPU. In any normal operation

Re: kernel 4.14.15 compilation using GCC 8 in unstable.......

2018-01-26 Thread Michael Lange
On Fri, 26 Jan 2018 12:45:13 -0500 Greg Wooledge wrote: > On Fri, Jan 26, 2018 at 06:07:13PM +0100, Michael Lange wrote: > > I am definitely anything but an expert on this; but with sid's 4.14.15 > > (which I assumed was compiled with said gcc-7.2) the script here says: >

Re: kernel 4.14.15 compilation using GCC 8 in unstable.......

2018-01-26 Thread Michael Lange
On Fri, 26 Jan 2018 23:25:55 +0100 Sven Hartge wrote: > Do the contents of the /dev/cpu directory change between loaded and > unloaded msr.ko? > > When msr.ko is loaded, there should be directory for each CPU in the > system: > > # ls -ld /dev/cpu/* > drwxr-xr-x 2 root root 80 Jan 26 23:23

Re: kernel 4.14.15 compilation using GCC 8 in unstable.......

2018-01-26 Thread Sven Hartge
Michael Lange wrote: > Yes, it is the sid kernel, and the module exists. When running the > script as root it is the same. lsmod shows that the msr module is not > loaded. If I load it manually with modprobe it appears to load without > errors, but the output of the checker-script does not change

Re: kernel 4.14.15 compilation using GCC 8 in unstable.......

2018-01-26 Thread Michael Lange
On Fri, 26 Jan 2018 21:28:19 +0100 Sven Hartge wrote: > > Not me, that's the sid kernel :) > > No. The kernel from Sid has support for MSR as module: > > root@host:~# modinfo msr > filename: /lib/modules/4.14.0-3-amd64/kernel/arch/x86/kernel/msr.ko > license:GPL > description:x86 ge

Re: kernel 4.14.15 compilation using GCC 8 in unstable.......

2018-01-26 Thread Sven Hartge
Michael Lange wrote: > On Fri, 26 Jan 2018 18:38:23 +0100 Sven Hartge wrote: >> Michael Lange wrote: >>> Hardware check >>> * Hardware support (CPU microcode) for mitigation techniques >>> * Indirect Branch Restricted Speculation (IBRS) >>> * SPEC_CTRL MSR is available: UNKNOWN (couldn

  1   2   3   4   5   6   7   8   9   10   >