Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-1314

ATS 3.2 fails to build from source

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 3.3.0
    • None
    • None

    Description

      Building Apache Traffic Server 3.2 on Debian AMD64 (x86_64) using the default tool chain (gcc 4.7, binutils 2.22) fails to build from source. However, it's not the compiler which fails, but the linker (no, really):

      I'm afraid, but it's far beyond my knowledge where this problem comes from as my ELF skills are somewhat limited. This is what I get upon linking:

      IPAllow.o: In function `ClassAllocator<Event>::alloc()':
      /«PKGBUILDDIR»/proxy/../lib/ts/Allocator.h:115:(.text+0x70): relocation truncated to fit: R_X86_64_32 against symbol `eventAllocator' defined in .bss section in ../iocore/eventsystem/libinkevent.a(UnixEvent.o)
      IPAllow.o: In function `memcpy':
      /usr/include/x86_64-linux-gnu/bits/string3.h:52:(.text+0x96): relocation truncated to fit: R_X86_64_PC32 against symbol `eventAllocator' defined in .bss section in ../iocore/eventsystem/libinkevent.a(UnixEvent.o)
      /usr/include/x86_64-linux-gnu/bits/string3.h:52:(.text+0xa2): relocation truncated to fit: R_X86_64_PC32 against symbol `eventAllocator' defined in .bss section in ../iocore/eventsystem/libinkevent.a(UnixEvent.o)
      /usr/include/x86_64-linux-gnu/bits/string3.h:52:(.text+0xad): relocation truncated to fit: R_X86_64_PC32 against symbol `eventAllocator' defined in .bss section in ../iocore/eventsystem/libinkevent.a(UnixEvent.o)
      /usr/include/x86_64-linux-gnu/bits/string3.h:52:(.text+0xb8): relocation truncated to fit: R_X86_64_PC32 against symbol `eventAllocator' defined in .bss section in ../iocore/eventsystem/libinkevent.a(UnixEvent.o)
      /usr/include/x86_64-linux-gnu/bits/string3.h:52:(.text+0xc3): relocation truncated to fit: R_X86_64_PC32 against symbol `eventAllocator' defined in .bss section in ../iocore/eventsystem/libinkevent.a(UnixEvent.o)
      /usr/include/x86_64-linux-gnu/bits/string3.h:52:(.text+0xce): relocation truncated to fit: R_X86_64_PC32 against symbol `eventAllocator' defined in .bss section in ../iocore/eventsystem/libinkevent.a(UnixEvent.o)
      /usr/include/x86_64-linux-gnu/bits/string3.h:52:(.text+0xd9): relocation truncated to fit: R_X86_64_PC32 against symbol `eventAllocator' defined in .bss section in ../iocore/eventsystem/libinkevent.a(UnixEvent.o)
      /usr/include/x86_64-linux-gnu/bits/string3.h:52:(.text+0xe4): relocation truncated to fit: R_X86_64_PC32 against symbol `eventAllocator' defined in .bss section in ../iocore/eventsystem/libinkevent.a(UnixEvent.o)
      /usr/include/x86_64-linux-gnu/bits/string3.h:52:(.text+0xef): relocation truncated to fit: R_X86_64_PC32 against symbol `eventAllocator' defined in .bss section in ../iocore/eventsystem/libinkevent.a(UnixEvent.o)
      /usr/include/x86_64-linux-gnu/bits/string3.h:52:(.text+0xfa): additional relocation overflows omitted from the output
      collect2: error: ld returned 1 exit status
      

      Full build log used in a clean build chroot attached. The very same build environment built 3.0.5 just fine less than a week ago.

      And yes, sorry, I know I should have tested when zwoop asked for votes before releasing 3.2 :/

      Attachments

        1. trafficserver_3.2.0-1_amd64.build
          68 kB
          Arno Toell
        2. trafficserver_3.2.0-1_amd64.verbose-build
          386 kB
          Arno Toell
        3. trafficserver_3.2.0-1_amd64.i386-build
          123 kB
          Arno Toell

        Issue Links

          Activity

            People

              jamespeach James Peach
              at Arno Toell
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: