Skip to content

Conversation

@randall
Copy link
Contributor

@randall randall commented Dec 16, 2021

This change reverts 43452ca (#7662) and fa8b3f9 (#7389) and fixes the
real issue, where Thread::set_specific was not a pure virtual function,
leading to link issues:

duplicate symbol 'vtable for Thread' in:
    ../iocore/eventsystem/libinkevent.a(Inline.o)
    ../iocore/eventsystem/libinkevent.a(Thread.o)
duplicate symbol 'typeinfo name for Thread' in:
    ../iocore/eventsystem/libinkevent.a(Inline.o)
    ../iocore/eventsystem/libinkevent.a(Thread.o)
duplicate symbol 'typeinfo for Thread' in:
    ../iocore/eventsystem/libinkevent.a(Inline.o)
    ../iocore/eventsystem/libinkevent.a(Thread.o)

This change reverts 43452ca (apache#7662) and fa8b3f9 (apache#7389) and fixes the
real issue, where Thread::set_specific was not a pure virtual function,
leading to link issues:

duplicate symbol 'vtable for Thread' in:
    ../iocore/eventsystem/libinkevent.a(Inline.o)
    ../iocore/eventsystem/libinkevent.a(Thread.o)
duplicate symbol 'typeinfo name for Thread' in:
    ../iocore/eventsystem/libinkevent.a(Inline.o)
    ../iocore/eventsystem/libinkevent.a(Thread.o)
duplicate symbol 'typeinfo for Thread' in:
    ../iocore/eventsystem/libinkevent.a(Inline.o)
    ../iocore/eventsystem/libinkevent.a(Thread.o)
@randall randall added Build work related to build configuration or environment macOS labels Dec 16, 2021
@randall randall added this to the 10.0.0 milestone Dec 16, 2021
@randall randall self-assigned this Dec 16, 2021
@randall randall requested a review from bryancall as a code owner December 16, 2021 00:13
@randall
Copy link
Contributor Author

randall commented Dec 16, 2021

This will partially fix #8554, but also requires a change from our release packager or a change to the brew upstream (and always running autoreconf -ifwith a set of modern autoconf tools)

@randall randall linked an issue Dec 16, 2021 that may be closed by this pull request
@bneradt
Copy link
Contributor

bneradt commented Dec 21, 2021

@ywkaras volunteered to take a look at this.

@ywkaras ywkaras requested review from ywkaras and removed request for bryancall December 21, 2021 00:07
@randall randall merged commit 35d50da into apache:master Dec 21, 2021
@randall randall deleted the fix_macos_arm_build_try_three branch December 21, 2021 04:19
@zwoop
Copy link
Contributor

zwoop commented Jan 5, 2022

Should we leave this out of 9.1.x, to be safe ?

zwoop pushed a commit that referenced this pull request Jan 5, 2022
This change reverts 43452ca (#7662) and fa8b3f9 (#7389) and fixes the
real issue, where Thread::set_specific was not a pure virtual function,
leading to link issues:

duplicate symbol 'vtable for Thread' in:
    ../iocore/eventsystem/libinkevent.a(Inline.o)
    ../iocore/eventsystem/libinkevent.a(Thread.o)
duplicate symbol 'typeinfo name for Thread' in:
    ../iocore/eventsystem/libinkevent.a(Inline.o)
    ../iocore/eventsystem/libinkevent.a(Thread.o)
duplicate symbol 'typeinfo for Thread' in:
    ../iocore/eventsystem/libinkevent.a(Inline.o)
    ../iocore/eventsystem/libinkevent.a(Thread.o)

(cherry picked from commit 35d50da)
@zwoop
Copy link
Contributor

zwoop commented Jan 5, 2022

Cherry-picked to v9.2.x

@zwoop zwoop modified the milestones: 10.0.0, 9.2.0 Jan 5, 2022
zwoop pushed a commit that referenced this pull request Feb 11, 2022
This change reverts 43452ca (#7662) and fa8b3f9 (#7389) and fixes the
real issue, where Thread::set_specific was not a pure virtual function,
leading to link issues:

duplicate symbol 'vtable for Thread' in:
    ../iocore/eventsystem/libinkevent.a(Inline.o)
    ../iocore/eventsystem/libinkevent.a(Thread.o)
duplicate symbol 'typeinfo name for Thread' in:
    ../iocore/eventsystem/libinkevent.a(Inline.o)
    ../iocore/eventsystem/libinkevent.a(Thread.o)
duplicate symbol 'typeinfo for Thread' in:
    ../iocore/eventsystem/libinkevent.a(Inline.o)
    ../iocore/eventsystem/libinkevent.a(Thread.o)

(cherry picked from commit 35d50da)
@zwoop
Copy link
Contributor

zwoop commented Feb 11, 2022

Cherry-picked to v9.1.x branch.

@zwoop zwoop modified the milestones: 9.2.0, 9.1.2 Feb 11, 2022
moonchen pushed a commit to moonchen/trafficserver that referenced this pull request Mar 17, 2022
* asf/9.2.x:
  Updated ChangeLog
  docs: fix fedora install notes and spelling issues (apache#8537)
  Docs: Fix default value of proxy.config.ssl.handshake_timeout_in (apache#8574)
  Partial of revert "Cleanup generated LDFLAGS for jemalloc (apache#8285)" (apache#8533)
  TSUserArg: add value type checking (apache#8550)
  Relax key validation of sni.yaml (apache#8549)
  Clear random header value by AIO read error (apache#8559)
  Fixes macOS arm64 builds (again) (apache#8556)
  Traffic Dump: Use the correct transaction user index (apache#8548)
  combo_handler: Initialize User Arg Index in TSRemapInit (apache#8551)
  backout down parent retry limiting in parent selection and nexthop (apache#8546)
Scrumplex added a commit to Scrumplex/nixpkgs that referenced this pull request Dec 2, 2024
This fixes the build on macOS 11

Upstream recommends always running autoreconf:
apache/trafficserver#8556 (comment)

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
getchoo pushed a commit to NixOS/nixpkgs that referenced this pull request Dec 8, 2024
* trafficserver: 9.2.5 -> 9.2.7

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>

* trafficserver: auto reconfigure broken configure script

This fixes the build on macOS 11

Upstream recommends always running autoreconf:
apache/trafficserver#8556 (comment)

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>

* trafficserver: remove unneeded substitutes

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>

---------

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
nixpkgs-ci bot pushed a commit to NixOS/nixpkgs that referenced this pull request Dec 8, 2024
* trafficserver: 9.2.5 -> 9.2.7

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>

* trafficserver: auto reconfigure broken configure script

This fixes the build on macOS 11

Upstream recommends always running autoreconf:
apache/trafficserver#8556 (comment)

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>

* trafficserver: remove unneeded substitutes

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>

---------

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
(cherry picked from commit a65078f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Build work related to build configuration or environment macOS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

trafficserver 9.1.1 OSX build failure

4 participants