Port-i386 archive

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

building -current from OS X: unknown machine mode 'libgcc_cmp_return' (etc.)




Building -current/i386 on OS X, I ran into a new problem - full details below, short description is that building in src/external/gpl3/gcc/lib/libgcc blows up with:

        error: unknown machine mode 'libgcc_cmp_return'
        error: unknown machine mode 'libgcc_shift_count'

I'm not sure if this is related to my other build issue on OS X[1][2].
Googling the error message indicates[3] that this may be related to running some configure script with the right args, but I do not dare to go there.

Got a clue?


 - Hubert



P.S. Here are more details:

1) build log:

        mini% pwd
        /Users/feyrer/work/NetBSD/cvs/src-current/external/gpl3/gcc/lib/libgcc
        mini% alias M
        /usr/cvs/src-current/tooldir.Darwin/bin/nbmake-i386
        mini% M
        all ===> libgcc
        #   compile  libgcc/__gcc_bcmp.o
        
/Users/feyrer/work/NetBSD/cvs/src-current/tooldir.Darwin/bin/i486--netbsdelf-gcc
        -O2 -std=gnu99 -Werror
        --sysroot=/Users/feyrer/work/NetBSD/cvs/src-current/destdir.i386
        
-I/Users/feyrer/work/NetBSD/cvs/src-current/external/gpl3/gcc/lib/libgcc/libgcc
        
-I/Users/feyrer/work/NetBSD/cvs/src-current/external/gpl3/gcc/lib/libgcc/arch/i386
        
-I/Users/feyrer/work/NetBSD/cvs/src-current/external/gpl3/gcc/usr.bin/gcc/arch/i386
        -DIN_GCC -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
        -I/Users/feyrer/work/NetBSD/cvs/src-current/external/gpl3/gcc/dist/gcc
        -I/Users/feyrer/work/NetBSD/cvs/src-current/external/gpl3/gcc/dist/gcc/.
        
-I/Users/feyrer/work/NetBSD/cvs/src-current/external/gpl3/gcc/dist/gcc/../include
        
-I/Users/feyrer/work/NetBSD/cvs/src-current/external/gpl3/gcc/dist/gcc/../libcpp/include
        
-I/Users/feyrer/work/NetBSD/cvs/src-current/external/gpl3/gcc/dist/gcc/../libdecnumber
        
-I/Users/feyrer/work/NetBSD/cvs/src-current/external/gpl3/gcc/dist/gcc/../libdecnumber/dpd
        -I/usr/include/libelf
        
-I/Users/feyrer/work/NetBSD/cvs/src-current/external/gpl3/gcc/dist/gcc/config/i386
        
-I/Users/feyrer/work/NetBSD/cvs/src-current/external/gpl3/gcc/dist/gcc/ginclude
        -I/Users/feyrer/work/NetBSD/cvs/src-current/external/gpl3/gcc/dist
        
-I/Users/feyrer/work/NetBSD/cvs/src-current/external/gpl3/gcc/dist/gcc/cp
        
-I/Users/feyrer/work/NetBSD/cvs/src-current/external/gpl3/gcc/dist/gcc/config
        
-I/Users/feyrer/work/NetBSD/cvs/src-current/external/gpl3/gcc/lib/libstdc++-v3/arch/i386
        -I.  -c    __gcc_bcmp.c -o __gcc_bcmp.o
        In file included from
        
/Users/feyrer/work/NetBSD/cvs/src-current/external/gpl3/gcc/dist/gcc/libgcc2.c:61,
                         from __gcc_bcmp.c:2:
        
/Users/feyrer/work/NetBSD/cvs/src-current/external/gpl3/gcc/dist/gcc/libgcc2.h:172:
        error: unknown machine mode 'libgcc_cmp_return'
        
/Users/feyrer/work/NetBSD/cvs/src-current/external/gpl3/gcc/dist/gcc/libgcc2.h:173:
        error: unknown machine mode 'libgcc_shift_count'

        *** Failed target:  __gcc_bcmp.o
        *** Failed command:
        
/Users/feyrer/work/NetBSD/cvs/src-current/tooldir.Darwin/bin/i486--netbsdelf-gcc
        -O2 -std=gnu99 -Werror
        --sysroot=/Users/feyrer/work/NetBSD/cvs/src-current/destdir.i386
        
-I/Users/feyrer/work/NetBSD/cvs/src-current/external/gpl3/gcc/lib/libgcc/libgcc
        
-I/Users/feyrer/work/NetBSD/cvs/src-current/external/gpl3/gcc/lib/libgcc/arch/i386
        
-I/Users/feyrer/work/NetBSD/cvs/src-current/external/gpl3/gcc/usr.bin/gcc/arch/i386
        -DIN_GCC -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
        -I/Users/feyrer/work/NetBSD/cvs/src-current/external/gpl3/gcc/dist/gcc
        -I/Users/feyrer/work/NetBSD/cvs/src-current/external/gpl3/gcc/dist/gcc/.
        
