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

unicode * is toxic #4049

Merged
merged 2 commits into from
Nov 15, 2023
Merged

unicode * is toxic #4049

merged 2 commits into from
Nov 15, 2023

Conversation

mxcl
Copy link
Member

@mxcl mxcl commented Nov 12, 2023

No description provided.

@mxcl
Copy link
Member Author

mxcl commented Nov 13, 2023

failure is because LDFLAGS hasn't got our rpath in it. this is odd because we forcibly insert it with our cc shims

@jhheider
Copy link
Contributor

explicit gcc means no shims, right?

@jhheider
Copy link
Contributor

ohhh, right. rpath. grr.

@jhheider
Copy link
Contributor

good error: building for macOS-x86_64 but attempting to link with file built for macOS-x86_64

- -headerpad_max_install_names
linux/x86-64:
CFLAGS:
- -fPIC
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we add these in brewkit

@@ -40,8 +40,18 @@ build:
- --with-lz4
- --with-libxml
- --with-libxslt
LDFLAGS:
- -Wl,-rpath,{{pkgx.prefix}}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added to brewkit 0.55.1

@mxcl
Copy link
Member Author

mxcl commented Nov 15, 2023

@mxcl mxcl merged commit cc6e9e1 into main Nov 15, 2023
@mxcl mxcl deleted the postgres-unicode branch November 15, 2023 20:04
@mxcl
Copy link
Member Author

mxcl commented Nov 15, 2023

nice tricks. No clue how you figured that out!

@jhheider
Copy link
Contributor

it's always some set of the same tricks. i think tools get confused calling clang as gcc. though no one should.

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.

2 participants