[MacPorts] #44626: libgcrypt @1.6.1_0: build fails with inline assembly errors

MacPorts noreply at macports.org
Tue Sep 2 10:26:47 PDT 2014


#44626: libgcrypt @1.6.1_0: build fails with inline assembly errors
-------------------------+--------------------------------
  Reporter:  lovatojs@…  |      Owner:  macports-tickets@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.1
Resolution:              |   Keywords:
      Port:  libgcrypt   |
-------------------------+--------------------------------

Comment (by jeremyhu@…):

 Also, clang-mp-2.9 through clang-mp-3.5 seem to be working fine as well on
 SL, tested like:
 {{{
 clang-mp-2.9 -DHAVE_CONFIG_H -I. -I.. -I../src -I../src
 -I/opt/local/include -I/opt/local/include -pipe -Os -std=gnu89 -fheinous-
 gnu-extensions -arch i386 -Wall -c rijndael.c  -fno-common -DPIC -o /tmp/o
 }}}

 Can you please attach preprocessed source?  Try the build that fails, then
 change to ${worksrcdir}/cipher and run:
 {{{
 /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../src -I../src
 -I/opt/local/include -I/opt/local/include -pipe -Os -std=gnu89 -fheinous-
 gnu-extensions -arch i386 -Wall -E rijndael.c  -fno-common -DPIC -o
 ~/Desktop/rijndael.pp.c
 }}}

 Then attach the rijndael.pp.c file that is created on your desktop.

-- 
Ticket URL: <https://trac.macports.org/ticket/44626#comment:11>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list