Skip to content

add -no-undefined to src/Makefile.am#85

Closed
hanetzer wants to merge 1 commit into
yaml:masterfrom
hanetzer:mingw-w64-fixes
Closed

add -no-undefined to src/Makefile.am#85
hanetzer wants to merge 1 commit into
yaml:masterfrom
hanetzer:mingw-w64-fixes

Conversation

@hanetzer
Copy link
Copy Markdown
Contributor

@hanetzer hanetzer commented Jan 5, 2018

Without this change building a dll with the mingw-w64 toolchain is
impossible. All tests from make test-all succeed on native linux
(Gentoo amd64 glibc default/linux/amd64/17.1/desktop gcc-7.2.0)

Signed-off-by: Marty E. Plummer hanetzer@protonmail.com

Without this change building a dll with the mingw-w64 toolchain is
impossible. All tests from make test-all succeed on native linux
(Gentoo amd64 glibc default/linux/amd64/17.1/desktop gcc-7.2.0)

Signed-off-by: Marty E. Plummer <hanetzer@protonmail.com>
hanetzer added a commit to hanetzer/gentoo that referenced this pull request Jan 5, 2018
includes the following patches:

yaml/libyaml@119b7b6
yaml/libyaml#85

Former is upstreamed, the latter is a pending pr. Without these changes
a shared library/dll cannot be created on mingw-w64. Latter patch is
applied also to the generated Makefile.in in order to prevent the need
for eautoreconf.

Package-Manager: Portage-2.3.19, Repoman-2.3.6
hanetzer added a commit to hanetzer/gentoo that referenced this pull request Jan 5, 2018
includes the following patches:

yaml/libyaml@119b7b6
yaml/libyaml#85

Former is upstreamed, the latter is a pending pr. Without these changes
a shared library/dll cannot be created on mingw-w64. Latter patch is
applied also to the generated Makefile.in in order to prevent the need
for eautoreconf.

Package-Manager: Portage-2.3.19, Repoman-2.3.6
hanetzer added a commit to hanetzer/gentoo that referenced this pull request Jan 5, 2018
includes the following patches:

yaml/libyaml@119b7b6
yaml/libyaml#85

Former is upstreamed, the latter is a pending pr. Without these changes
a shared library/dll cannot be created on mingw-w64. Latter patch is
applied also to the generated Makefile.in in order to prevent the need
for eautoreconf.

Package-Manager: Portage-2.3.19, Repoman-2.3.6
@ingydotnet
Copy link
Copy Markdown
Member

@sigmavirus24 I created #86 to fix this, then I rebased it into this PR and pushed branch https://github.com/yaml/libyaml/tree/issue-85-test-fix.

I'm not sure how to trigger a build of this on semaphore though. Do you know how?

@hanetzer
Copy link
Copy Markdown
Contributor Author

hanetzer commented Jan 5, 2018

@ingydotnet No clue personally, but I also wonder if you guys are doing mingw-w64 testing on ci? From what I can tell on the appveyor log it does a cygwin based build and not a pure windows/mingw-w64 on.

@sigmavirus24
Copy link
Copy Markdown
Contributor

I suspect closing and re-opening would trigger a new merged build.

@ingydotnet
Copy link
Copy Markdown
Member

ingydotnet commented Jan 6, 2018

@sigmavirus24 I got things working on semaphore https://semaphoreci.com/sigmavirus24/libyaml/branches/issue-85-test-fix/builds/3

but now travis is erroring #86

I'll try more tomorrow.

@ingydotnet
Copy link
Copy Markdown
Member

This is passing all CI tests now after rebasing in #86 PR. See:

@hanetzer after #85 is merged, rebase it into this PR please.

@sigmavirus24 ^^

@hanetzer
Copy link
Copy Markdown
Contributor Author

hanetzer commented Jan 7, 2018

@ingydotnet you mean, rebase #85 onto #86 once its merged?

@sigmavirus24
Copy link
Copy Markdown
Contributor

That truly is weird that we can't reopen this. I've only ever seen that when the source repository/branch no longer exist.

gentoo-bot pushed a commit to gentoo/gentoo that referenced this pull request Jan 8, 2018
includes the following patches:

yaml/libyaml@119b7b6
yaml/libyaml#85

Former is upstreamed, the latter is a pending PR. Without these changes a
shared library/dll cannot be created on mingw-w64. Latter patch is applied also
to the generated Makefile.in in order to prevent the need for eautoreconf.

Package-Manager: Portage-2.3.19, Repoman-2.3.6
Closes: #6752
janhenke pushed a commit to janhenke/gentoo that referenced this pull request Jan 8, 2018
includes the following patches:

yaml/libyaml@119b7b6
yaml/libyaml#85

Former is upstreamed, the latter is a pending PR. Without these changes a
shared library/dll cannot be created on mingw-w64. Latter patch is applied also
to the generated Makefile.in in order to prevent the need for eautoreconf.

Package-Manager: Portage-2.3.19, Repoman-2.3.6
Closes: gentoo#6752
oz123 pushed a commit to oz123/gentoo that referenced this pull request Jan 8, 2018
includes the following patches:

yaml/libyaml@119b7b6
yaml/libyaml#85

Former is upstreamed, the latter is a pending PR. Without these changes a
shared library/dll cannot be created on mingw-w64. Latter patch is applied also
to the generated Makefile.in in order to prevent the need for eautoreconf.

Package-Manager: Portage-2.3.19, Repoman-2.3.6
Closes: gentoo#6752
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants