Ticket #11 (closed defect: worksforme)

Opened 3 years ago

Last modified 2 years ago

gcc4 build failure

Reported by: ville.skytta@… Owned by: devel
Priority: normal Milestone: 0.10.0
Component: opensc Version: 0.9.5
Severity: normal Keywords:
Cc:

Description

Building OpenSC 0.9.6 with GCC4 fails with an invalid lvalue error. Possible fix attached, at least it allows the compilation to finish successfully.

By the way, 0.9.6 is missing from Trac's "version" drop-down box.

Attachments

opensc-lvalue.patch (419 bytes) - added by ville.skytta@… 3 years ago.
Uglyish build fix for gcc4

Change History

Changed 3 years ago by ville.skytta@…

Uglyish build fix for gcc4

Changed 3 years ago by anonymous

AFAIK this has been fixed in trunk. If not - doesn't matter. Whoever uses gcc4 can also use the snapshot to compile whatever needed (IIRC gcc4 was released a few days ago..)

Changed 3 years ago by ville.skytta@…

  • status changed from new to closed
  • resolution set to worksforme

Oh, well. You're right, and I don't know what I was thinking here. Like the headers in the patch say, I seem to actually have extracted it from trunk. Why I submitted it here totally beats me.

gcc4 will be the default compiler of a few soon coming distros, so you may get reports of this error a few times unless there's a release out that has it fixed...

Changed 3 years ago by martin

I hope we can get a RC out this summer that would be already based on trunk ?:)

As this given issue is in the pam area of opensc, you might want to take a look at pam_pkcs11. It would not hurt in longer run to split up opensc to two different packages - opensc and opensc-extras. Opensc would contain the core of opensc - access enablers such as pkcs11 module and openssl engines and initialization utilities and other utilities while opensc-extras would bundle everything else such as pam module(s), signers, application enablers (openssh etc) and so on.

Changed 3 years ago by anonymous

Note: See TracTickets for help on using tickets.