Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Tor Tor
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 316
    • Issues 316
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 36
    • Merge requests 36
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Core
  • TorTor
  • Issues
  • #332
Closed
Open
Created Sep 07, 2006 by weasel (Peter Palfrader)@weasel

does not build with -O0

tor trunk does not build without -O2. That's because apparently gcc doesn't inline extern INLINE fooo functions() without -O2.

gcc -g -O0 -Wall -g -O0 -o tor buffers.o circuitbuild.o circuitlist.o circuituse.o command.o config.o connection.o connection_edge.o connection_or.o control.o cpuworker.o directory.o dirserv.o dns.o hibernate.o main.o onion.o policies.o relay.o rendcommon.o rendclient.o rendmid.o rendservice.o rephist.o router.o routerlist.o routerparse.o eventdns.o tor_main.o ../common/libor.a ../common/libor-crypto.a -lz -lssl -lcrypto -lpthread -ldl -levent -lssl -lcrypto circuitbuild.o: In function circuit_n_conn_done': /tmp/buildd/tor-trunk/src/or/circuitbuild.c:357: undefined reference to TO_ORIGIN_CIRCUIT' circuitbuild.o: In function ap_stream_wants_exit_attention': /tmp/buildd/tor-trunk/src/or/circuitbuild.c:1052: undefined reference to TO_EDGE_CONN' /tmp/buildd/tor-trunk/src/or/circuitbuild.c:1052: undefined reference to TO_EDGE_CONN' circuitbuild.o: In function choose_good_exit_server_general': /tmp/buildd/tor-trunk/src/or/circuitbuild.c:1142: undefined reference to `TO_EDGE_CONN' [...]

[Automatically added by flyspray2trac: Operating System: All]

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking