public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/13225] New: post gcc3.3.2 Makefile changes break crosscompiling
@ 2003-11-28 21:58 olh at suse dot de
  2003-11-28 22:04 ` [Bug bootstrap/13225] gcc3.3.3 " pinskia at gcc dot gnu dot org
  2003-11-28 23:20 ` olh at suse dot de
  0 siblings, 2 replies; 3+ messages in thread
From: olh at suse dot de @ 2003-11-28 21:58 UTC (permalink / raw)
  To: gcc-bugs

This simple script works with plain 3.3.2, but it fails with the current CVS gcc-3_3-branch.

chmod 755 ../fixinc.sh
make[2]: Leaving directory `/home/toolchain/cross-test/obj/gcc/gcc/fixinc'
The directory that should contain system headers does not exist:
  /home/toolchain/cross-test/x/lib/gcc-lib/i686-linux/3.3.2/../../../../i686-linux/sys-include
make[1]: *** [stmp-fixinc] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/toolchain/cross-test/obj/gcc/gcc'
make: *** [all-gcc] Error 2
Command exited with non-zero status 2

toolchain@papaya:~> find -name sys-include
./cross-test/x/i686-linux/sys-include
toolchain@papaya:~> ls -l /home/toolchain/cross-test/x/lib/ 
total 876
-rw-r--r--    1 toolchain users      891234 Nov 28 22:53 libiberty.a
toolchain@papaya:~> 



set -ex
export CROSS=$HOME/cross-test
export CROSSP=$CROSS/x
export PATH=$CROSSP/bin:$PATH
cd      $HOME
#
rm -rf  $CROSS
mkdir   $CROSS
cd      $CROSS
#
~olaf/bin/unrpm  ~olaf/glibc-devel.rpm 
#
tar xfj ~olaf/cross-ppc64-binutils/binutils-2.14.90.0.7.tar.bz2 
cd binutils-2.14.90.0.7/
bzip2 -cd ~olaf/binutils-2.14.90.0.7-binutils-head.patch.bz2 | patch -Esp1
cd ..
tar xfj ~olaf/cross-ppc64-gcc-core/gcc-3.3.2.tar.bz2 
cd gcc-3.3.2/
gzip  -cd ~olaf/gcc-3_3-branch-20031128.diff.gz | patch -Esp0
cd ..
mkdir obj
cd obj/
mkdir binutils gcc
cd binutils/
powerpc32 $CROSS/binutils-2.14.90.0.7/configure --disable-nls --target=i686-linux --prefix=$CROSSP
make -j6
make install
cd ..
cd gcc
powerpc32 $CROSS/gcc-3.3.2/configure --disable-nls --target=i686-linux --prefix=$CROSSP --enable-languages=c --disable-shared --with-headers=$CROSS/usr/include
make -j6
make
make install
cd ..

-- 
           Summary: post gcc3.3.2 Makefile changes break crosscompiling
           Product: gcc
           Version: 3.3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: olh at suse dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-linux
  GCC host triplet: powerpc-linux
GCC target triplet: i686-linux,powerpc64-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13225


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug bootstrap/13225] gcc3.3.3 Makefile changes break crosscompiling
  2003-11-28 21:58 [Bug bootstrap/13225] New: post gcc3.3.2 Makefile changes break crosscompiling olh at suse dot de
@ 2003-11-28 22:04 ` pinskia at gcc dot gnu dot org
  2003-11-28 23:20 ` olh at suse dot de
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-28 22:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-28 22:04 -------
Do not use with-headers any more, use --with-sysroot= instead, it got included for 3.3.3.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
            Summary|post gcc3.3.2 Makefile      |gcc3.3.3 Makefile changes
                   |changes break crosscompiling|break crosscompiling
   Target Milestone|---                         |3.3.3


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13225


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug bootstrap/13225] gcc3.3.3 Makefile changes break crosscompiling
  2003-11-28 21:58 [Bug bootstrap/13225] New: post gcc3.3.2 Makefile changes break crosscompiling olh at suse dot de
  2003-11-28 22:04 ` [Bug bootstrap/13225] gcc3.3.3 " pinskia at gcc dot gnu dot org
@ 2003-11-28 23:20 ` olh at suse dot de
  1 sibling, 0 replies; 3+ messages in thread
From: olh at suse dot de @ 2003-11-28 23:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From olh at suse dot de  2003-11-28 23:20 -------
thanks, make sure it ends up in the release notes.

toolchain@papaya:~> ./cross-test/x/bin/i686-linux-gcc -v
Reading specs from /home/toolchain/cross-test/x/lib/gcc-lib/i686-linux/3.3.2/specs
Configured with: /home/toolchain/cross-test/gcc-3.3.2/configure --disable-nls --target=i686-linux --prefix=/home/toolchain/cross-test/x --enable-languages=c --disable-shared --with-sysroot=/home/toolchain/cross-test
Thread model: posix
gcc version 3.3.2 20031128 (prerelease)




-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |WORKSFORME


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13225


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-11-28 23:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-28 21:58 [Bug bootstrap/13225] New: post gcc3.3.2 Makefile changes break crosscompiling olh at suse dot de
2003-11-28 22:04 ` [Bug bootstrap/13225] gcc3.3.3 " pinskia at gcc dot gnu dot org
2003-11-28 23:20 ` olh at suse dot de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).