Skip to contentSkip to conversation

New: compile fails in various packages with a odd message "error: impossible constraint in 'asm'"

Buildroot bugzilla at busybox.net 1 participant 12 messages Nov 17, 2010 – Feb 6, 2011

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=2839

Summary: compile fails in various packages with a odd message
"error: impossible constraint in 'asm'"
Product: buildroot
Version: 2009.11
Platform: PC
OS/Version: Linux
Status: NEW
Severity: blocker
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: sergio at sergiomb.no-ip.org
CC: buildroot at uclibc.org
Estimated Hours: 0.0

Created attachment 2677
--> https://bugs.busybox.net/attachment.cgi?id=2677
make libmad >& errors.txt

With buildroot git version , I got several packages which I got this odd errror

make libmad >& errors.txt

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 2839] compile fails in various packages with a odd message "error: impossible constraint in 'asm'"

https://bugs.busybox.net/show_bug.cgi?id=2839

--- Comment #1 from S?rgio <[email protected]> --- Created attachment 2683
--> https://bugs.busybox.net/attachment.cgi?id=2683
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,

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 2839] compile fails in various packages with a odd message "error: impossible constraint in 'asm'"

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2839

--- Comment #2 from S?rgio <[email protected]> --- Created attachment 2701
--> https://bugs.busybox.net/attachment.cgi?id=2701
same compile error for gmp

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#3 lore raw

[Buildroot] [Bug 2839] compile fails in various packages with a odd message "error: impossible constraint in 'asm'"

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2839

--- Comment #3 from S?rgio <[email protected]> --- Created attachment 2707
--> https://bugs.busybox.net/attachment.cgi?id=2707
dot config updated

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#4 lore raw

[Buildroot] [Bug 2839] compile fails in various packages with a odd message "error: impossible constraint in 'asm'"

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2839

--- Comment #4 from S?rgio <[email protected]> --- Created attachment 2713
--> https://bugs.busybox.net/attachment.cgi?id=2713
same compile error for libgcrypt

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#5 lore raw

[Buildroot] [Bug 2839] compile fails in various packages with a odd message "error: impossible constraint in 'asm'"

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2839

S?rgio <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

   Attachment #2683|0                           |1
        is obsolete|                            |
   Attachment #2701|0                           |1
        is obsolete|                            |

--- Comment #5 from S?rgio <[email protected]> --- Created attachment 2719
--> https://bugs.busybox.net/attachment.cgi?id=2719
completed compile log for gmp

Sorry for spam , I am sending complete logs instead just the errors on 2nd make.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#6 lore raw

[Buildroot] [Bug 2839] compile fails in various packages with a odd message "error: impossible constraint in 'asm'"

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2839

S?rgio <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

   Attachment #2713|0                           |1

is obsolete| |

--- Comment #6 from S?rgio <[email protected]> --- Created attachment 2725
--> https://bugs.busybox.net/attachment.cgi?id=2725
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

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#7 lore raw

[Buildroot] [Bug 2839] compile fails in various packages with a odd message "error: impossible constraint in 'asm'"

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2839

Gustavo Zacarias <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |gustavo at zacarias.com.ar

--- Comment #7 from Gustavo Zacarias <[email protected]> --- 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.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#8 lore raw

[Buildroot] [Bug 2839] compile fails in various packages with a odd message "error: impossible constraint in 'asm'"

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2839

S?rgio <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Severity|blocker |normal

--- Comment #8 from S?rgio <[email protected]> --- libmad is fixed with last git, great. For me, just libmad was blocker, so I change the bug importance to normal.

Thanks,

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#9 lore raw

[Buildroot] [Bug 2839] compile fails in various packages with a odd message "error: impossible constraint in 'asm'"

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2839

--- Comment #9 from S?rgio <[email protected]> --- (In reply to comment #7)

Quoted 10 lines

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.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#10 lore raw

[Buildroot] [Bug 2839] compile fails in various packages with a odd message "error: impossible constraint in 'asm'"

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2839

Gustavo Zacarias <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #10 from Gustavo Zacarias <[email protected]> --- Solved in git for gmp, libgcrypt and libmad.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#11 lore raw

[Buildroot] [Bug 2839] compile fails in various packages with a odd message "error: impossible constraint in 'asm'"

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2839

S?rgio <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |VERIFIED

--- Comment #11 from S?rgio <[email protected]> --- gmp, libgcrypt and libmad works here,
thanks,

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.