Opened 8 years ago

Closed 5 weeks ago

#52003 closed defect (fixed)

tor-devel @0.2.9.1-alpha: build crashes gcc-4.2

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: tor-devel

Description

Building tor-devel @0.2.9.1-alpha on Mac OS X 10.6 crashes the gcc-4.2 compiler.

https://build.macports.org/builders/ports-10.6_x86_64_legacy-builder/builds/897

tor @0.2.8.6 doesn't have this problem.

Maybe we need to blacklist old gcc versions. Or maybe the developers of tor could work around the problem somehow.

Change History (5)

comment:1 Changed 8 years ago by macports.org@…

Seems I can't reproduce this problem.

Just tried building tor-devel 0.2.9.1-alpha

$ sw_vers
ProductName:    Mac OS X Server
ProductVersion: 10.6.8
BuildVersion:   10K549

with

$ gcc --version
i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)

which gives me a working

Aug 24 23:56:40.221 [notice] Tor v0.2.9.1-alpha (git-8b1ea189610f4a96) running on Darwin with Libevent 2.0.22-stable, OpenSSL 1.0.2h and Zlib 1.2.8.

From Upstream Tor Changelog: https://gitweb.torproject.org/tor.git/plain/ChangeLog

o Minor bugfixes (compilation):

Though from what I understand this only affected OpenBSD.

The only difference that I can extract from your logs: You're using /usr/bin/gcc-4.2 which doesn't exist on my OS X 10.6.8 machine. I only have /usr/bin/gcc which is a symlink to /usr/bin/gcov-4.2.

I'm using Xcode 4.2 (828). Which version of Xcode are you using?

Version 0, edited 8 years ago by macports.org@… (next)

comment:2 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Our Snow Leopard buildbot worker uses Xcode 3.2.6, the last free version of Xcode for Snow Leopard.

comment:3 Changed 7 years ago by l2dy (Zero King)

Owner: macports.org@… deleted
Status: newassigned

comment:4 in reply to:  description Changed 5 weeks ago by barracuda156

Replying to ryandesign:

Building tor-devel @0.2.9.1-alpha on Mac OS X 10.6 crashes the gcc-4.2 compiler.

https://build.macports.org/builders/ports-10.6_x86_64_legacy-builder/builds/897

tor @0.2.8.6 doesn't have this problem.

Maybe we need to blacklist old gcc versions. Or maybe the developers of tor could work around the problem somehow.

This can be closed as irrelevant now, I believe. tor-devel avoids gcc-4.2:

compiler.blacklist-append \
                    {*gcc-[34].*} {clang < 400}

comment:5 Changed 5 weeks ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.