I don't understand what is wrong. Every part of this code works individually.

//www.elegoo.com
//2018.10.24
#include <Wire.h>
#include <LiquidCrystal.h>
#include <SimpleDHT.h>
#include <Stepper.h>
// for DHT11,
// VCC: 5V or 3V
// GND: GND
// DATA: 2
int pinDHT11 = 2;
SimpleDHT11 dht11;

LiquidCrystal lcd(7, 8, 9, 10, 11, 12);

const int StepPin = 9;
const int DirPin = 8;
int Distance = 0;
const int stepsPerRevolution = 250;

Stepper myStepper(stepsPerRevolution, 3, 5, 4, 6);

void setup() {
// set up the LCD's number of columns and rows:
lcd.begin(16, 2);
Serial.println("Initialize RTC module");

{
myStepper.setSpeed(20);
Serial.begin(9600);
pinMode(DirPin, OUTPUT);
pinMode(StepPin, OUTPUT);
digitalWrite(DirPin, LOW);
digitalWrite(StepPin, LOW);
}
}

void loop()
{ // set the cursor to column 0, line 1
// (note: line 1 is the second row, since counting begins with 0):
lcd.setCursor(0, 1);

delay(1000);

// start working...
Serial.println("=================================");
Serial.println("Sample DHT11...");

// read with raw sample data.
byte temperature = 0;
byte humidity = 0;
byte data[40] = {0};
if (dht11.read(pinDHT11, &temperature, &humidity, data)) {
lcd.print("Read DHT11 failed");
return;
}

Serial.print("Sample RAW Bits: ");
for (int i = 0; i < 40; i++) {
Serial.print((int)data*);*

  • if (i > 0 && ((i + 1) % 4) == 0) {*
  • Serial.print(' ');*
  • }*
  • }*
  • Serial.println("");*
  • Serial.print("Sample OK: ");*
    _ lcd.print((int)temperature); lcd.print(" *C, ");_
  • lcd.print((int)humidity); lcd.println(" % ");*
  • // DHT11 sampling rate is 1HZ.*
  • delay(1000);*
  • { Serial.println("clockwise");*
  • myStepper.step(stepsPerRevolution);*
  • delay(500);*
  • Serial.println("counterclockwise");*
  • myStepper.step(-stepsPerRevolution);*
  • delay(500);*
  • digitalWrite(StepPin, HIGH);*
  • delayMicroseconds(200);*
  • digitalWrite(StepPin, LOW);*
  • delayMicroseconds(200);*
  • Distance = Distance + 1;*
  • myStepper.setSpeed(0);*
  • }*
    }
    Here's the error:
    H:\Documents\Arduino\libraries\SimpleDHT\SimpleDHT.cpp: In function 'bits2byte.constprop':
    H:\Documents\Arduino\libraries\SimpleDHT\SimpleDHT.cpp:52:1: internal compiler error: Segmentation fault
    }
    ^
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See http://gcc.gnu.org/bugs.html for instructions.
    lto-wrapper.exe: fatal error: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-gcc returned 1 exit status
    compilation terminated.
    c:/program files/windowsapps/arduinollc.arduinoide_1.8.21.0_x86__mdqgnx93n4wtt/hardware/tools/avr/bin/../lib/gcc/avr/5.4.0/../../../../avr/bin/ld.exe: error: lto-wrapper failed
    collect2.exe: error: ld returned 1 exit status
    Multiple libraries were found for "LiquidCrystal.h"
    Used: H:\Documents\Arduino\libraries\LiquidCrystal
    Not used: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\LiquidCrystal
    Multiple libraries were found for "Stepper.h"
    Used: H:\Documents\Arduino\libraries\Stepper
    Not used: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\Stepper
    exit status 1
    Error compiling for board Arduino/Genuino Uno.

Why do you think this is a bootloader issue?

You need to remember to use code tags when posting code.

The segmentation fault is a bug with the compiler, not your code.