Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub: Fix cross-builds #531

Closed
wants to merge 1 commit into from

Conversation

jlduran
Copy link
Contributor

@jlduran jlduran commented Aug 30, 2021

It's time to bother (bi-weekly) @arichardson for GitHub cross-builds, sorry.

This is more an FYI than an actual PR, but this is what I did:

Add __is_aligned definition to cross-build's sys/cdefs.h

This was introduced in 4e5d32a.

PS: I did not want to hinder @DimitryAndric warning-silencing spree, that's why I decided to wait a while to submit.

@DimitryAndric
Copy link
Member

Ah, I wasn't aware of this compat header. Should be no problem to commit this.

@arichardson
Copy link
Contributor

Seems reasonable although maybe we should just copy-paste all the alignment macros from cdefs here.

Add alignment macros to cross-build's sys/cdefs.h
@bsdimp
Copy link
Member

bsdimp commented Aug 31, 2021

I wonder if there's not some way that we could bring in the latest sys/cdefs.h entirely, or have a common subset we can share. cdefs.h is in need of a good scrubbing and I'd hate to have to do that multiple places...
Not for this commit, but for future work maybe?

freebsd-git pushed a commit that referenced this pull request Sep 7, 2021
Add alignment macros to cross-build's sys/cdefs.h

Pull Request:	#531
MFC after:	immediately (build fix)
freebsd-git pushed a commit that referenced this pull request Sep 7, 2021
Add alignment macros to cross-build's sys/cdefs.h

Pull Request:	#531
MFC after:	immediately (build fix)

(cherry picked from commit 94d9439)
@arichardson
Copy link
Contributor

Merged in 94d9439, but I don't seem to have permissions to mark this PR as closed.

@jlduran
Copy link
Contributor Author

jlduran commented Sep 7, 2021

Thank you!

I don't seem to have permissions to mark this PR as closed

I think it’s because you are not a member of FreeBSD on GitHub 🙃.

@jlduran jlduran closed this Sep 7, 2021
@jlduran jlduran deleted the fix-github-crossbuilds branch September 7, 2021 15:42
arichardson pushed a commit to arichardson/cheribsd that referenced this pull request Sep 15, 2021
Add alignment macros to cross-build's sys/cdefs.h

Pull Request:	freebsd/freebsd-src#531
MFC after:	immediately (build fix)

(cherry picked from commit 94d9439)
arichardson pushed a commit to CTSRD-CHERI/cheribsd that referenced this pull request Sep 15, 2021
Add alignment macros to cross-build's sys/cdefs.h

Pull Request:	freebsd/freebsd-src#531
MFC after:	immediately (build fix)

(cherry picked from commit 94d9439)
arichardson pushed a commit to CTSRD-CHERI/cheribsd that referenced this pull request Sep 24, 2021
Add alignment macros to cross-build's sys/cdefs.h

Pull Request:	freebsd/freebsd-src#531
MFC after:	immediately (build fix)

(cherry picked from commit 94d9439)
arichardson pushed a commit to CTSRD-CHERI/cheribsd that referenced this pull request Sep 28, 2021
Add alignment macros to cross-build's sys/cdefs.h

Pull Request:	freebsd/freebsd-src#531
MFC after:	immediately (build fix)

(cherry picked from commit 94d9439)
bsdjhb pushed a commit to bsdjhb/cheribsd that referenced this pull request Dec 30, 2021
Add alignment macros to cross-build's sys/cdefs.h

Pull Request:	freebsd/freebsd-src#531
MFC after:	immediately (build fix)
@emaste emaste added the merged label Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
5 participants