#4641: ICA: gcc compilers (c++, gcc, cc1, cc1plus, ...) differ between first and
second build
--------------------+-----------------------
 Reporter:  bdubbs  |       Owner:  lfs-book
     Type:  task    |      Status:  new
 Priority:  normal  |   Milestone:  9.2
Component:  Book    |     Version:  SVN
 Severity:  normal  |  Resolution:
 Keywords:          |
--------------------+-----------------------

Comment (by bdubbs):

 From pierre.labastie:

 I've been able to set up an example for the gcc differences, using one of
 the affected files, which is spellcheck.o. On a finished lfs, cd /sources
 and unpack gcc, cd to the unpacked tree, then:

 {{{
 mkdir build1 && cd build1
 CC=/tools/bin/gcc                     \
 CXX=/tools/bin/g++                    \
 ../configure --prefix=/usr            \
              --enable-languages=c,c++ \
              --disable-multilib       \
              --disable-bootstrap      \
              --with-system-zlib
 make -j4 all-build
 make -j4 configure-host
 cd gcc
 make -j4 c-family/c-spellcheck.o
 cd ../..
 mkdir build2 && cd build2
 ../configure --prefix=/usr
 #... then the same thing again in build2 without setting CC and CXX
 }}}

 On my machine the produced .o files are different. As can be seen by
 diffing the output of objdump -d.

--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/4641#comment:3>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to