| Summary: | compile fails in various packages with a odd message "error: impossible constraint in 'asm'" | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Sérgio <sergio> |
| Component: | Other | Assignee: | unassigned |
| Status: | VERIFIED FIXED | ||
| Severity: | normal | CC: | buildroot, gustavo |
| Priority: | P5 | ||
| Version: | 2009.11 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: |
make libmad >& errors.txt
dot config of this case same compile error for gmp dot config updated same compile error for libgcrypt completed compile log for gmp completed compile log for libgcrypt |
||
Created attachment 2683 [details]
dot config of this case
after compile gcc or on first error :
edit
/home/sergio/hardware/moviecube/buildroot/output/staging/usr/include/bits/wordsize.h
and change _MIPS_SZPTR by 32
which is the correct value.
BTW I Had compile all this with buildroot-2010.08
Thanks,
Created attachment 2701 [details]
same compile error for gmp
Created attachment 2707 [details]
dot config updated
Created attachment 2713 [details]
same compile error for libgcrypt
Created attachment 2719 [details]
completed compile log for gmp
Sorry for spam , I am sending complete logs instead just the errors on 2nd make.
Created attachment 2725 [details]
completed compile log for libgcrypt
Again sorry about spam.
I am sending complete logs instead just the errors on 2nd
make.
Hope don't mistakes this time
Try using gcc 4.3.x instead of the (experimental) 4.5.x, this will probably fix most of your constraint issues. Since gcc 4.4+ MIPS became more sensitive to some optimizations thus breaking some source code. libmad is fixed in git. libgcrypt will probably be fixed soon (fixed in my tree GMP will have to wait IMHO since it's pretty tied up to the internal toolchain. I've got a fix for it but don't expect it to ship for the 2010.11 release since it's part of an internal toolchain revamp. libmad is fixed with last git, great. For me, just libmad was blocker, so I change the bug importance to normal. Thanks, (In reply to comment #7) > Try using gcc 4.3.x instead of the (experimental) 4.5.x, this will probably fix > most of your constraint issues. > Since gcc 4.4+ MIPS became more sensitive to some optimizations thus breaking > some source code. > > libmad is fixed in git. > libgcrypt will probably be fixed soon (fixed in my tree > GMP will have to wait IMHO since it's pretty tied up to the internal toolchain. > I've got a fix for it but don't expect it to ship for the 2010.11 release since > it's part of an internal toolchain revamp. After back to gcc 4.3 and with lastest git I had also compile libgcrypt and GMP. so may be we can close the bug has fixed. Solved in git for gmp, libgcrypt and libmad. gmp, libgcrypt and libmad works here, thanks, |
Created attachment 2677 [details] make libmad >& errors.txt With buildroot git version , I got several packages which I got this odd errror make libmad >& errors.txt