Title: A static build does not include the http parser symbols · Issue #4336 · libgit2/libgit2 · GitHub
Open Graph Title: A static build does not include the http parser symbols · Issue #4336 · libgit2/libgit2
X Title: A static build does not include the http parser symbols · Issue #4336 · libgit2/libgit2
Description: Reproduction steps cmake . -DUSE_EXT_HTTP_PARSER=OFF -DBUILD_SHARED_LIBS=OFF Expected behavior libgit2.a should have the http-parser symbols. This does happen with the dynamic build % nm libgit2.so | grep http_parser 00000000000e86bb t h...
Open Graph Description: Reproduction steps cmake . -DUSE_EXT_HTTP_PARSER=OFF -DBUILD_SHARED_LIBS=OFF Expected behavior libgit2.a should have the http-parser symbols. This does happen with the dynamic build % nm libgit2.so...
X Description: Reproduction steps cmake . -DUSE_EXT_HTTP_PARSER=OFF -DBUILD_SHARED_LIBS=OFF Expected behavior libgit2.a should have the http-parser symbols. This does happen with the dynamic build % nm libgit2.so...
Opengraph URL: https://github.com/libgit2/libgit2/issues/4336
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"A static build does not include the http parser symbols","articleBody":"### Reproduction steps\r\n\r\n`cmake . -DUSE_EXT_HTTP_PARSER=OFF -DBUILD_SHARED_LIBS=OFF`\r\n\r\n### Expected behavior\r\n\r\n`libgit2.a` should have the http-parser symbols. This does happen with the dynamic build\r\n\r\n```\r\n% nm libgit2.so | grep http_parser\r\n00000000000e86bb t http_parser_execute\r\n00000000000eb956 t http_parser_init\r\n00000000000ebe5b t http_parser_parse_url\r\n00000000000ec09f t http_parser_pause\r\n```\r\n\r\n### Actual behavior\r\n\r\nThe symbols are undefined.\r\n\r\n```\r\n% nm libgit2.a | grep http_parser \r\n U http_parser_parse_url\r\n U http_parser_execute\r\n U http_parser_init\r\n```\r\n\r\n### Version of libgit2 (release number or SHA1)\r\n\r\nCurrent master aka 3c21645360\r\n\r\n### Operating system(s) tested\r\n\r\nUbuntu Trusty (in Travis, where I discovered this) and Debian Sid.","author":{"url":"https://github.com/carlosmn","@type":"Person","name":"carlosmn"},"datePublished":"2017-09-03T15:56:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/4336/libgit2/issues/4336"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:dd87da71-3fc4-aea2-4f2e-b925cebe2424 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C0E6:22AFD6:A4DF986:DE7C3F3:6A5EA409 |
| html-safe-nonce | b3f1be76400c3ac42aeb76bce9080e8a541c304e7cfbf44547636cb7011ffc48 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMEU2OjIyQUZENjpBNERGOTg2OkRFN0MzRjM6NkE1RUE0MDkiLCJ2aXNpdG9yX2lkIjoiNDE0ODY0MDk3ODk0MDM3MTk3NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 11528d18ecc57817932c3f5c8666e9e10327d059f50a433126279e4601b341bf |
| hovercard-subject-tag | issue:254883090 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/libgit2/libgit2/4336/issue_layout |
| twitter:image | https://opengraph.githubassets.com/64feab9b5a8139ca72d360acf9bd06ab75e108e90c6b50ae955804bad28977d3/libgit2/libgit2/issues/4336 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/64feab9b5a8139ca72d360acf9bd06ab75e108e90c6b50ae955804bad28977d3/libgit2/libgit2/issues/4336 |
| og:image:alt | Reproduction steps cmake . -DUSE_EXT_HTTP_PARSER=OFF -DBUILD_SHARED_LIBS=OFF Expected behavior libgit2.a should have the http-parser symbols. This does happen with the dynamic build % nm libgit2.so... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | carlosmn |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7c7e31acb6a895494e518b880f5ccf39604f7fa9a8f2f3c64145efc3b776256d |
| turbo-cache-control | no-preview |
| go-import | github.com/libgit2/libgit2 git https://github.com/libgit2/libgit2.git |
| octolytics-dimension-user_id | 394745 |
| octolytics-dimension-user_login | libgit2 |
| octolytics-dimension-repository_id | 901662 |
| octolytics-dimension-repository_nwo | libgit2/libgit2 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 901662 |
| octolytics-dimension-repository_network_root_nwo | libgit2/libgit2 |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2d2ac9bdd71d5f53f2b731c9330677e38624e301 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width