Opened 9 years ago

Closed 9 years ago

#47658 closed defect (fixed)

blosc @1.6.1: error: #error SSE2 is not supported by the target architecture/platform and/or this compiler.

Reported by: zzanderr Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: powerpc Cc: ryandesign (Ryan Carsten Schmidt)
Port: blosc

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

This seems to be the same problem that was reported in ticket #45964, which was supposedly closed by r129889 and the upgrade to blosc @1.5.1, yet still appears with status "new" under the tickets for blosc: I am aware that I may be opening a duplicate.

I installed blosc with version 1.5.2_0 and did not experience any problems with upgrades through, and including, 1.6.0_0. All these versions were of the hdf5 variant.

Apparently, gcc-4.2 is trying to compile shuffle-sse2.c -- even though it is building for ppc. I find it curious that a "bugfix" upgrade would break in this way. I wish I new more about cmake, and could locate the source of the problem. For now, all I can offer is the build log...

Attachments (1)

blosc_main_log (42.0 KB) - added by zzanderr 9 years ago.

Download all attachments as: .zip

Change History (7)

Changed 9 years ago by zzanderr

Attachment: blosc_main_log added

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: stromnov@… removed
Description: modified (diff)
Keywords: powerpc added; blosc ppc sse2 removed
Owner: changed from macports-tickets@… to stromnov@…
Port: @1.6.1_0 removed
Summary: Upgrade to blosc @ 1.6.1 fails to build on PPC G4 with Leopard (10.5.8)blosc @1.6.1: error: #error SSE2 is not supported by the target architecture/platform and/or this compiler.

This seems to be the same problem that was reported in ticket #45964, which was supposedly closed by r129889 and the upgrade to blosc @1.5.1, yet still appears with status "new" under the tickets for blosc: I am aware that I may be opening a duplicate.

Looks like Andrew just forgot to close the ticket. I've closed it now. The problem you're now experiencing is a different one. I can look into it.

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Issue confirmed on my PowerBook G4 with Leopard. The ANNOUNCE file says new in 1.6.1 is:

Support for *runtime* detection of AVX2 and SSE2 SIMD instructions,
allowing running AVX2 capable c-blosc libraries to run on machines
with no AVX2 available (will use SSE2 instead).

You should report this problem to the developers of blosc so they can fix it.

comment:3 in reply to:  2 Changed 9 years ago by zzanderr

Replying to ryandesign@…:

Issue confirmed on my PowerBook G4 with Leopard. The ANNOUNCE file says new in 1.6.1 is:

Support for *runtime* detection of AVX2 and SSE2 SIMD instructions,
allowing running AVX2 capable c-blosc libraries to run on machines
with no AVX2 available (will use SSE2 instead).

You should report this problem to the developers of blosc so they can fix it.

Yeah, I read the ANNOUNCE file last night and puzzled over that very same entry. Anyway, I have reported the problem to the Blosc developers at github. Thanks for the link!

comment:4 Changed 9 years ago by zzanderr

Just to follow up...

I have upgraded blosc to the latest development build and it compiles without trouble. I think the problem will, therefore, be fixed by blosc @1.6.2, or whatever version is released next. Again, thanks for pointing me in the right direction.

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

And thank you for letting us know that the development version works. I see this fix is listed in their release notes for 1.6.2. We can probably easily backport the fix if they don't release 1.6.2 soon.

comment:6 in reply to:  5 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Replying to ryandesign@…:

We can probably easily backport the fix if they don't release 1.6.2 soon.

Committed this fix, and another fix needed for both PowerPC and i386 systems, in r136331.

Note: See TracTickets for help on using tickets.