Opened 10 years ago

Closed 10 years ago

#45197 closed defect (fixed)

php54, php55, php56: Undefined symbols when building with gcc

Reported by: pafontai (Patrice Fontaine) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc:
Port: php54, php55, php56

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hello,

I've just tried to upgrade to the new version of php54 (php5.4.32 to php5.4.33). The build fails whis this error :

:info:build Undefined symbols:
:info:build   "___extendsddf", referenced from:
:info:build       _ps_fetch_float in mysqlnd_ps_codec.o
:info:build   "___extendsfsd", referenced from:
:info:build       _ps_fetch_float in mysqlnd_ps_codec.o

It looks like this one : https://forums.freebsd.org/viewtopic.php?f=5&t=48084

I'm joining the log file.

My config:
Powerbook G4
Leopard 1.5.8
ccache build

I'm trying to deactivate ccache, clean php54 and retry a build.

Regards,
Patrice Fontaine

Attachments (1)

main.log (615.6 KB) - added by pafontai (Patrice Fontaine) 10 years ago.

Download all attachments as: .zip

Change History (9)

Changed 10 years ago by pafontai (Patrice Fontaine)

Attachment: main.log added

comment:1 Changed 10 years ago by pafontai (Patrice Fontaine)

Same result after a clean and deactivation of ccache

comment:2 Changed 10 years ago by ctreleaven (Craig Treleaven)

I had the same error this afternoon while trying to upgrade php54 on my MBP 2011, OS X 10.6.8 so I don't think it is a PPC-only issue.

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

Description: modified (diff)
Keywords: php5.4.33 removed

comment:4 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Port: php55 added
Status: newassigned
Summary: Undefined symbol when upgrading from php5.4.32 to php5.4.33php54, php55: Undefined symbols when building with gcc

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

I have reported the problem to the developers of php: https://bugs.php.net/bug.php?id=68114

comment:6 Changed 10 years ago by pafontai (Patrice Fontaine)

I've applied the workaround from the php team.

When removing the definition of HAVE_DECIMAL_FP_SUPPORT at the end of ext/mysqlnd/config9.m4 and cleaning the build terminates without any error.

I'm reaching the limit of my skills. I don't know the use of the this constant. In my mind, even my 32 bits powerbook G4 has a decimal floating point support.

comment:7 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Port: php56 added
Summary: php54, php55: Undefined symbols when building with gccphp54, php55, php56: Undefined symbols when building with gcc

php56 @5.6.1 is affected too.

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

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.