Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#34671 closed update (fixed)

libpixman, libpixman-devel: error in backend: Unsupported asm: input constraint with a matching output constraint of incompatible type!

Reported by: olmanolman Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: clang Cc: su-v, dmirkitanov@…, ctdung258@…, rob@…, nelson.ferreira@…, robert@…, domiman@…, diekhans (Mark Diekhans), larryv (Lawrence Velázquez), SlaunchaMan (Jeff Kelley), george@…, cmconnelly (Claire Connelly), phil.fuse@…, turk.brandon@…, McBeath@…, codywohlers@…
Port: libpixman, libpixman-devel

Description

sh-3.2# cat /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libpixman/libpixman/main.log
version:1
:debug:main Checking for conflicts against libpixman
:debug:main Searching for dependency: libpixman-devel
:debug:main Didn't find receipt, going to depspec regex for: libpixman-devel
:debug:main Executing org.macports.main (libpixman)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:main Skipping completed org.macports.archivefetch (libpixman)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (libpixman)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (libpixman)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (libpixman)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (libpixman)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (libpixman)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Wed May 30 13:11:11 CEST 2012
:notice:build --->  Building libpixman
:debug:build Executing org.macports.build (libpixman)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libpixman/libpixman/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libpixman/libpixman/work/pixman-0.26.0" && /usr/bin/make -j7 -w all V=1'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libpixman/libpixman/work/pixman-0.26.0" && /usr/bin/make -j7 -w all V=1 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libpixman/libpixman/work/pixman-0.26.0'
:info:build /usr/bin/make  all-recursive
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libpixman/libpixman/work/pixman-0.26.0'
:info:build Making all in pixman
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libpixman/libpixman/work/pixman-0.26.0/pixman'
:info:build /usr/bin/make  all-am
:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libpixman/libpixman/work/pixman-0.26.0/pixman'
:info:build /bin/sh ../libtool  --tag=CC   --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I..   -I/opt/local/include  -mmmx -Winline -pipe -O2 -arch x86_64 -Wall -fno-strict-aliasing -fvisibility=hidden -MT libpixman_mmx_la-pixman-mmx.lo -MD -MP -MF .deps/libpixman_mmx_la-pixman-mmx.Tpo -c -o libpixman_mmx_la-pixman-mmx.lo `test -f 'pixman-mmx.c' || echo './'`pixman-mmx.c
:info:build libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -mmmx -Winline -pipe -O2 -arch x86_64 -Wall -fno-strict-aliasing -fvisibility=hidden -MT libpixman_mmx_la-pixman-mmx.lo -MD -MP -MF .deps/libpixman_mmx_la-pixman-mmx.Tpo -c pixman-mmx.c  -fno-common -DPIC -o .libs/libpixman_mmx_la-pixman-mmx.o
:info:build pixman-mmx.c:70:71: warning: unknown attribute '__artificial__' ignored [-Wattributes]
:info:build extern __inline int __attribute__((__gnu_inline__, __always_inline__, __artificial__))
:info:build                                                                       ^
:info:build pixman-mmx.c:83:73: warning: unknown attribute '__artificial__' ignored [-Wattributes]
:info:build extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
:info:build                                                                         ^
:info:build pixman-mmx.c:94:73: warning: unknown attribute '__artificial__' ignored [-Wattributes]
:info:build extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
:info:build                                                                         ^
:info:build fatal error: error in backend: Unsupported asm: input constraint with a matching output constraint of incompatible type!
:info:build make[3]: *** [libpixman_mmx_la-pixman-mmx.lo] Error 1
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libpixman/libpixman/work/pixman-0.26.0/pixman'
:info:build make[2]: *** [all] Error 2
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libpixman/libpixman/work/pixman-0.26.0/pixman'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libpixman/libpixman/work/pixman-0.26.0'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libpixman/libpixman/work/pixman-0.26.0'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libpixman/libpixman/work/pixman-0.26.0" && /usr/bin/make -j7 -w all V=1 
:info:build Exit code: 2
:error:build org.macports.build for port libpixman returned: command execution failed
:debug:build Error code: CHILDSTATUS 6918 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: targets not executed for libpixman: org.macports.install org.macports.build org.macports.destroot
:notice:build Please see the log file for port libpixman for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libpixman/libpixman/main.log
sh-3.2#

