Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go build error #12

Closed
jcalfee opened this issue Feb 9, 2014 · 1 comment
Closed

Go build error #12

jcalfee opened this issue Feb 9, 2014 · 1 comment

Comments

@jcalfee
Copy link

jcalfee commented Feb 9, 2014

This is the issue:

$ go get -u github.com/ethereum/go-ethereum

github.com/obscuren/secp256k1-go

In file included from go/src/github.com/obscuren/secp256k1-go/./secp256k1/src/impl/num.h:11,
from go/src/github.com/obscuren/secp256k1-go/./secp256k1/src/secp256k1.c:5,
from go/src/github.com/obscuren/secp256k1-go/secp256.go:9:
go/src/github.com/obscuren/secp256k1-go/./secp256k1/src/impl/num_gmp.h: In function ‘secp256k1_num_mul’:
go/src/github.com/obscuren/secp256k1-go/./secp256k1/src/impl/num_gmp.h:214: warning: implicit declaration of function ‘mpn_copyi’

github.com/obscuren/secp256k1-go

/tmp/go-build546678893/github.com/obscuren/secp256k1-go/_obj/secp256.cgo2.o: In function secp256k1_num_div': go/src/github.com/obscuren/secp256k1-go/./secp256k1/src/impl/num_gmp.h:231: undefined reference tompn_copyi'
/tmp/go-build546678893/github.com/obscuren/secp256k1-go/_obj/secp256.cgo2.o: In function secp256k1_num_mul': go/src/github.com/obscuren/secp256k1-go/./secp256k1/src/impl/num_gmp.h:214: undefined reference tompn_copyi'
/tmp/go-build546678893/github.com/obscuren/secp256k1-go/_obj/secp256.cgo2.o: In function secp256k1_num_split': go/src/github.com/obscuren/secp256k1-go/./secp256k1/src/impl/num_gmp.h:328: undefined reference tompn_copyi'

Please consider adding a branch.

@obscuren
Copy link
Contributor

What system are you on and which version of gmp do you have?

obscuren added a commit that referenced this issue Jan 29, 2015
simplifie contract creation && calls, improved added examples
bts pushed a commit to bts/go-ethereum that referenced this issue Feb 1, 2017
core: added small private test framework
ngtuna added a commit to ngtuna/tomochain that referenced this issue May 16, 2018
shiotoli pushed a commit to CortexFoundation/MinerInterface that referenced this issue Aug 14, 2018
holiman referenced this issue in holiman/go-ethereum Sep 8, 2018
* added aura to createConsensusEngine

* consensus engine create
MetadiumRelease referenced this issue in METADIUM/go-metadium Nov 5, 2018
rewrewby pushed a commit to rewrewby/mev-geth that referenced this issue Mar 3, 2020
rjl493456442 referenced this issue in rjl493456442/go-ethereum May 11, 2020
lightclient referenced this issue in lightclient/go-ethereum Jun 16, 2020
Add Tests for Transaction Validation
tony-ricciardi pushed a commit to tony-ricciardi/go-ethereum that referenced this issue Jan 20, 2022
tarcisiozf pushed a commit to tarcisiozf/go-ethereum that referenced this issue Aug 5, 2022
protolambda pushed a commit to protolambda/go-ethereum that referenced this issue Sep 16, 2022
If the `st.gas` is not set, no gas is provided to the EVM resulting
in an immediate Out Of Gas error. While deposits do not affect the
gas pool, the EVM still expects to do gas metering.

Initial gas is still done for metering, but should be not used
for deposit transactions.
dindinw added a commit to dindinw/go-ethereum that referenced this issue Oct 31, 2022
Remove fork info and optimize ethcatalyst
protolambda pushed a commit to protolambda/go-ethereum that referenced this issue Jan 4, 2023
If the `st.gas` is not set, no gas is provided to the EVM resulting
in an immediate Out Of Gas error. While deposits do not affect the
gas pool, the EVM still expects to do gas metering.

Initial gas is still done for metering, but should be not used
for deposit transactions.
protolambda pushed a commit to protolambda/go-ethereum that referenced this issue Jan 4, 2023
protolambda added a commit to protolambda/go-ethereum that referenced this issue Mar 3, 2023
This commit squashes the op-geth fork history into a more maintainable
diff for rebasing upon upstream geth.

