Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-alt
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-alt@g.o
From: John Gibson <jgibson@...>
Subject: Re: Bootstrapping Problems on OS X 10.4
Date: Thu, 9 Oct 2008 00:46:29 -0400

 1.1

I'm on Intel.

Apparently binutils-apple wasn't even installed, so I installed  
binutils-apple-20080922.

Also I noticed that gcc-config wasn't working properly.  It  
complained about CHOST not being set properly.  Even though it was  
present in the profile: $EPREFIX/etc/make.profile/make.defaults
I set it in $EPREFIX/etc/make.conf and reemerged gcc-config and it  
seemed to fix the problems with gcc-confgi.

I tried again with gcc-apple-4.2.1_p5564, I recieved the same  
checking size of int error, so I tried setting MAKE_OPTS="-j1" (it  
had been -j3 previously) and I got further.
However I still ran into problems:

configure:5908: checking size of long long
configure:6213:  /Library/Gentoo/var/tmp/portage/sys-devel/gcc- 
apple-4.2.1_p5564/work/build/./prev-gcc/xgcc -B/Library/Gentoo/var/ 
tmp/portage/sys-devel/gcc-apple-4.2.1_p5564/work/build
/./prev-gcc/ -B/Library/Gentoo/usr/i686-apple-darwin8/bin/ -o  
conftest -g -O2 -mdynamic-no-pic   conftest.c  >&5
/SourceCache/dwarf_utilities/dwarf_utilities-22/source/DWARFdSYM.cpp: 
968: failed assertion `!"Unknown one-operand"'
xgcc: Internal error: Abort trap (program dsymutil)
Please submit a full bug report.
See <URL:http://developer.apple.com/bugreporter> for instructions.
configure:6217: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define DEFAULT_LINKER "/Library/Gentoo/usr/bin/i686-apple-darwin8-ld"
| #define DEFAULT_ASSEMBLER "/Library/Gentoo/usr/bin/i686-apple- 
darwin8-as"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_VOID_P 0
| #define SIZEOF_SHORT 0
| #define SIZEOF_INT 0
| #define SIZEOF_LONG 0
| #define HAVE_LONG_LONG 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| static long int longval () { return (long int) (sizeof (long long)); }
| static unsigned long int ulongval () { return (long int) (sizeof  
(long long)); }
| #include <stdio.h>
| #include <stdlib.h>
| int
| main ()
| {
|
|   FILE *f = fopen ("conftest.val", "w");
|   if (! f)
|     return 1;
|   if (((long int) (sizeof (long long))) < 0)
|     {
|       long int i = longval ();
|       if (i != ((long int) (sizeof (long long))))
|       return 1;
|       fprintf (f, "%ld", i);
|     }
|   else
|     {
|       unsigned long int i = ulongval ();
|       if (i != ((long int) (sizeof (long long))))
|       return 1;
|       fprintf (f, "%lu", i);
|     }
|   /* Do not output a trailing newline, as this causes \r\n confusion
|      on some platforms.  */
|   return ferror (f) || fclose (f) != 0;
|
|   ;
|   return 0;
| }
configure:6237: error: in `/Library/Gentoo/var/tmp/portage/sys-devel/ 
gcc-apple-4.2.1_p5564/work/build/gcc':
configure:6240: error: cannot compute sizeof (long long)
See `config.log' for more details.


On Oct 8, 2008, at 4:32 PM, Fabian Groffen wrote:

> On 07-10-2008 00:04:50 -0400, John Gibson wrote:
>> I bootstrapped with odcctools-20080820.
>> I finished bootstrapping with gcc-apple-4.0.1_p5484.
>
> Are you on powerpc or intel?
>
>> I just tried re-emerging gcc-apple-4.2.1_p5564 which also pulled  
>> in gmp
>> and mpfr.
>>
>> However it still failed.  This time with a slightly different error.
>
> Remains weird.  I don't have this, but please try and emerge
> binutils-apple, and see if the problem persists.
>
>> configure:4241: checking size of int
>> configure:4560:  /Library/Gentoo/var/tmp/portage/sys-devel/gcc-
>> apple-4.2.1_p5564/work/build/./prev-gcc/xgcc -B/Library/Gentoo/var/
>> tmp/portage/sys-devel/gcc-apple-4.2.1_p5564/work/build/./prev-gcc/  
>> -B/
>> Library/Gentoo/usr/i686-apple-darwin8/bin/ -o conftest -g -O2 -
>> mdynamic-no-pic   conftest.c  >&5
>> /SourceCache/dwarf_utilities/dwarf_utilities-22/source/DWARFdSYM.cpp:
>> 968: failed assertion `!"Unknown one-operand"'
>> xgcc: Internal error: Abort trap (program dsymutil)
>> Please submit a full bug report.
>> See <URL:http://developer.apple.com/bugreporter> for instructions.
>
>
> -- 
> Fabian Groffen
> Gentoo on a different level
>



Replies:
Re: Bootstrapping Problems on OS X 10.4
-- Fabian Groffen
References:
Bootstrapping Problems on OS X 10.4
-- John Gibson
Re: Bootstrapping Problems on OS X 10.4
-- Fabian Groffen
Re: Bootstrapping Problems on OS X 10.4
-- John Gibson
Re: Bootstrapping Problems on OS X 10.4
-- Fabian Groffen
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Bootstrapping Problems on OS X 10.4
Next by thread:
Re: Bootstrapping Problems on OS X 10.4
Previous by date:
Re: Bootstrapping Problem on Solaris10/x86-64bit
Next by date:
Re: Bootstrapping Problem on Solaris10/x86-64bit


Jan 05, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.