Change History (21)

comment:1 Changed 12 years ago by su-v

Cc: suv-sf@… added

Cc Me!

comment:2 Changed 12 years ago by su-v

libpixman 2.26.0 fails to build (from source) on up-to-date OS X 10.7.4 Lion with Xcode 4.3.2.

$ xcodebuild -version
Xcode 4.3.2
Build version 4E2002 
$ which clang 
/usr/bin/clang
$ clang --version
Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin11.4.0
Thread model: posix

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: clang added
Owner: changed from macports-tickets@… to ryandesign@…
Port: libpixman libpixman-devel added
Summary: port upgrade outdated (libpixman)libpixman, libpixman-devel: error in backend: Unsupported asm: input constraint with a matching output constraint of incompatible type!

I'm asking the pixman developers for assistance with this: http://lists.freedesktop.org/archives/pixman/2012-May/001992.html

comment:4 Changed 12 years ago by dmirkitanov@…

Cc: dmirkitanov@… added

Cc Me!

comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ctdung258@… added

Has duplicate #34676.

comment:6 Changed 12 years ago by rob@…

Cc: rob@… added

Cc Me!

comment:7 Changed 12 years ago by nelson.ferreira@…

Cc: nelson.ferreira@… added

Cc Me!

comment:8 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: robert@… added

Has duplicate #34677.

comment:9 Changed 12 years ago by domiman@…

Cc: domiman@… added

Cc Me!

comment:10 Changed 12 years ago by diekhans (Mark Diekhans)

Cc: markd@… added

Cc Me!

comment:11 Changed 12 years ago by larryv (Lawrence Velázquez)

Cc: larry.velazquez@… added

Cc Me!

comment:12 Changed 12 years ago by McBeath@…

The issue can be easily resolved by disabling mmx in the Portfiles configure options.

diff Portfile Portfile.patched 
41c41,42
<                         --disable-libpng
---
>                         --disable-libpng \
> 			--disable-mmx

comment:13 Changed 12 years ago by SlaunchaMan (Jeff Kelley)

Cc: SlaunchaMan@… added

Cc Me!

comment:14 Changed 12 years ago by george@…

Cc: george@… added

Cc Me!

comment:15 in reply to:  12 Changed 12 years ago by McBeath@…

Replying to McBeath@…:

The issue can be easily resolved by disabling mmx in the Portfiles configure options.

diff Portfile Portfile.patched 
41c41,42
<                         --disable-libpng
---
>                         --disable-libpng \
> 			    --disable-mmx

More Information can be found here: http://lists.x.org/archives/xorg-commit/2012-February/031407.html

comment:16 Changed 12 years ago by cmconnelly (Claire Connelly)

Cc: cmc@… added

Cc Me!

comment:17 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: phil.fuse@… added

Has duplicate #34691.

comment:18 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: turk.brandon@… McBeath@… added

Has duplicate #34694.

comment:19 in reply to:  12 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Replying to McBeath@…:

The issue can be easily resolved by disabling mmx in the Portfiles configure options.

I was hesitant to do this because I thought it would decrease performance, but the developer confirms that mmx won't help Macs anyway. So this should now be fixed in r93777.

Wait 30 minutes, then run "sudo port clean libpixman" and "sudo port selfupdate", then try again.

comment:20 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Has duplicates #34699 and #34700.

comment:21 Changed 12 years ago by codywohlers@…

Cc: codywohlers@… added

Cc Me!

Note: See TracTickets for help on using tickets.