#67371 closed defect (fixed)

openlibm fails to build on 10.6.8 Rosetta: s_fpclassify.c: error: storage size of ‘u’ isn’t known

Reported by: barracuda156 Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: powerpc, snowleopard, rosetta Cc:
Port: openlibm

Description

/usr/bin/gcc-4.2 -I/opt/local/include -O3 -arch ppc -fno-gnu89-inline -fno-builtin -fPIC  -std=c99 -Wall -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_openlibm/openlibm/work/openlibm-0.8.1 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_openlibm/openlibm/work/openlibm-0.8.1/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_openlibm/openlibm/work/openlibm-0.8.1/powerpc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_openlibm/openlibm/work/openlibm-0.8.1/src -DASSEMBLER -D__BSD_VISIBLE -Wno-implicit-function-declaration -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_openlibm/openlibm/work/openlibm-0.8.1/ld80 -c src/s_ilogb.c -o src/s_ilogb.c.o
src/s_fpclassify.c: In function ‘__fpclassifyl’:
src/s_fpclassify.c:79: error: storage size of ‘u’ isn’t known
src/s_fpclassify.c:79: warning: unused variable ‘u’
make: *** [src/s_fpclassify.c.o] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_openlibm/openlibm/work/openlibm-0.8.1'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_openlibm/openlibm/work/openlibm-0.8.1" && /usr/bin/make -j6 -w all CC="/usr/bin/gcc-4.2" CPPFLAGS="-I/opt/local/include" CFLAGS="-O3 -arch ppc" LDFLAGS="-L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc" prefix=/opt/local ARCH=ppc USECLANG=0 USEGCC=1 
Exit code: 2

Attachments (1)

openlibm_log.txt (98.3 KB) - added by barracuda156 19 months ago.

Download all attachments as: .zip

Change History (4)

Changed 19 months ago by barracuda156

Attachment: openlibm_log.txt added

comment:2 Changed 19 months ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

There is an upstream pull request that attempts to solve the problem.

comment:3 Changed 19 months ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: assignedclosed

In 8924eabffff62cffbd6086d87cb95b3dd3568094/macports-ports (master):

openlibm: allow build on PowerPC machines

Fixes #67371

Note: See TracTickets for help on using tickets.