Opened 12 months ago
Last modified 6 months ago
#71682 reopened defect
boost187: build fails for 10.10 and earlier: missing TARGET_OS_IOS
| Reported by: | mascguy (Christopher Nielsen) | Owned by: | mascguy (Christopher Nielsen) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.10.5 |
| Keywords: | Cc: | michaelld (Michael Dickens), BjarneDMat | |
| Port: | boost187 |
Description
Use of legacysupport is probably the way to go, as there are also several missing identifiers for 10.7 and earlier.
Change History (5)
comment:1 Changed 12 months ago by Christopher Nielsen <mascguy@…>
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
comment:2 Changed 12 months ago by mascguy (Christopher Nielsen)
| Resolution: | fixed |
|---|---|
| Status: | closed → reopened |
Ah, it looks like the bootstrap process - which builds engine b2 - may not be respecting ld-related flags. This results in undefined symbols for items provided by legacysupport, including clock_gettime.
Should be fairly simple to patch though.
comment:3 Changed 12 months ago by barracuda156
Yeah, it fails now:
> g++ -x c++ -std=c++11 -pthread -O2 -s -DNDEBUG bindjam.cpp builtins.cpp class.cpp command.cpp compile.cpp constants.cpp cwd.cpp debug.cpp debugger.cpp events.cpp execcmd.cpp execnt.cpp execunix.cpp filent.cpp filesys.cpp fileunix.cpp frames.cpp function.cpp glob.cpp hash.cpp hcache.cpp hdrmacro.cpp headers.cpp jam_strings.cpp jam.cpp jamgram.cpp lists.cpp make.cpp make1.cpp md5.cpp mem.cpp modules.cpp native.cpp option.cpp output.cpp parse.cpp pathnt.cpp pathsys.cpp pathunix.cpp regexp.cpp rules.cpp scan.cpp search.cpp startup.cpp tasks.cpp timestamp.cpp value.cpp variable.cpp w32_getreg.cpp mod_command_db.cpp mod_db.cpp mod_jam_builtin.cpp mod_jam_class.cpp mod_jam_errors.cpp mod_jam_modules.cpp mod_order.cpp mod_path.cpp mod_property_set.cpp mod_regex.cpp mod_sequence.cpp mod_set.cpp mod_string.cpp mod_summary.cpp mod_sysinfo.cpp mod_version.cpp -o b2
ld: warning: option -s is obsolete and being ignored
Undefined symbols:
"_clock_gettime", referenced from:
__Z17timestamp_currentP9timestamp in ccr6sh1A.o
ld: symbol(s) not found
collect2: error: ld returned 1 exit status
Failed to build B2 build engine
comment:5 Changed 6 months ago by BjarneDMat
| Cc: | BjarneDMat added |
|---|
Note: See
TracTickets for help on using
tickets.

In 738b5e689ee6cb7d1dc2480d73c2853937ffef39/macports-ports (master):