reference-optimistic-geth changes (origins of op-geth in early Bedrock
development stage):
- Deposit TX Type
- Enable deposit tx in EVM/tx pool
- Change deposit nonce to not be the max nonce
- Extend PayloadAttributesV1 with a Transactions field
- Force deposits at the start of each L2 block
- Fix height check
- noTxPool flag, reproduce block in verifier mode without tx pool interference
- Fix RPC json marshalling (ref op-geth PR 4)
- Deposit txs block height check in block body validation (ref op-geth PR 5)
- core: do not try to reinject deposit txs into tx-pool (ref-op-geth PR 6)
- deposit source hash field instead of L2 block height and tx index combination
- Include invalid deposits, rewind state, but always persist mint (ethereum#10)
- Provide gas to Call/Create in deposit transactions (ethereum#12)
- Add docker builds (ref-op-geth PR 16, 17)
- Don't panic on deposit transaction signature values or chain ID (ref-op-geth PR 18)
- core: Add version to DepositTx (ref-op-geth PR 19)
- Enable Geth build/lint/test in CircleCI (ref-op-geth PR 23)
- core: Include guaranteed gas in the gas pool (ref-op-geth PR 21)
- core: handle base fee, l1 availability fee, tx fee (ref-op-geth PR 27)
- fix: deposit tx hash
- fix l1 fee cache, rpc, tracing and tx pool
- core: remove deposit-tx sub-type (a.k.a. deposit version byte)
- eth/catalyst: allow engine user to reorg own chain
- miner: restore ability to reorg deep as block builder
- params: print Optimism consensus type in banner
- core/types: remove unused protected() method, see upstream PR 23376
- core: do not mutate original balance value in tx pool l1 cost adjustment
- core: subtract deposit gas from pool, so other txs do not use the same gas. And fail tx processing if deposits reach gas limit
- core/types: deposits do not tip, avoid basefee subtraction
- Unmeter the L1 Attributes Transaction
- miner: handle force tx errors as critical, clean up diff
- ci: Switch branch
- eth,miner: return STATUS_INVALID when failing to process forced transactions in request (ref-op-geth PR 40)
- verifier: forward tx to sequencer based on flag
- txpool: add flag to disable tx gossip (ref-op-geth PR 42)
- Add op-geth version in addition to geth version (ref-op-geth PR 43)
- ci: CircleCI improvements (ref-op-geth PR 44)
- Rename to op-geth
- Build latest tag on optimism branch

op-geth changes:
- Expose cache config in simulated backend (#2)
- Add EIP-1559 parameters
- eth/catalyst: update payload id computation (#1)
- make eip1559 configurable (#4)
- post-merge network should not log warnings about missing transition information (#5)
- Make the simulator more configurable (ethereum#6)
- fix OPB-6 - IsDepositTx check instead of artificial nonce value check (ethereum#7)
- Simulated backend - enable proof of stake consensus type and fix performance issue (ethereum#8)
- accounts: simulated backend consensus engine option and immediate tx indexing
- consensus/beacon: recognize all blocks as reached TTD with 0 TTD in chain config
- Add --rollup.historicalhttp CLI flag and fix backend iface
- Flags and interfaces for historical RPC requests (ethereum#12)
- Redirect historical RPC requests (ethereum#13)
- Use the pre-existing ethereum.NotFound error (ethereum#18)
- Add historical endpoint to TraceBlockByNumber and TraceBlockByHash (ethereum#19)
- Add historical endpoint to TraceTransaction (ethereum#20)
- Add historical endpoint to TraceCall (ethereum#21)
- optimism: fee params from info txi, update l1 cost func GPO params read (ethereum#15)
- add hardcoded addresses for fee payouts (ethereum#23)
- dynamic gas limit via engine API (ethereum#22)

Co-authored-by: Matthew Slipper <me@matthewslipper.com>
Co-authored-by: Joshua Gutow <jgutow@oplabs.co>
Co-authored-by: protolambda <proto@protolambda.com>
Co-authored-by: Mark Tyneway <mark.tyneway@gmail.com>
Co-authored-by: Maurelian <maurelian@protonmail.ch>
neraty pushed a commit to gnosis/go-ethereum that referenced this issue Mar 13, 2023
neraty pushed a commit to gnosis/go-ethereum that referenced this issue Mar 13, 2023
neraty pushed a commit to gnosis/go-ethereum that referenced this issue Apr 3, 2023
neraty pushed a commit to gnosis/go-ethereum that referenced this issue Apr 3, 2023
sbellem pushed a commit to sbellem/go-ethereum that referenced this issue Jul 25, 2023
…erify

Separate proof from input in verifyCiphertext()
maoueh referenced this issue in streamingfast/go-ethereum Jul 27, 2023
cuiweixie pushed a commit to cuiweixie/go-ethereum that referenced this issue Nov 2, 2023
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Freddy Caceres <facs95@gmail.com>
mmsqe pushed a commit to mmsqe/go-ethereum that referenced this issue Nov 23, 2023
Problem: precompile interface change is not applied
allnil pushed a commit to allnil/go-ethereum that referenced this issue Feb 24, 2024
…er-images

Build multiplatform docker images (`amd64` + `arm64`)
dudong2 pushed a commit to b-harvest/go-ethereum that referenced this issue Oct 30, 2024
Problem: precompile interface change is not applied
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants