On 4/22/12 8:38 AM, Eduardo Pestana wrote:
> Dear All,
> 
> gcc47 fails to build on my iMac4,1 (32bit Intel Core Duo) using OSX 10.6.8
> I get this message:
> 
>     . . . . . . . . . . . .
>     . . . . . . . . . . . .
>     checking whether byte ordering is bigendian... no
>     checking assembler .cfi pseudo-op support... no
>     checking whether .eh_frame section should be read-only... no
>     checking for __attribute__((visibility("hidden")))... no
>     configure: updating cache ./config.cache
>     configure: creating ./config.status
>     config.status: creating include/Makefile
>     config.status: creating include/ffi.h
>     config.status: creating Makefile
>     config.status: creating testsuite/Makefile
>     config.status: creating man/Makefile
>     config.status: creating fficonfig.h
>     config.status: linking
>     ../../../../gcc-4.7.0/libffi/src/x86/ffitarget.h to include/ffitarget.h
>     config.status: executing default-1 commands
>     Adding multilib support to Makefile in ../../../../gcc-4.7.0/libffi
>     with_multisubdir=x86_64
>     config.status: executing depfiles commands
>     config.status: executing libtool commands
>     config.status: executing include commands
>     config.status: executing src commands
>     config.status: executing depfiles commands
>     config.status: executing libtool commands
>     config.status: executing include commands
>     config.status: executing src commands
>     make: *** [all] Error 2
>     ### execution of /tmp/fink.8WPai failed, exit code 2
>     Removing runtime build-lock...
>     Removing build-lock package...
>     /sw/bin/dpkg-lockwait -r fink-buildlock-gcc47-4.7.0-1001
>     (Reading database ... 237422 files and directories currently installed.)
>     Removing fink-buildlock-gcc47-4.7.0-1001 ...
>     Failed: phase compiling: gcc47-4.7.0-1001 failed
> 
>     Before reporting any errors, please run "fink selfupdate" and try again.
>     Also try using "fink configure" to set your maximum build jobs to 1 and
>     attempt to build the package again.
>     If you continue to have issues, please check to see if the FAQ on
>     Fink's
>     website solves the problem.  If not, ask on one (not both, please) of
>     these mailing lists:
> 
>         The Fink Users List <[email protected]
>     <mailto:[email protected]>>
>         The Fink Beginners List <[email protected]
>     <mailto:[email protected]>>,
> 
>     with a carbon copy to the maintainer:
> 
>         Jack Howarth <[email protected]
>     <mailto:[email protected]>>
> 
>     Note that this is preferable to emailing just the maintainer directly,
>     since most fink package maintainers do not have access to all possible
>     hardware and software configurations.
> 
>     Please try to include the complete error message in your report.  This
>     generally consists of a compiler line starting with e.g. "gcc" or "g++"
>     followed by the actual error output from the compiler.
> 
>     Also include the following system information:
>     Package manager version: 0.32.6
>     Distribution version: selfupdate-cvs Sun Apr 22 05:59:19 2012, 10.6,
>     i386
>     Trees: local/main stable/main stable/crypto unstable/main
>     unstable/crypto
>     Xcode: 3.2.6
>     Max. Fink build jobs:  2
> 
> 
> 
> It is strange because gcc47 builds perfectly on a MacBookPro 10.6.8
> using 32bit fink
> that has the same packages installed as the iMac.
> gcc47 also builds on another MacBookPro 10.6.8 with 64bit fink and the same
> packages.
> 
> The iMac was the first machine I updated.  The others were updated after
> the
> gcc47 fix (in the context of qrupdate) was published by Aleksander Hansen.
> 
> Could you please help me?
> 
> All the best,
> Eduardo Pestana
> 
>  
> 
> 

That's a very cryptic error.  Check for non-Fink stuff that is different
on your 10.6.8/32bit machines, e.g. in /usr/local.  And you might need
to check earlier in the build output to see if there's an earlier error.

As a workaround, you can copy the gcc47 .deb files
(/sw/fink/10.4/stable/main/binary-darwin-i386/languages/gcc47*.deb) from
your MacBookPro with 32-bit Fink to your iMac, and use

dpkg -i /path/to/gcc47*.deb

(replacing '/path/to' by the actual path to the files, of course) to
install them.  And after installing the gcc47* packages, you can still
continue to help us with debugging by using "fink -l rebuild gcc47" to
get a log file.


-- 
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/2012/02/21/got-job/

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to