Giter Site home page Giter Site logo

Comments (7)

jedisct1 avatar jedisct1 commented on July 17, 2024

Is that on i386 or amd64?

from libsodium.

jedisct1 avatar jedisct1 commented on July 17, 2024

I assume this is amd64.
Can you try lowering the optimization level?

env CFLAGS='-O' ./configure && make

from libsodium.

Asmod4n avatar Asmod4n commented on July 17, 2024

Yes its on x86_64, still crashes, but with a shorter error

>   CC     libsodium_la-smult_curve25519_donna_c64.lo
> crypto_scalarmult/curve25519/donna_c64/smult_curve25519_donna_c64.c: In function ‘crypto_scalarmult_curve25519’:
> crypto_scalarmult/curve25519/donna_c64/smult_curve25519_donna_c64.c:424: error: unrecognizable insn:
> (insn 10460 6929 10461 20 (parallel [
>             (set (reg:CC 17 flags)
>                 (unspec:CC [
>                         (reg:DI 4 si [orig:377 t$0.750 ] [377])
>                         (const_int 2251799813685229 [0x7ffffffffffed])
>                     ] 24))
>             (set (reg:DI 4 si [orig:376 t$0.751 ] [376])
>                 (plus:DI (reg:DI 4 si [orig:377 t$0.750 ] [377])
>                     (const_int 2251799813685229 [0x7ffffffffffed])))
>         ]) -1 (nil)
>     (nil))

On 06.09.2013, at 04:04, Frank Denis [email protected] wrote:

I assume this is amd64.
Can you try lowering the optimization level?

env CFLAGS='-O' ./configure && make


Reply to this email directly or view it on GitHub.

from libsodium.

jedisct1 avatar jedisct1 commented on July 17, 2024

How about -O0 ?

from libsodium.

Asmod4n avatar Asmod4n commented on July 17, 2024

Compiled \o/

thanks for the Help

On 06.09.2013, at 05:28, Hendrik Beskow [email protected] wrote:

Yes its on x86_64, still crashes, but with a shorter error

>  CC     libsodium_la-smult_curve25519_donna_c64.lo
> crypto_scalarmult/curve25519/donna_c64/smult_curve25519_donna_c64.c: In function ‘crypto_scalarmult_curve25519’:
> crypto_scalarmult/curve25519/donna_c64/smult_curve25519_donna_c64.c:424: error: unrecognizable insn:
> (insn 10460 6929 10461 20 (parallel [
>            (set (reg:CC 17 flags)
>                (unspec:CC [
>                        (reg:DI 4 si [orig:377 t$0.750 ] [377])
>                        (const_int 2251799813685229 [0x7ffffffffffed])
>                    ] 24))
>            (set (reg:DI 4 si [orig:376 t$0.751 ] [376])
>                (plus:DI (reg:DI 4 si [orig:377 t$0.750 ] [377])
>                    (const_int 2251799813685229 [0x7ffffffffffed])))
>        ]) -1 (nil)
>    (nil))

On 06.09.2013, at 04:04, Frank Denis [email protected] wrote:

I assume this is amd64.
Can you try lowering the optimization level?

env CFLAGS='-O' ./configure && make


Reply to this email directly or view it on GitHub.

from libsodium.

jedisct1 avatar jedisct1 commented on July 17, 2024

So, that's a nasty compiler bug. gcc 4.1.2 is dead old (it was released in February 2007) and this bug has been fixed since, but I'll try to add some code to detect and work around this.
Thanks for your report!

from libsodium.

jedisct1 avatar jedisct1 commented on July 17, 2024

Ok, this has been done in 7544cba
Thanks!

from libsodium.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.