-I/Users/feyrer/work/NetBSD/cvs/src-current/external/gpl3/gcc/dist/gcc/../include
        
-I/Users/feyrer/work/NetBSD/cvs/src-current/external/gpl3/gcc/dist/gcc/../libcpp/include
        
-I/Users/feyrer/work/NetBSD/cvs/src-current/external/gpl3/gcc/dist/gcc/../libdecnumber
        
-I/Users/feyrer/work/NetBSD/cvs/src-current/external/gpl3/gcc/dist/gcc/../libdecnumber/dpd
        -I/usr/include/libelf
        
-I/Users/feyrer/work/NetBSD/cvs/src-current/external/gpl3/gcc/dist/gcc/config/i386
        
-I/Users/feyrer/work/NetBSD/cvs/src-current/external/gpl3/gcc/dist/gcc/ginclude
        -I/Users/feyrer/work/NetBSD/cvs/src-current/external/gpl3/gcc/dist
        
-I/Users/feyrer/work/NetBSD/cvs/src-current/external/gpl3/gcc/dist/gcc/cp
        
-I/Users/feyrer/work/NetBSD/cvs/src-current/external/gpl3/gcc/dist/gcc/config
        
-I/Users/feyrer/work/NetBSD/cvs/src-current/external/gpl3/gcc/lib/libstdc++-v3/arch/i386
        -I. -c __gcc_bcmp.c -o __gcc_bcmp.o
        *** Error code 1

        Stop.
        nbmake: stopped in
        
/Users/feyrer/work/NetBSD/cvs/src-current/external/gpl3/gcc/lib/libgcc/libgcc

2) environment:

        NetBSD-current sources as of 2011-08-09

        mini% uname -a
        Darwin mini.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 
16:33:36
        PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386

        mini% env
        
PATH=/usr/local/texlive-2010/bin/universal-darwin:/Volumes/pkgsrc5/pkg/bin:/Volumes/pkgsrc5/pkg/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/MacGPG2/bin:/usr/X11/bin:/bin:/usr/bin:/usr/sbin:/sbin:/usr/ucb:/Users/feyrer/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/ccs/bin:/usr/games:/usr/X11R6/bin:/usr/X11R6/sbin:/usr/X11R7/bin:/usr/X11R7/sbin:/usr/local/bin
        TMPDIR=/var/folders/p3/p3hc1hhhEz0eJ8oK4LJRKE+++TM/-Tmp-/
        SHELL=/bin/tcsh
        HOME=/Users/feyrer
        USER=feyrer
        LOGNAME=feyrer
        GPG_AGENT_INFO=/Users/feyrer/.gnupg/S.gpg-agent:122:1
        DISPLAY=:0.0
        SSH_AUTH_SOCK=/tmp/launch-uA3ysm/Listeners
        Apple_PubSub_Socket_Render=/tmp/launch-0w6bPz/Render
        COMMAND_MODE=unix2003
        SECURITYSESSIONID=236170
        TERM_PROGRAM=iTerm.app
        __CF_USER_TEXT_ENCODING=0x1F6:0:3
        COLORFGBG=0;15
        LC_MONETARY=de_DE
        LC_NUMERIC=de_DE
        TERM=vt220
        PWD=/usr/pkgsrc/meta-pkgs/gnome
        HOSTTYPE=intel-mac
        VENDOR=apple
        OSTYPE=darwin
        MACHTYPE=x86_64
        SHLVL=1
        GROUP=staff
        HOST=mini.local
        REMOTEHOST=
        
MANPATH=/Volumes/pkgsrc3/pkg/man:/Users/feyrer/man:/usr/pkg/man:/usr/X11R6/man:/usr/share/man:
        adr=/Users/feyrer/.adressen
        EDITOR=nvi
        VISUAL=vi
        EXINIT=set autoindent
        REPLYTO=hubert%feyrer.de@localhost
        GZIP=-9
        
NETHACKOPTIONS=male,fixinv,lit_corridor,,name:hubertf,windowtype:tty,pettype:cat
        IRCSERVER=irc.uni-erlangen.de
        LESS=-r
        CVS_RSH=ssh
        QMAKESPEC=darwin-g++
        QTDIR=/usr/pkg/qt4


[1] http://mail-index.netbsd.org/port-i386/2011/08/07/msg002532.html
[2] http://mail-index.netbsd.org/port-i386/2011/08/08/msg002535.html
[3] 
http://old.nabble.com/RE:-Make-bootstrap-failure-on-i386-apple-darwin8.10.1-%28Intel-Core-%09Duo%29-td13001515.html


Home | Main Index | Thread Index | Old Index