pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/29829: pkgsrc-2005Q1 bootstrap failure with mipspro 7.2.1



>Number:         29829
>Category:       pkg
>Synopsis:       pkgsrc-2005Q1 bootstrap failure with mipspro 7.2.1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 29 21:20:00 +0000 2005
>Originator:     Ryan Cresawn
>Release:        IRIX64 6.5.20m
>Organization:
        
>Environment:
System: IRIX64 origin 6.5 6.5.20m 04091957 IP27
Architecture: mips
Machine: SGI Origin 200 (IP27)
>Description:

It is not possible to bootstrap pkgsrc-2005Q1 on an IRIX64 6.5.20m
computer using the mipspro 7.2.1 compiler.

>How-To-Repeat:

Get an SGI Origin 200 and install IRIX64 6.5.20m on it.  Install the
mipspro 7.2.1 compiler.  Perform a cvs checkout of pkgsrc-2005Q1.  Set
these environment variables:

  CC=/usr/bin/cc
  CXX=/usr/bin/CC

Create this file:

  # cat /etc/mk.conf
  PKGSRC_COMPILER=mipspro
  OPSYS=IRIX
  ABI=64

Change directory to /usr/pkgsrc/bootstrap and issue the command
./bootstrap.  Wait for it to fail at this point:

You can now run

        make -f makefile.boot bootstrap

to produce a fully functional bmake.  You can then use

        make -f makefile.boot install

for an initial installation.  If you already have macros installed 
you can use:

        ./bmake -f Makefile

to install etc.

        /usr/bin/cc -I. -I. -DHAVE_CONFIG_H  -I../libnbcompat -I./missing 
-DNEED_HOST_CDEFS_H "-D_PATH_DEFSYSPATH=\"/usr/pkg/share/mk\"" -DMAKE_BOOTSTRAP 
 -c arch.c

"/usr/include/sys/types.h", line 146: error(1084): invalid combination of type
          specifiers
  typedef __int32_t     pid_t;          /* proc & grp IDs  */
                        ^

1 error detected in the compilation of "arch.c".
*** Error code 2 (bu21)
===> exited with status 1
aborted.

>Fix:

>From correspondence with Jan Schaumann is appears that it is possible
to work around this problem by either using a newer mipspro compiler
(7.4 in his case) or use gcc-3.3 from http://freeware.sgi.com/;
however the use of gcc-3.3 is only a partial solution to the problem
as it can compile some packages and not others.




Home | Main Index | Thread Index | Old Index