Hello

On 06/18/2018 01:35 AM, Jean-Marc Pigeon wrote:
[...]


So we have 3 options:
- I am not  analyzing correctly cmake failure to compile and
   my finding can't be reproduce (I am wrong in some way).

- GCC configuration (as provided by LFS) make no identical
   binaries, it depend on its compilation context.

- Problem stand in cmake itself, but this is not detected by
   compiler in chapter-06 context.

[..]

Problem is proved (100%) to be related to contents of
/usr/include/c++/8.1.0
(and only to this contents)

I have made a diff, gcc-blfs come with 23 "extra" files
as extracted by diff.

Here they are:
 > usr/include/c++/8.1.0/bits/gthr-single.h
 > usr/include/c++/8.1.0/bits/c++config.h
 > usr/include/c++/8.1.0/bits/c++locale.h
 > usr/include/c++/8.1.0/bits/stdtr1c++.h
 > usr/include/c++/8.1.0/bits/c++io.h
 > usr/include/c++/8.1.0/bits/cxxabi_tweaks.h
 > usr/include/c++/8.1.0/bits/basic_file.h
 > usr/include/c++/8.1.0/bits/gthr.h

[...]

Tracking extra file generation origin proved
"I am wrong in some way".  Yuppie!!

Indeed I was recompiling gcc according LFS directive, but I have overlook the fact in the same shell script I was doing a
../libstdc++-v3/configure
and a
make (libstdc++-v3) install.

So it seems, doing so, I have compromised gcc code itself.

This is a misunderstanding of mine, believing
gcc and libstdc++v3 to be 2  different package
even if there are coming from the same
source tree.
To indulge myself and to find and excuse, this same mistake was in
my 8.1 and 8.2 and never show up....

Let me double-check finding and understanding, may
be I can come up with some suggestions for the
LFS book.

Many Thanks for all your advice.


--

A bientôt
===========================================================
Jean-Marc Pigeon                        E-Mail: j...@safe.ca
SAFE Inc.                             Phone: (514) 493-4280
   Clement, 'a kiss solution' to get rid of SPAM (at last)
      Clement' Home base <"http://www.clement.safe.ca";>
===========================================================


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to