[tor-bugs] #19767 [Core Tor/Tor]: Solaris, compile warning: "_FILE_OFFSET_BITS" redefined and core dump
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Jul 27 18:32:17 UTC 2016
#19767: Solaris, compile warning: "_FILE_OFFSET_BITS" redefined and core dump
-------------------------+-------------------------------------------------
Reporter: | Owner:
RainerSchmidt | Status: new
Type: defect | Milestone:
Priority: Medium | Version: Tor: 0.2.8.5-rc
Component: Core | Keywords: Solaris, core dump, compile
Tor/Tor | warning_FILE_OFFSET_BITS
Severity: Major | Parent ID:
Actual Points: | Reviewer:
Points: |
Sponsor: |
-------------------------+-------------------------------------------------
I'm trying to get tor-0.2.8.5-rc running, but compile warnings and core
dumps. ( tor-0.2.7.6 works )
Environment: Solaris 10, Intel 32bit, gcc 5.2.0
When compiling I get the warnings like these:
"...
In file included from src/test/test-child.c:5:0:
./orconfig.h:689:0: warning: "_FILE_OFFSET_BITS" redefined
#define _FILE_OFFSET_BITS 64
In file included from /usr/include/stdio.h:21:0,
from src/test/test-child.c:4:
/opt/csw/lib/gcc/i386-pc-solaris2.10/5.2.0/include-
fixed/sys/feature_[tests.h:196:0 tests.h:196:0]: note: this is the
location of the previous definition
#define _FILE_OFFSET_BITS 32
..."
The binary gets build, but when I run:
gmake test
or
gmake install and start tor,
it dies with a core dump.
tor-0.2.7.6 runs fine
Please help getting the issue fixed, any help is appreciated!
Thanks.
Regards
Rainer
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/19767>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list