| Summary: | build failure on amd64 due to unresolveable __GI___chk_fail symbol | ||
|---|---|---|---|
| Product: | uClibc | Reporter: | William Pitcock <nenolod> |
| Component: | Other | Assignee: | Carmelo Amoroso <carmelo.amoroso> |
| Status: | ASSIGNED --- | ||
| Severity: | minor | CC: | ncopa, nenolod, uclibc-cvs |
| Priority: | P5 | ||
| Version: | 0.9.32 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: |
entirely lame method of fixing this bug
same method applied to libpthread... use libc_hidden_proto / libc_hidden_def same for nptl |
||
|
Description
William Pitcock
2010-10-17 19:58:14 UTC
Created attachment 2617 [details]
entirely lame method of fixing this bug
Created attachment 2623 [details]
same method applied to libpthread...
Hi William, both patches look fine, but I'm wondering if it should be better to add the alias using libc_hidden_proto / libc_hidden_def. Currently on uClibc only x86_64 has the _chk version of string functions, but in the future it could be extended to other arch as well. hi carmelo! i agree that the solution you propose is better. unfortunately, we wanted to make x86_64 a release goal for alpine and getting that going early on in the development process was a goal of mine, so i just took the hacktastic way of doing it and got out my sledgehammer. if you want, i'll take a look at creating a patch that does it this way this weekend. Created attachment 3127 [details]
use libc_hidden_proto / libc_hidden_def
following patch uses libc_hidden_proto and is a git format signed-off patch that can just be git am'd.
i'll also send this to the list by hand.
Created attachment 3133 [details]
same for nptl
this patch makes nptl match the behaviour as seen on sh, using the GETOFF macro.
nptl is working with this patch on x86_64 by the way.
Thanks William, I'll manage to include them. Just FYI. I got this error with libuClibc-0.9.31, when I use as target x86_64, generic or core2. I back to libuClibc-0.9.30. (In reply to comment #8) > Just FYI. > I got this error with libuClibc-0.9.31, when I use as target x86_64, generic or > core2. Hi, seems this is fixed on 0.9.32-rc3. Sorry I made a little confusion. I hit this problem using builroot-2011.02, and as I had report, with buildroot git version and toolchain with uClibc0.9.32-rc3 this bug is fixed. thanks, |