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

lld error #1

Open
frank-pian opened this issue May 25, 2022 · 0 comments
Open

lld error #1

frank-pian opened this issue May 25, 2022 · 0 comments

Comments

@frank-pian
Copy link

An error occurred during the linking phase

--------------------- Linking ---------------------
clang -mcpu=cortex-m4 -march=armv7e-m -mthumb -O0 -mfloat-abi=hard -mfpu=fpv4-sp-d16 --target=thumbv7em-unknown-none-eabihf -Wno-keyword-macro -g -fdata-sections -ffunction-sections -Wall -Wno-format -pedantic-errors -Wno-implicit-fallthrough -D _USE_MATH_DEFINES -I/gcc-arm-none-eabi-8-2019-q3-update/arm-none-eabi/include -I/gcc-arm-none-eabi-8-2019-q3-update/lib/gcc/arm-none-eabi/8.3.1/include -DSW_VER_MAJOR=0 -DSW_VER_MINOR=0 -DSW_VER_BUILD=1 -DHW_VER_MAJOR=1 -DHW_VER_MINOR=0 -DHW_VER_MINOR=0  ./.objs/./startup.o ./.objs/./vectors.o ./.objs/./defhndl.o ./.objs/./image.o ./.objs/./main.o --output .outs/demo.elf -Tstm32l433cbu6.ld  -lm -lc -lgcc -L/gcc-arm-none-eabi-8-2019-q3-update/arm-none-eabi/lib/thumb/v7e-m+fp/hard/ -L/gcc-arm-none-eabi-8-2019-q3-update/lib/gcc/arm-none-eabi/8.3.1/thumb/v7e-m+fp/hard/ -Wl,-Map=./.outs/demo.map -Wl,--gc-sections -nostdlib 
ld.lld: error: stm32l433cbu6.ld:123: at least one side of the expression must be absolute
ld.lld: error: stm32l433cbu6.ld:123: at least one side of the expression must be absolute
clang-12: error: ld.lld command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:178: .outs/demo.elf] Error 1

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

1 participant