René's URL Explorer Experiment


Title: Undefined symbol on MacOS with strict linking · Issue #206 · RcppCore/RcppParallel · GitHub

Open Graph Title: Undefined symbol on MacOS with strict linking · Issue #206 · RcppCore/RcppParallel

X Title: Undefined symbol on MacOS with strict linking · Issue #206 · RcppCore/RcppParallel

Description: Compiling on MacOS without the -undefined dynamic_lookup linker flag reveals an undefined symbol. You can test this like so: sed -i.bak 's/-undefined dynamic_lookup//g' $(R RHOME)/etc/Makeconf And then installing from source will fail: *...

Open Graph Description: Compiling on MacOS without the -undefined dynamic_lookup linker flag reveals an undefined symbol. You can test this like so: sed -i.bak 's/-undefined dynamic_lookup//g' $(R RHOME)/etc/Makeconf And ...

X Description: Compiling on MacOS without the -undefined dynamic_lookup linker flag reveals an undefined symbol. You can test this like so: sed -i.bak 's/-undefined dynamic_lookup//g' $(R RHOME)/etc/Makec...

Opengraph URL: https://github.com/RcppCore/RcppParallel/issues/206

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Undefined symbol on MacOS with strict linking","articleBody":"Compiling on MacOS without the `-undefined dynamic_lookup` linker flag reveals an undefined symbol. You can test this like so:\r\n\r\n```sh\r\nsed -i.bak 's/-undefined dynamic_lookup//g' $(R RHOME)/etc/Makeconf\r\n```\r\n\r\nAnd then installing from source will fail:\r\n\r\n```\r\n** configured file: 'R/tbb-autodetected.R.in' =\u003e 'R/tbb-autodetected.R'\r\n  *** configured file: 'src/install.libs.R.in' =\u003e 'src/install.libs.R'\r\n  *** configured file: 'src/Makevars.in' =\u003e 'src/Makevars'\r\n  ** finished configure for package 'RcppParallel'\r\n  ** libs\r\n  using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’\r\n  using SDK: ‘’\r\n  (tbb) Building TBB using bundled sources ...\r\n  OS: macos\r\n  arch=intel64\r\n  compiler=clang\r\n  runtime=cc14.0.0_os12.7.2\r\n  tbb_build_prefix=macos_intel64_clang_cc14.0.0_os12.7.2\r\n  work_dir=/private/var/folders/qv/pdh5wsgn0lq3dp77zj602b5c0000gn/T/RtmpXzRtgl/R.INSTALL3d205139f0cb/RcppParallel/src/build/macos_intel64_clang_cc14.0.0_os12.7.2_release\r\n  (tbb) TBB compilation finished successfully.\r\n  clang++ -arch x86_64 -std=gnu++17 -I\"/Library/Frameworks/R.framework/Resources/include\" -DNDEBUG -I../inst/include  -I/opt/R/x86_64/include   -std=gnu++11 -DRCPP_PARALLEL_USE_TBB=1 -DTBB_SUPPRESS_DEPRECATED_MESSAGES=1 -fPIC  -falign-functions=64 -Wall -g -O2  -c init.cpp -o init.o\r\n  clang++ -arch x86_64 -std=gnu++17 -I\"/Library/Frameworks/R.framework/Resources/include\" -DNDEBUG -I../inst/include  -I/opt/R/x86_64/include   -std=gnu++11 -DRCPP_PARALLEL_USE_TBB=1 -DTBB_SUPPRESS_DEPRECATED_MESSAGES=1 -fPIC  -falign-functions=64 -Wall -g -O2  -c options.cpp -o options.o\r\n  clang++ -arch x86_64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/lib -o RcppParallel.so init.o options.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation\r\n  Undefined symbols for architecture x86_64:\r\n    \"tbb::interface7::internal::task_arena_base::internal_max_concurrency(tbb::interface7::task_arena const*)\", referenced from:\r\n        _defaultNumThreads in options.o\r\n  ld: symbol(s) not found for architecture x86_64\r\n  clang: error: linker command failed with exit code 1 (use -v to see invocation)\r\n  make: *** [RcppParallel.so] Error 1\r\n  ERROR: compilation failed for package ‘RcppParallel’\r\n```\r\n\r\nThis is important when cross compiling (for example on p3m), otherwise the resulting binary cannot be loaded.\r\n","author":{"url":"https://github.com/jeroen","@type":"Person","name":"jeroen"},"datePublished":"2024-01-02T17:31:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/206/RcppParallel/issues/206"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:5550f88f-6151-5c90-0c5e-8946fd6ab406
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC088:3BB2E8:11B6309:18B7D43:6970C940
html-safe-nonceb675854b3a14445e2b4559991fe179e9c54c3de602a2830e870cff7027770d05
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDg4OjNCQjJFODoxMUI2MzA5OjE4QjdENDM6Njk3MEM5NDAiLCJ2aXNpdG9yX2lkIjoiNDQ1MzY1MTg3MzkwNjM0NjMwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac822b5cfddcdc917bb7403ba446da4d52fec2d941d1e8a41389d0cb8416ae3474
hovercard-subject-tagissue:2062733169
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/RcppCore/RcppParallel/206/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9782d3c403ffdbc1d0366422d265a99519c35baa31d92a3dd6b4eb0085a19b49/RcppCore/RcppParallel/issues/206
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9782d3c403ffdbc1d0366422d265a99519c35baa31d92a3dd6b4eb0085a19b49/RcppCore/RcppParallel/issues/206
og:image:altCompiling on MacOS without the -undefined dynamic_lookup linker flag reveals an undefined symbol. You can test this like so: sed -i.bak 's/-undefined dynamic_lookup//g' $(R RHOME)/etc/Makeconf And ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejeroen
hostnamegithub.com
expected-hostnamegithub.com
None721764876e433c894814212f8100f6610f1dde78a987acc2e385d8be8e170e9c
turbo-cache-controlno-preview
go-importgithub.com/RcppCore/RcppParallel git https://github.com/RcppCore/RcppParallel.git
octolytics-dimension-user_id5811336
octolytics-dimension-user_loginRcppCore
octolytics-dimension-repository_id21576989
octolytics-dimension-repository_nwoRcppCore/RcppParallel
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id21576989
octolytics-dimension-repository_network_root_nwoRcppCore/RcppParallel
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release6ff3d08f4ee1c3f89ebedf4df8fc8fe851190294
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/RcppCore/RcppParallel/issues/206#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRcppCore%2FRcppParallel%2Fissues%2F206
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRcppCore%2FRcppParallel%2Fissues%2F206
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=RcppCore%2FRcppParallel
Reloadhttps://github.com/RcppCore/RcppParallel/issues/206
Reloadhttps://github.com/RcppCore/RcppParallel/issues/206
Reloadhttps://github.com/RcppCore/RcppParallel/issues/206
RcppCore https://github.com/RcppCore
RcppParallelhttps://github.com/RcppCore/RcppParallel
Notifications https://github.com/login?return_to=%2FRcppCore%2FRcppParallel
Fork 59 https://github.com/login?return_to=%2FRcppCore%2FRcppParallel
Star 176 https://github.com/login?return_to=%2FRcppCore%2FRcppParallel
Code https://github.com/RcppCore/RcppParallel
Issues 17 https://github.com/RcppCore/RcppParallel/issues
Pull requests 0 https://github.com/RcppCore/RcppParallel/pulls
Actions https://github.com/RcppCore/RcppParallel/actions
Projects 0 https://github.com/RcppCore/RcppParallel/projects
Wiki https://github.com/RcppCore/RcppParallel/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/RcppCore/RcppParallel/security
Please reload this pagehttps://github.com/RcppCore/RcppParallel/issues/206
Insights https://github.com/RcppCore/RcppParallel/pulse
Code https://github.com/RcppCore/RcppParallel
Issues https://github.com/RcppCore/RcppParallel/issues
Pull requests https://github.com/RcppCore/RcppParallel/pulls
Actions https://github.com/RcppCore/RcppParallel/actions
Projects https://github.com/RcppCore/RcppParallel/projects
Wiki https://github.com/RcppCore/RcppParallel/wiki
Security https://github.com/RcppCore/RcppParallel/security
Insights https://github.com/RcppCore/RcppParallel/pulse
New issuehttps://github.com/login?return_to=https://github.com/RcppCore/RcppParallel/issues/206
New issuehttps://github.com/login?return_to=https://github.com/RcppCore/RcppParallel/issues/206
#207https://github.com/RcppCore/RcppParallel/pull/207
Undefined symbol on MacOS with strict linkinghttps://github.com/RcppCore/RcppParallel/issues/206#top
#207https://github.com/RcppCore/RcppParallel/pull/207
https://github.com/jeroen
https://github.com/jeroen
jeroenhttps://github.com/jeroen
on Jan 2, 2024https://github.com/RcppCore/RcppParallel/issues/206#issue-2062733169
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.