Re: aide au débogage : logged-gcc

2023-03-11 Thread Ken-Patrick
On 11/03/2023 13:44, Basile Starynkevitch wrote: Non. Pour des tas de raisons (y compris que j'ai personnellement contribué à GCC mais pas à Clang, que j'en connais donc assez bien les internes, et aussi pour des raisons de licence -je préfère la GPL à BSD) je souhaite explicitement utiliser

Re: [April technique] aide au débogage : logged-gcc

2023-03-11 Thread Laurent Lyaudet
: > > Bonsoir, > > > Il est naturel, quand on est fan de logiciel libre et de Debian (ou > similaire), de compiler du logiciel libre (notamment en C ou C++) à > partir de son code source, en utilisant (probablement) GCC (voir > https://gcc.gnu.org/ ...) > > Il est alors utile

Re: aide au débogage : logged-gcc

2023-03-11 Thread Basile Starynkevitch
On 3/11/23 13:20, Ken-Patrick wrote: Hello Basile, On 10/03/2023 19:57, Basile Starynkevitch wrote: Bonsoir, [...] Il est alors utile de pouvoir conserver la trace de toutes les compilations par GCC. [...] Est-ce que https://clang.llvm.org/docs/JSONCompilationDatabase.html et

Re: aide au débogage : logged-gcc

2023-03-11 Thread Ken-Patrick
Hello Basile, On 10/03/2023 19:57, Basile Starynkevitch wrote: Bonsoir, [...] Il est alors utile de pouvoir conserver la trace de toutes les compilations par GCC. [...] Est-ce que https://clang.llvm.org/docs/JSONCompilationDatabase.html et potentiellement https://github.com/rizsotto

aide au débogage : logged-gcc

2023-03-10 Thread Basile Starynkevitch
Bonsoir, Il est naturel, quand on est fan de logiciel libre et de Debian (ou similaire), de compiler du logiciel libre (notamment en C ou C++) à partir de son code source, en utilisant (probablement) GCC (voir https://gcc.gnu.org/ ...) Il est alors utile de pouvoir conserver la trace de

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 package [0]. Regards, -Roberto

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

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

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 zillion time

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 > them)? Running D

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 (or what package

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 package provid

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

Re: gcc-10: options order important?

2021-09-03 Thread Greg Wooledge
rc" 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 behavior. An expert in GNU b

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 opt

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 returned 1

Re: fallo extraño en gcc

2020-11-27 Thread juan carlos rebate rodriguez
rio ffmpeg debería > > > > reconocerse > > > > como > > > > ejecutable, ahora se reconoce como archivo de texto, lo curioso > > > > es > > > > que > > > > se comporta como ejecutable, > > > > > > ¿Qué te dice «

Re: fallo extraño en gcc

2020-11-27 Thread Camaleón
; que > > > se comporta como ejecutable, > > > > ¿Qué te dice «file /usr/bin/ffmpeg» (...) > > ¿Y el registro que genera el compilador no te dice nada relevante > > del > > archivo resultante? :-? > > > hola, no encuentro el log de gcc en /var/log pe

Re: fallo extraño en gcc

2020-11-26 Thread juan carlos rebate rodriguez
endencias fueron instaladas con build-esential > > (dependencias del compilador), alguna idea? > > ¿Y el registro que genera el compilador no te dice nada relevante > del > archivo resultante? :-? > > Saludos, > > hola, no encuentro el log de gcc en /var/log

Re: fallo extraño en gcc

2020-11-26 Thread Camaleón
El 2020-11-26 a las 18:51 +0100, Juan carlos Rebate escribió: > hola, buenas acabo de actualizar a 10.6 y me encontré un fallo al > intentar compilar ffmpeg, en lugar de crearse binarios se quedan como > archivos de texto, osea si el binario ffmpeg debería reconocerse como > ejecutable, ahora se

fallo extraño en gcc

2020-11-26 Thread Juan carlos Rebate
hola, buenas acabo de actualizar a 10.6 y me encontré un fallo al intentar compilar ffmpeg, en lugar de crearse binarios se quedan como archivos de texto, osea si el binario ffmpeg debería reconocerse como ejecutable, ahora se reconoce como archivo de texto, lo curioso es que se comporta como

Re: testing: upgrade de gcc, plus de 800Mo supplémentaire

2020-11-06 Thread Jérémy Prego
Le 06/11/2020 à 11:08, Étienne Mollier a écrit : > Bonjour Jérémy, > > Jérémy Prego, on 2020-11-06 01:59:33 +0100: >> 877 Mo pour une simple mise à jour mineur de gcc, ça me parait beaucoup ... > Par curiosité, j'ai jeté un œil dans le changelog de gcc-10. > Matthias Klose

Re: testing: upgrade de gcc, plus de 800Mo supplémentaire

2020-11-06 Thread Étienne Mollier
Bonjour Jérémy, Jérémy Prego, on 2020-11-06 01:59:33 +0100: > 877 Mo pour une simple mise à jour mineur de gcc, ça me parait beaucoup ... Par curiosité, j'ai jeté un œil dans le changelog de gcc-10. Matthias Klose Thu, 29 Oct 2020 16:36:48 +0100: > * Also enable the extra checking on

testing: upgrade de gcc, plus de 800Mo supplémentaire

2020-11-05 Thread Jérémy Prego
bonjour, il y a deux / trois jours de ça, est arrivé dans testing la mise à jour de gcc de la version 10.2.0-15 vers 10.2.0-16 sauf que quand je fais un petit aptitude safe-upgrade il me donne ça: Les paquets suivants seront mis à jour :      cpp-10 g++-10 gcc-10 gcc-10-base libasan6

comment logger les compilations par GCC...

2020-08-19 Thread Basile Starynkevitch
Bonsoir Il y a des cas où il est utile de logger les compilations faites par GCC. Si vous lisez l'anglais, j'explique en https://opensource.stackexchange.com/q/10319/910 les cas où ça pourrait être utile. Autrement, on peut songer à faire des statistiques (peut-être en vue d'apprentissage

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
ian/ 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 make f

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 machi

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 after

Re: Problème de compilation avec gcc 9.2 (debian/testing)

2019-10-31 Thread BERTRAND Joël
Je me réponds à moi-même. Le problème provient à la fois de binutils et d'automake. Binutils parce que le linker est beaucoup plus tatillons sur l'ordre des bibliothèques quand elles sont réentrantes. Et automake, parce que celui-ci gère l'ordre des bibliothèques un peu comme il

Problème de compilation avec gcc 9.2 (debian/testing)

2019-10-27 Thread BERTRAND Joël
sont compilées statiquement (ça permet de ne pas segfaulter lorsque l'on charge des modules externes). L'erreur varie en fonction de l'ordre des bibliothèques. Avec gcc 8, ça compile sans problème. mpfr est configuré comme suit : ../../../rpl/rplcas/mpfr-4.0.2/configure --with-gmp

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: 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 side

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 > >

Re: Compiling Linux with "bdver2" gcc optimization option

2019-08-16 Thread Franco Martelli
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 this is a

Re: Compiling Linux with "bdver2" gcc optimization option

2019-08-16 Thread Étienne Mollier
nning 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 not as well in LTS kerne

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 supporting b

Re: Compiling Linux with "bdver2" gcc optimization option

2019-08-13 Thread Étienne Mollier
s: [...snipped 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 eat you

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) \

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

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 tutorials, I am s

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 days.

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

Re: Arduino and Python or gcc compiler?

2018-07-22 Thread cyaiplexys
ter. 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 & R C, ANSI C, Mix Power C,

Re: Arduino and Python or gcc compiler?

2018-07-22 Thread cyaiplexys
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 from here... I've seen your later post, and you

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

Re: Arduino and Python or gcc compiler?

2018-07-22 Thread Joe
em 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. > > Is there a cross-platform compiler for Arduino

Re: Arduino and Python or gcc compiler?

2018-07-21 Thread cyaiplexys
' 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 anyone has had experience with that works

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

Re: Arduino and Python or gcc compiler?

2018-07-21 Thread David Christensen
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 Python

Re: Arduino and Python or gcc compiler?

2018-07-21 Thread deloptes
rn -> 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 > Is there a cross-platform compiler for A

Arduino and Python or gcc compiler?

2018-07-21 Thread cyaiplexys
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 Python? I'll use C/C++ until I can figure

Re: GCC 7

2018-06-15 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

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

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

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. Thanks fo

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: -BEGIN PGP

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

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 > depen

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

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 my

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 scripts

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

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

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

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 <klappn...@freenet.de> wrote: Hi, On Sat, 27 Jan 2018 13:12:13 + Michael Fothergill <michael.fotherg...@gmail.com> wrote: ​I think I will sign up on the gcc gnu help page an

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 <klappn...@freenet.de> wrote: > Hi, > > On Sat, 27 Jan 2018 13:12:13 + > Michael Fothergill <michael.fotherg...@gmail.com> wrote: > > > ​I think I will sign up on the gcc gnu help page and ask people if they > >

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 <klappn...@freenet.de> wrote: > Hi, > > On Sat, 27 Jan 2018 13:12:13 + > Michael Fothergill <michael.fotherg...@gmail.com> wrote: > > > ​I think I will sign up on the gcc gnu help page and ask people if they > >

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 <klappn...@freenet.de> wrote: > Hi, > > On Sat, 27 Jan 2018 13:12:13 + > Michael Fothergill <michael.fotherg...@gmail.com> wrote: > > > ​I think I will sign up on the gcc gnu help page and ask people if they > >

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

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 <michael.fotherg...@gmail.com> 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.​ > ​O

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

2018-01-27 Thread Michael Fothergill
ch 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. > > > > Could there be a bug in gcc 8 that made it forget to actually output the >

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: > > > > > > > >

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
ch 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. > > > > Could there be a bug in gcc 8 that made it forget to actually output the &

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

  1   2   3   4   5   6   7   8   9   10   >